Qmail came installed on this new dedicated server I got and I am trying to set up something unique.
Basically, I need all mail for all domains pointed at this servers ips to be routed to the same box. I dont care if it ends up in a text file in a database in whatever, just need all the mail in...
I need to pull in the content for a large number of urls stored in a database (checking to see if links exist back to our site)
I am currently using cURL to do this, but it is slow and cumbersome. Is there a quicker method for pulling down content from a URL. I dont need all the power that cURL...
I need to just pick up the html of a url using cURL...
Essentially, I need to get the html of, for example
http://www.rjonesx.com
into a variable named
$content
any ideas?
I have like 6 if statements to check at once..
Could I do something like
if($x==$y)($z>$a)($r==$b) {}
elseif...
else...
How else can I run check several equations at once...
any easy way in PHP to extract the domain name from a url...
for example
http://www.site.com/?yesf/whatever.html
and just get
http://www.site.com out of it?
Im working with a mysql result of just user ids and and a url...
$row[uid] and $row
I want to move it into an array...
array (
12890231 => http://www.google.com,
17982363 => [URL unfurl="true"]http://www.yahoo.com
)
Im looping through using...
while($row =...
I need to remove carriage returns or line breaks from a text file using ASP
in php it would be something like str_replace("\n", " ", $string);
in asp it is... replace(string, ???, " ")
Russ
How do I test if a querystring is set in ASP
The php equivalent would be if(isset($_GET['item']))
is there an if isset(request.querystring("item"))
type function
I have a wireless card and lan card on my Win 2k laptop and would like to share my connection with another computer sitting right next to it.
Ideally, I would like to use the wireless card to connect to my wifi, then have that connection shared through my lan card/ethernet port to my other...
PERFECT!
This is very useful for working with xml and using node names in lowercase but wanting them to print out with the correct capitalization.
Thanks so much!
Sorry to do it in this forum, but I only know how to do this in Perl and thought maybe someone in here knows Perl and PHP...
In perl you can force uppercase for the first letter of a string by using the \u command.
Any idea how to accomplish this in php?
Lets say I am using the following to connect to a mySQL database of mine...
$dbh=mysql_connect ("localhost", "nichols_general", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("nichols_news");
I want to create the table with the...
Pretty simple, I need to use PHP to import XML data into some kind of array...
name phone
russ 555-5555
scot 453-5435
john 324-2349
into some kind of array that I could navigate in the php. ideas?
First off, thanks so much for your help, I hugely appreciate it.
When I use this method, instead of redirecting me, it kind of uses the "Get" method, or so it seems, only changing the url at the top of the screen...
important.html?firstpartofurl=scott&secondpartofurl=smith.html
here...
Im trying to create a special url jump menu. You know, those drop down menus that where you select something and then press "submit" and it takes you to a different site. The only difference is this...
I need to make it so that it pulls information from TWO drop down menus rather than...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.