Search found 13 matches
- Mon Oct 05, 2009 2:18 pm
- Forum: PHP - Code
- Topic: Syntax error?
- Replies: 1
- Views: 93
Syntax error?
I want to match this number (APXI12345611) against an ID on the MySQL db. But it won't work!! <?php $link = mysql_connect("localhost","inmy","inmypasw01"); mysql_select_db("inmy_dyomails"); $query = 'SELECT * FROM dyomails'; $results = mysql_query($query); ...
- Mon Oct 05, 2009 6:39 am
- Forum: PHP - Code
- Topic: Code error!!!
- Replies: 0
- Views: 53
Code error!!!
EXPERTS!!! How can I replace B with A?? A worked fine. But after few adjustments now it looks like B . B wont work !! A while($line = mysql_fetch_assoc($results)) { echo "<item>" . $line["Email"] . "</item>\n"; } B $urlText = $mystring; $findme = '/?'; $pos = strpos($my...
- Mon Oct 05, 2009 3:20 am
- Forum: PHP - Code
- Topic: Newbie - Pick the email address and return
- Replies: 2
- Views: 158
Re: Newbie - Pick the email address and return
Are all asleep???? :P :P Check whether anyone could fix this piece of code. $sendURL = $_SERVER['QUERY_STRING'] while($line = mysql_fetch_assoc($results)) { if (in_array("['QUERY_STRING']",$line["ID"])) echo "<item>" . $line["Email"] . "</item>\n"; }
- Mon Oct 05, 2009 12:25 am
- Forum: PHP - Code
- Topic: Newbie - Pick the email address and return
- Replies: 2
- Views: 158
Newbie - Pick the email address and return
I'm having a list of email addresses and I only want the PHP to select one of them at a time, depending on the information passed through the strings and into the form. When PHP receives the query string I would like PHP to extract it and match to an email address ("www.myweb.com/main.html?blaB...
- Wed Sep 30, 2009 11:52 am
- Forum: PHP - Code
- Topic: extract a variable in the querystring and match
- Replies: 2
- Views: 71
Re: extract a variable in the querystring and match
Please could anyone help me with a script.
- Wed Sep 30, 2009 5:19 am
- Forum: PHP - Code
- Topic: extract a variable in the querystring and match
- Replies: 2
- Views: 71
extract a variable in the querystring and match
I'm developing a website in FLASH. I've got a list of emails of several Distributors.
I need help in writing a PHP script which would extract a variable (ID) in the querystring (URL) and match it to an ID on the PHP page, then pass the relevant email address into Flash.
I need help in writing a PHP script which would extract a variable (ID) in the querystring (URL) and match it to an ID on the PHP page, then pass the relevant email address into Flash.
- Wed Sep 16, 2009 6:14 am
- Forum: PHP - Code
- Topic: PHP Script to match an URL and reply
- Replies: 13
- Views: 305
Re: PHP Script to match an URL and reply
I see that it gets the domain name. But that's not necessary. I wanted to match the URL from a list of emails automatically insert it to the TO field.
<?PHP
$to = "$urlmatch";
Please reffer the attached.
<?PHP
$to = "$urlmatch";
Please reffer the attached.
- Wed Sep 16, 2009 5:44 am
- Forum: PHP - Code
- Topic: PHP Script to match an URL and reply
- Replies: 13
- Views: 305
Re: PHP Script to match an URL and reply
I'll try and let you know.
- Wed Sep 16, 2009 5:38 am
- Forum: PHP - Code
- Topic: PHP Script to match an URL and reply
- Replies: 13
- Views: 305
Re: PHP Script to match an URL and reply
I guess you are reffering to the expertsexchange.com.
Ollie... can my requirement be done? Please help me in coding it or is there any other method in achieving it?
Ollie... can my requirement be done? Please help me in coding it or is there any other method in achieving it?
- Wed Sep 16, 2009 4:38 am
- Forum: PHP - Code
- Topic: PHP Script to match an URL and reply
- Replies: 13
- Views: 305
Re: PHP Script to match an URL and reply
Sorry if I'm confusing you. I'll start all over again. I've done the form in flash using "LoadVars" and the data is been transfered to the PHP script on the server (PHP code is as in my previous post). It's working fine! The Flash Form even captures the browser URL and sends to the PHP scr...
- Wed Sep 16, 2009 2:38 am
- Forum: PHP - Code
- Topic: PHP Script to match an URL and reply
- Replies: 13
- Views: 305
Re: PHP Script to match an URL and reply
I'm not a PHP guy! What I've got so far is the code which captures the text data. <?PHP $to = "mail@mail.com"; $subject = "The subject"; $headers = "From:" .$email."\r\n"; $headers .= "Bcc: $email\r\n"; $message = "Name: " . $thename; ...
- Wed Sep 16, 2009 1:57 am
- Forum: PHP - Code
- Topic: PHP Script to match an URL and reply
- Replies: 13
- Views: 305
Re: PHP Script to match an URL and reply
No. The URL (http://www.webcast.com/something/something.html) will be captured in to a dynamic text box by flash and send to the PHP server side script ($thedomain).
- Wed Sep 16, 2009 12:14 am
- Forum: PHP - Code
- Topic: PHP Script to match an URL and reply
- Replies: 13
- Views: 305
PHP Script to match an URL and reply
I'm a flash guy, I'm no expert in PHP. So please any help is highly appriciated. :D Question: When the server side PHP script receives data from a field which will contain the domain name ($thedomain) it should match an email from my email list and send the mail to that perticular email address. E.g...