Re: [PHP] error with hosting
On Tue, Apr 21, 2009 at 1:20 PM, Jan G.B. ro0ot.w...@googlemail.com wrote: Do yourself a favour: * remopve that 1337 hax0r name - it makes you look like a dumbass This coming from someone whose e-mail address is ro0ot.w...@? Sounds a little ironic. ;-) Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] error with hosting
2009/4/24 Andrew Ballard aball...@gmail.com: On Tue, Apr 21, 2009 at 1:20 PM, Jan G.B. ro0ot.w...@googlemail.com wrote: Do yourself a favour: * remopve that 1337 hax0r name - it makes you look like a dumbass This coming from someone whose e-mail address is ro0ot.w...@? Sounds a little ironic. ;-) Got me. ;) But try to find any free google-name like Jan, etc.. I was looking for something with root in the address. and actually this is only the address, not my NAME. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] error with hosting
On Fri, Apr 24, 2009 at 7:41 PM, Jan G.B. ro0ot.w...@googlemail.com wrote: 2009/4/24 Andrew Ballard aball...@gmail.com: On Tue, Apr 21, 2009 at 1:20 PM, Jan G.B. ro0ot.w...@googlemail.com wrote: Do yourself a favour: * remopve that 1337 hax0r name - it makes you look like a dumbass This coming from someone whose e-mail address is ro0ot.w...@? Sounds a little ironic. ;-) Got me. ;) But try to find any free google-name like Jan, etc.. I was looking for something with root in the address. and actually this is only the address, not my NAME. HAHAHAHA you gotta look at this :D http://tr.im/jxK7
[PHP] error with hosting
I have a littli application in PHP that I do with appserv, in my local server work ok but when I upload de page.php to the hosting server don't work, the hosting say in your page that support php and the web server is apache because the directory is httpdocs, and why my page dond;t work in the hosting and work ok in my local server ?? //before I have a html form form action=find.php method=post tr td height=24 valign=top class=menu style=text-align: lefttable width=210 border=0 cellspacing=0 cellpadding=0 tr td width=7 height=23 class=text_1/span/td td width=105span class=text_1Your Company Name:/span/td td width=98 valign=topinput name=cname type=text size=11 maxlength=20 align=right/td /tr /table/td /tr tr td height=22 valign=toptable width=210 border=0 cellspacing=0 cellpadding=0 tr td width=7 height=22 class=text_1/span/td td width=105span class=text_1Your E-Mail Address:/span/td td width=98 valign=topinput name=email type=text size=11 maxlength=40 align=right/td /tr /table/td /tr tr td height=42 valign=toptable width=210 border=0 cellspacing=0 cellpadding=0 tr td class=text_1 width=124 height=27 Find by Zip Code: /td td width=86input name=zip type=text size=9 maxlength=5 align=right/td /tr /table table width=210 border=0 cellspacing=0 cellpadding=0 tr td class=text_1 width=90 height=22/td td width=79/td td width=41 valign=bottominput type=image src=images/find.jpg width=33 height=20/td /tr /table/td /tr /form // I try with this application in find.php ? if (!$cname) { echo font color=\maroon\Enter your Company Name./font; } elseif (!ereg(^[a-za-z0-9_\...@[a-za-z0-9\-]+\.[a-za-z0-9\-\.]+$, $email)) { echo font color=\maroon\Enter a Valid E-Mail Address./font; } elseif (strlen($zip)5) { echo font color=\maroon\Enter a Valid Zip Code./font; } elseif (ereg([^0-9], $zip)) { echo font color=\maroon\Enter a Valid Zip Code./font; } else { echo font color=\maroon\Find an Agent close to you./font; } ? Thanks to all. -- salu2 ®0L¥
Re: [PHP] error with hosting
2009/4/21 ®0L¥ rol...@gmail.com: I have a littli application in PHP that I do with appserv, in my local server work ok but when I upload de page.php to the hosting server don't work, the hosting say in your page that support php and the web server is apache because the directory is httpdocs, and why my page dond;t work in the hosting and work ok in my local server ?? //before I have a html form form action=find.php method=post tr td height=24 valign=top class=menu style=text-align: lefttable width=210 border=0 cellspacing=0 cellpadding=0 tr td width=7 height=23 class=text_1/span/td td width=105span class=text_1Your Company Name:/span/td td width=98 valign=topinput name=cname type=text size=11 maxlength=20 align=right/td /tr /table/td /tr tr td height=22 valign=toptable width=210 border=0 cellspacing=0 cellpadding=0 tr td width=7 height=22 class=text_1/span/td td width=105span class=text_1Your E-Mail Address:/span/td td width=98 valign=topinput name=email type=text size=11 maxlength=40 align=right/td /tr /table/td /tr tr td height=42 valign=toptable width=210 border=0 cellspacing=0 cellpadding=0 tr td class=text_1 width=124 height=27 Find by Zip Code: /td td width=86input name=zip type=text size=9 maxlength=5 align=right/td /tr /table table width=210 border=0 cellspacing=0 cellpadding=0 tr td class=text_1 width=90 height=22/td td width=79/td td width=41 valign=bottominput type=image src=images/find.jpg width=33 height=20/td /tr /table/td /tr /form // I try with this application in find.php ? if (!$cname) { echo font color=\maroon\Enter your Company Name./font; } elseif (!ereg(^[a-za-z0-9_\...@[a-za-z0-9\-]+\.[a-za-z0-9\-\.]+$, $email)) { Do yourself a favour: * remopve that 1337 hax0r name - it makes you look like a dumbass * buy a PHP related book * change your code to work with register_globals OFF * don't rely on regular expressions to validate an email without reading the email RFC nor knowing regular expressions * don't use ereg! preg is what you want instead you can check out filter_input() on http://php.net/manual .. Look out for FILTER_VALIDATE_EMAIL * Have a nice day [optional] :-) echo font color=\maroon\Enter a Valid E-Mail Address./font; } elseif (strlen($zip)5) { echo font color=\maroon\Enter a Valid Zip Code./font; } elseif (ereg([^0-9], $zip)) { echo font color=\maroon\Enter a Valid Zip Code./font; } else { echo font color=\maroon\Find an Agent close to you./font; } ? Thanks to all. -- salu2 ®0L¥ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php