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
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
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
?
--
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
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
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
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
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
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]
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
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,
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
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 ?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
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
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]
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
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
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
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
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
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
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
23 matches
Mail list logo