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] TextArea vs. URLEncode/URLDecode/quotes

2003-07-09 Thread Arcadius A.
Hello! I have a form with a textarea... When the user submits the form, I validate the form on another page.. and in case the data are not valid, I redirect the user back to the form, passing all the info filled in previously in the URL, then I easily display the values in the form again For

[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." &l

[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]> wrote in message news:[EMAIL PROTECTED]... > Thank you for reading my mail! > -- > Who can tell me how I can get the client's hostname by php? > -- >

[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 another p

[PHP] GD lib. image quality!

2002-08-25 Thread Arcadius A.
Hello! I wrote a little script for generation thumbnails of larger images $origImage = imageCreateFromJpeg($sourcePath."/".$currentImageName); $thumbnail = imageCreate($thumbWidth,$thumbHeight);// create empty image imageCopyResized($thumbnail,$origImage,0,0,0,0,$thumbWidth,$thumbHeight,

[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 all

[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 lon

[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] 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, e-mail

[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 : So, how to make PHP so that when I load my page in the browser(typing "index.php" in the adress bar) , it w

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]

Re: [PHP] PHP_SELF or REQUEST_URI within Function ?

2001-08-31 Thread Arcadius A.
ers ... so PHP would know which one I'm calling depending on the numbwer/type of the variables ... exemple : Would this work ? Thanks... - Original Message - From: "Alexander Skwar" <[EMAIL PROTECTED]> To: "Boget, Chris" <[EMAIL PROTECTED]> C

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 S

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 ! > > W

[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... Hello there !!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[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/Relo

[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 [EMA

[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 additiona

[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 th

[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 commands

[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 .. 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 lis