Jump to content

patd

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

patd's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks friends, after fixing the code, its been one year and after receiving hevy traffic I have not faced any prolems yet.
  2. the problem has been solve by using stripslash(); function
  3. thanks for ur help. after checking the code I fix the problem. I found that lots of php connections are left open. but I was wondering that if a user click the stop button befour the connection close itself ???.
  4. I use this header to send HTML E-Mail -- [ $headers="Content-Type:text/html;CHARSET=iso-8859-1"; $headers.="From: Me<you@yourdomain.com>"; ] It's working well until I send some contet with " ' ". or have some external image. Like when I send -- <H1>Happy Independence Day to you From Me</H1><BR>xasxa sx asx asxa <IMG src="http://www.xyz.com/Logo.gif" border=0> It Becomes -- <H1>Happy Independence Day to you From Me</H1><BR>xasxa sx asx asxa <IMG src='\"http://www.xyz.com/Logo.gif\"' border=0> so the content looks bad and the external Image not showing.
  5. thanks for ur reply, but still i am not quite sure about how 2 solve the problem. as i dont have access 2 the php.ini I can't change the config. what else can I do form My end befour i chage the server.
  6. frineds I have built a fully dynamic site with PHP & MySQL. I have hosted this site on a Linux Corporate Server. Now After every week or some time after only 2 or 3 days the site is down by showing this error Warning: mysql_connect(): Too many connections As I reported this problem to the server admins they are tell me that this is because there is too many open sql connection, I should optimie my database. I already use mysql_close(); after each open connection. Now I am very confused why this is happening, Should I change the server, will this continue to hapen after i chnage the server. how can I fix this problem.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.