[PHP] TextArea vs. URLEncode/URLDecode/quotes

2003-07-09 Thread Arcadius A.
in the text, quotes are escaped :-( so I get in the textarea slashes just before the quotes and stripslashes doesn't seem to help... So, My question is: What's the best way to get the value of a textarea back after validation without using session? Thanks. Arcadius Ahouansou. -- PHP General

Re: [PHP] TextArea vs. URLEncode/URLDecode/quotes

2003-07-09 Thread Arcadius A.
Marek Kilimajer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] The correct way is: In validate.php: if(error) { if(magic_quotes) stripslashes(); urlencode(); } else { INSERT INTO ... } In form.php: // urldecode() is not needed, GET variables are already decoded

[PHP] Re: cheap PHP+SQL WebHosting

2003-06-01 Thread Arcadius A.
Thanks! Arcadius. Nabil [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] www.spiderhosts.com i'v been for so long with them, and the service is good Nabil www.cabms.org www.d2ue.com Arcadius A. [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello! Please, do you

[PHP] Re: Who can tell me how I can get the client's hostname by php?

2002-11-22 Thread Arcadius A.
? -- Joskey Liaus [EMAIL PROTECTED] You may need to have a look at: http://www.php.net/manual/en/function.gethostbyaddr.php Arcadius. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] GD lib. image quality!

2002-08-25 Thread Arcadius A.
of the thumbnails created is very bad! my phpinfo() page shows 2.0 or higher as GD version So, I'm wondering whether I'm doing something wrong in my code or whether there exist a better library to use with PHP ... a library able to generate good quality JPG files... Thanks in advance. Arcadius

[PHP] Re: problem with using link variables

2002-08-25 Thread Arcadius A.
See the URL functions at http://www.php.net/manual/en/ref.url.php IMHO, you'd need some encoding Arcadius Ivan Carey [EMAIL PROTECTED] wrote in message 006b01c24c2f$8d291950$0201a8c0@ivan">news:006b01c24c2f$8d291950$0201a8c0@ivan... Hello, I am sending variables via a link to anot

[PHP] Writing Cross DB application

2002-04-15 Thread Arcadius A.
Hello ! I'm planning to write a database application for MySQL, and then port it to PostrgeSQL. Is there any library or class that could help me to write/maintain just one source code for both MySQL and PostgreSQL (on WIN and UNIX)? Thanks in advance. ARcadius -- PHP General Mailing List

[PHP] Re: Happy new year!

2001-12-31 Thread Arcadius A.
Thanks ! :-) -- --- Student Arcadius Ahouansou ICQ# : 37119073 http://arcadnet.net/ George Nicolae [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... A happy new year with a lot of dynamic sites to

[PHP] Re: Prev ... Next

2001-12-24 Thread Arcadius A.
http://www.onlamp.com/pub/a/php/2000/11/02/next_previous.html Arcadius -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] relative path vs. INCLUDE() !!!!!

2001-12-24 Thread Arcadius A.
Hello ! I've just made a nice navavigation bar for my website The nav. bar is a php file (Templates/inc_nav.php)containing links to other pages of my site. the links has been made relatively to the file inc_nav.php; Now that I've included the inc_nav.php in other pages , my links no longer

[PHP] Detecting Languages...

2001-10-31 Thread Arcadius A.
HEllo ! I have a website designed in several languages (En , Fr , Cz) My question is : How to detect the language setting of the the visitor's PC in order to redirect him to a specified content ? Thanks ... Arcad. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Showing up variables in URL !

2001-09-18 Thread Arcadius A.
Hello ! We all know how to pass value to variable using an URL. So, how can I do the inverse ? I mean , showing the value of a variable in the URL? for instance my page index.php is : ? $greetings=Hello ; echo $greetings ; ? So, how to make PHP so that when I load my page in the

Re: [PHP] PHP_SELF or REQUEST_URI within Function ?

2001-08-31 Thread Arcadius A.
Thanks Jack arcad. Jack Dempsey [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... you have to use $GLOBALS[SCRIPT_FILENAME] jack Arcadius A. wrote: Hello ! Why this script prints an empty string(it prints nothing) as the value of the va

Re: [PHP] PHP_SELF or REQUEST_URI within Function ?

2001-08-31 Thread Arcadius A.
RE: [PHP] PHP_SELF or REQUEST_URI within Function ?Ok Men !!!. Now I see thanks alot for the inputs ! :o)) Arcad - Original Message - From: Boget, Chris To: 'Alexander Skwar' Cc: Arcadius A. ; [EMAIL PROTECTED] Sent: Friday, August 31, 2001 8:22 AM Subject: RE

Re: [PHP] PHP_SELF or REQUEST_URI within Function ?

2001-08-31 Thread Arcadius A.
Message - From: Alexander Skwar [EMAIL PROTECTED] To: Boget, Chris [EMAIL PROTECTED] Cc: Arcadius A. [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, August 31, 2001 8:21 AM Subject: Re: [PHP] PHP_SELF or REQUEST_URI within Function ? So sprach »Boget, Chris« am 2001-08-31 um 10:22:28 -0500

Re: [PHP] PHP_SELF or REQUEST_URI within Function ?

2001-08-31 Thread Arcadius A.
Ok .I see Thanks to you both ! Have a nice weekend Arcad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] PHP_SELF or REQUEST_URI within Function ?

2001-08-30 Thread Arcadius A.
Hello ! Why this script prints an empty string(it prints nothing) as the value of the variable u ? This happens even if $REQUEST_URI or PHP_SELF is used instead of SCRIPT_FILENAME . Thanks... ? function menu( $theurl) { //global $u ; $u = $SCRIPT_FILENAME; echo $u; echo $theurl; } ? Hello

[PHP] Advanced Form Processing HELP

2001-08-22 Thread Arcadius A.
Hello ! I have a simple form (feedback.php) that could allow users to send me seedbacks... the form is processed(email is sent ) by the script confirm.php. My question is : How could i make the values filled in the form remain unchanged even after the user click on the browser Refresh/Reload

[PHP] Host OnLine ?

2001-08-06 Thread Arcadius A.
Hello ! Is there any function in PHP returning true or false or something similar when a given host is online or not ? Basically , I'm in need od something ping Thanks ... Arcad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Re: Host OnLine ?

2001-08-06 Thread Arcadius A.
What if the host I'm checking is a simple workstation not running neither a HTTP nor a FTP server ? I'm writing this script for an intranet to check which machines are currently on ... Thanks Arcad Arcadius A. [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL P

[PHP] Re: syntax help~~~

2001-08-05 Thread Arcadius A.
Hello ! We could keep things simpler ... Why not give a try to this ?: $watchlist_query = mysql_query( Create Table $temp ( WId int Not Nullauto_increment, QId int not null, Primary Key (WId) ) ) or die (Error ! Cannot create table ! . mysql_error() ); Hope it would work :o) (At least the

[PHP] Free PHP/MySQL Web Hosting ?

2001-08-04 Thread Arcadius A.
Hello ! Is there any free PHP/MySQL Web Hosting without add ? ... or ... at least , I could have the choice to choose where to place their banner on my pages ? Thanks... Arcad. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Re: Machine name???

2001-07-25 Thread Arcadius A.
Hi ! Have a look at : http://php.net/manual/browse-errata.php?let=g There's a code that gives you the right host name .. ?php if (getenv(HTTP_X_FORWARDED_FOR)){ $ip=getenv(HTTP_X_FORWARDED_FOR); } else { $ip=getenv(REMOTE_ADDR); } $host = gethostbyaddr($ip); ? Arcad. -- PHP General