Search found 8 matches

by veenasv
Tue Nov 25, 2003 11:08 am
Forum: PHP - Code
Topic: problem with php mail
Replies: 4
Views: 633

Hi, Thanks a lot . Your code is working partially in the sense, now From is displayed as what I gave in the $Headers. But the other SMTP address is being displayed as my original hostname and not the proxy name X6A webmaster [SMTP:webmaster@x6aintranet.nsls.bnl.gov] I want it to be [SMTP:webmaster@p...
by veenasv
Mon Nov 24, 2003 5:07 pm
Forum: PHP - Code
Topic: problem with php mail
Replies: 4
Views: 633

I tried with your example. Mail is sent successfully but again in the from address it's the hostname problem again. Somehow it appends the hostname I had given it as if(mail($to,$subject,$message,"From: $email")) and $email = 'X6A webmaster'; still in the email it is displayed as X6a.webma...
by veenasv
Fri Nov 21, 2003 10:44 am
Forum: PHP - Code
Topic: problem with php mail
Replies: 4
Views: 633

problem with php mail

Hi, I am able to successfully send mails using the php mail function. My system has 2 hostnames one of those is the reverse proxy setup to hide the actual name of the computer. Whenever I send mails from php, at the receieivng end, I see in the from address, my actual system name being displayed. I ...
by veenasv
Fri Sep 12, 2003 10:07 am
Forum: Miscellaneous
Topic: need help
Replies: 3
Views: 2065

need help

Hi,
My webserver works fine in the system where actually the webserver resides. But when I goto other systems, it's very very slow. And the pictures doesn't load fast. what is the reason? How do I optimize the performance? Please advice.
by veenasv
Wed Sep 03, 2003 1:46 pm
Forum: Databases
Topic: extract string followed by escape character
Replies: 2
Views: 475

extract string followed by escape character

Hi,
Is it possible to extract the remaining string followed by the escape character.
Ex: string x6a-s_14, x6a-s_1 etc.,
I need to get the last interger part i.e 14, 1 respectively
Is this possible?
by veenasv
Wed Sep 03, 2003 1:30 pm
Forum: Javascript
Topic: problem displaying alpha (scientific character)
Replies: 4
Views: 1117

problem displaying alpha (scientific character)

Hi,
In my html form I have to display character alpha, beta and gamma
I used the Numeric Character Reference as &#945,&#946 and &#947 respectively. but when I view the webpage, it shows like A, B and G (with weird font style). I tried allthe possibilities in vain. Please suggest
by veenasv
Wed Aug 20, 2003 1:42 pm
Forum: PHP - Code
Topic: PHP OO Vs simple procedural coding
Replies: 10
Views: 1379

Thank you very much for the reply. For my application, I don't really know whether I need to use classes. Basically, I am developing a webpage for our synchroton beamline. the application has 3 main modules. 1. Users 2.Reviewers 3. Administrator Users can register and submit their proposals (for the...
by veenasv
Wed Aug 20, 2003 11:15 am
Forum: PHP - Code
Topic: PHP OO Vs simple procedural coding
Replies: 10
Views: 1379

PHP OO Vs simple procedural coding

Hi, I thought of shifting my code to OO in php. But recently I read an article which talks about advantages and disadvantages on using OO. http://php.weblogs.com/discuss/msgReader$535?mode=day Now I am confuesed as to should I go for OO or keep the code as standard procedural PHP without using OO. I...