Search found 11 matches

by EricGen
Fri Sep 26, 2003 7:01 am
Forum: PHP - Code
Topic: PHP4 -> PHP3
Replies: 2
Views: 502

PHP4 -> PHP3

Hi,

I have to move some scripts from a server with php4 to one with php3. No problem with things like foreach but all my scripts are based on session variables using session_start. What's the easiest way to change that code in php3?

Thanks
by EricGen
Fri Jul 25, 2003 8:33 am
Forum: PHP - Code
Topic: Mail problem when sending to AOL
Replies: 9
Views: 1571

The issue's now sorted. My hosting company told me they've done a small change to the email configuration and it now works. Thanks everybody for your help
by EricGen
Fri Jul 25, 2003 2:48 am
Forum: PHP - Code
Topic: Mail problem when sending to AOL
Replies: 9
Views: 1571

I'm not progressing much unfortunatelly. What about the headers I send (see 1st post in the topic) Are there headers missing? I've been looking for specs on mail header fields but couldn't find much about them, any pointers?
Thanks
by EricGen
Thu Jul 24, 2003 10:08 am
Forum: PHP - Code
Topic: Mail problem when sending to AOL
Replies: 9
Views: 1571

Yes, the script is hosted externally. I'll link with their support now then
Thanks for your help
by EricGen
Thu Jul 24, 2003 9:36 am
Forum: PHP - Code
Topic: Mail problem when sending to AOL
Replies: 9
Views: 1571

Hmmm. I don't really know the answer to that. I will ask my hosting company.

What is the procedure for this transport map? This is all new to me
Thanks
by EricGen
Thu Jul 24, 2003 7:05 am
Forum: PHP - Code
Topic: Mail problem when sending to AOL
Replies: 9
Views: 1571

Thanks. I'll see with my hosting company then
by EricGen
Thu Jul 24, 2003 4:57 am
Forum: PHP - Code
Topic: Mail problem when sending to AOL
Replies: 9
Views: 1571

Mail problem when sending to AOL

Hi, I have a script that send a mail to customers of the site. It seems that everybody gets it except AOL. To send the mail I do: $headers = "From: Picwines <orders@mydomain.com>\r\n"; $headers .= "X-Sender: <orders@mydomain.com>\r\n"; $headers .= "X-Mailer: PHP\r\n"; $...
by EricGen
Thu Jul 24, 2003 4:51 am
Forum: PHP - Code
Topic: Quotes in form variables
Replies: 2
Views: 447

yes thanks. For now I was using str_replace which of course doesn't help if the user does enter some \
by EricGen
Thu Jul 24, 2003 4:05 am
Forum: PHP - Code
Topic: Quotes in form variables
Replies: 2
Views: 447

Quotes in form variables

Hi, Everytime there is a quote in a form parameter, the variable I get, whether passed as post or get, has the quote preceeded by a \ This is a pain as then it is written as such in the database. Is there something I should do to ensure the variables I get are exactly what the user typed? If the for...
by EricGen
Tue Jul 15, 2003 10:49 am
Forum: PHP - Code
Topic: Parameter variables strange behaviour
Replies: 2
Views: 850

Great,

$terroir = urldecode($_GET['terroir']);

did the trick, thanks very much
by EricGen
Tue Jul 15, 2003 4:18 am
Forum: PHP - Code
Topic: Parameter variables strange behaviour
Replies: 2
Views: 850

Parameter variables strange behaviour

Hi, I have a strange problem with parameter variables. In one page I have a link: echo '<a href="vigneron.php?terroir=' . urlencode($row["name"]); echo '&vigneron=' . $row["vigneron_id"] . '" class ="wp">' . $row["vigneron_name"] . '</a>, '; In v...