Darn, it still 'aint working. Ok, let's say $fldemail contains
"o\'[EMAIL PROTECTED]"
I then run these:
$fldemail == stripslashes($fldemail);
$fldemail == ereg_replace("'","",$fldemail);
And I get "o\'[EMAIL PROTECTED]" ... damn.
Any ideas? Thanks,
Matt Stone
-Original Message-
From: Ch
Hi dearest friend,
can we update the same row immediately
after selection.
please see the following code at line number 29 it is giving
error.
code
// Connect to
MySQL
$connection = mysql_connect(
'localhost', 'balaji', 'pingpong
At 14:11 28/07/01 +0530, Balaji Ankem wrote:
> $sql2="UPDATE inventory SET inv_status="assigned" where
> inv_tag='$inv_tag' "; // This is line number 29.
Try: inv_status='assigned' -- use single quotes, not double.
HTH,
Simon
--
PHP General Mailing List (http://www.php.net/)
To un
Line 29:
$sql2="UPDATE inventory SET inv_status="assigned" where inv_tag='$inv_tag' ";
will give a php error - it should read either
$sql2="UPDATE inventory SET inv_status='assigned' where inv_tag='$inv_tag' ";
or
$sql2="UPDATE inventory SET inv_status=\"assigned\" whe
Hi dearest friends,
while insertion of
an employee number and password i am inserting like
insert into employee
values('$empid',PASSWORD('$passwd'));
how to decrypt it while comparision during login.
Thanks in advance
Regards
-Balaji
The Information contained and transmitted
Hi Everyone,
I can use cookies with PHP but I can't make the cookie last forever.
I can set the cookie to expire for upto 1 hour.
This is the code :
setcookie("bookmarks","cookievalue",time()+3600);
That would make the cookie expire after an hour.
How do I make the cookie not expire at all?
If I
php-general Digest 28 Jul 2001 12:10:28 - Issue 782
Topics (messages 60019 through 60037):
Re: substr question...
60019 by: Ryan Fischer
FORCING A PHP OUTPUT TO BE CACHED
60020 by: Randy Johnson
Re: [PHP-DEV] Passing JavaScript variables to PHP
60021 by: Markus Fis
"Joel" <[EMAIL PROTECTED]> skrev i en meddelelse
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I can use cookies with PHP but I can't make the cookie last forever.
No - because it can't be done.
> I can set the cookie to expire for upto 1 hour.
> This is the code :
> setcookie("bookmarks","coo
Hi All,
I have a problem in session tracking,
After checking User name and password from database, I register a
session as
session_register("User_name");
For next page authentication, at the top of every page i check
if ($HTTP_SESSION_VARS["User_name"] != "")
{
// Display Page Cont
I think you can use ActivePerl & PHP on that type of webserver.
I personally haven't tried installing on there, but ActivePerl has
instructions for installing on weblogic, and PHP can run as a exe so
hopefully weblogic can do that...
Andrew
- Original Message -
From: "Rory O'Connor" <[EMA
How would I go about creating a MS Passport type script for use on several different
sites - and only having to let the user login on one main place?
All the sites would be on the same server.
Thanks,
Matt Kaufman
"Matt Kaufman" <[EMAIL PROTECTED]> skrev i en meddelelse
004b01c11781$96e49f70$030a@laptop">news:004b01c11781$96e49f70$030a@laptop...
> How would I go about creating a MS Passport type script for
> use on several different sites - and only having to let the user
> login on one main place?
I was just looking in the help to find out what PASSWORD does... but I can't find it.
But I can offer this advice.
You can't decypt the password, so to check if the password entered is valid, you
encypt it, and compare the 2 hashed passwords..
Andrew
- Original Message -
From: Bala
On 28-Jul-2001 Balaji Ankem wrote:
> Hi dearest friends,
>
> while insertion of an employee number and password i am inserting
> like
>
> insert into employee values('$empid',PASSWORD('$passwd'));
>
> how to decrypt it while comparision during login.
>
You don't.
"select id from e
>
> Hi dearest friends,
>
> while insertion of an employee number and password i am inserting
> like
>
> insert into employee values('$empid',PASSWORD('$passwd'));
>
> how to decrypt it while comparision during login.
>
> Thanks in advance
>
> Regards
> -Balaji
- you get th
Do you mean something like:
$date = date("Y-m-d");
echo $date;
Mick
On Sat, 28 Jul 2001, colin wrote:
> can anyone give me a work around for a PHP date function when used in
> conjunction with a PHP include.
> The code inside the include is printed but I do not know how to echo
This type of problem usually turns out to be a permissions issue.
Can Apache/nobody write to the parent directory?
Mick
On Sat, 28 Jul 2001, Jerry Lake wrote:
> when using mkdir
> I cant seem to make subdirectories
> $oldumask = umask(0);
> mkdir('test/test', 0777);
> umask($oldumask);
> ?>
>
I'd have a look at those double equals signs ... I think they should be single:
$fldemail = stripslashes($fldemail);
$fldemail = ereg_replace("'","",$fldemail);
Mick
On Sat, 28 Jul 2001, Matt Stone wrote:
> Darn, it still 'aint working. Ok, let's say $fldemail contains
>
On Sat, 28 Jul 2001, Jerry Lake wrote:
> when using mkdir
> I cant seem to make subdirectories
> $oldumask = umask(0);
> mkdir('test/test', 0777);
> umask($oldumask);
> ?>
>
> is there any way to do this ?
does the first test directory already exist? you may need to make them in
two steps. i b
I have the following question : if i make a selection in the drop down menu
and click on submit button then the color will send to form2.php
I want not click on the submit button
i make a selection in the drop down menu then the color will send automatic
to form2.php, how can I do this
I thought my regexps were up to snuff until they processed this url:
http:[EMAIL PROTECTED]
Anybody have a regexp that can parse for both http & mailto links and
turn that into an http link -without- turning it also into a mailto
link?
--
PHP General Mailing List (http://www.php.net/)
To unsu
It's a javascript issue.
blue
licht
red
yellow
Cheers,
Gianluca
MV> I have the following question : if i make a selection in the drop down menu
MV> and click on submit button then the color will send to form2.php
MV> I w
"Manu Verhaegen" <[EMAIL PROTECTED]> skrev i en meddelelse
E10E651CDD2DD5118912E8E8C70F53D0@COMPUVER01">news:E10E651CDD2DD5118912E8E8C70F53D0@COMPUVER01...
> I have the following question : if i make a selection in the drop down
menu
> and click on submit button then the color will send t
Hello all... PHP newbie here looking for advice.
I'd like to set up a page with virtually identical functionality to the
PHP.net's list sign-up page. I'm assuming qmail/ezmlm, and may want to also
add checkboxes that allow users to choose between HTML and ASCII delivery.
Can someone tell me who
it is common now that search engines use xml respondses to affiliate requests for
information. this is fine in that i can process the xml. my concern is the sending
and recieving of data. how is is done? the current project i have to parse a
gigantic url with xml in it and send this. but h
Is there any reliable provider who offers free webspace with php and Mysql
support?
Cheers
RJ
--
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 PROTEC
You need to make sure you do a session_start at the beginning of each page
example:
First Page:
Other Pages:
> Hi All,
> I have a problem in session tracking,
>
> After checking User name and password from database, I register a
> session as
>
> session_register("User_name");
>
> For nex
You do know that you can see the source of any page on PHP.net's site,
right? Just click on the "show source" link in the bottom navigation
bar on any page. For instance, the source to the page you mention is
at:
http://www.php.net/source.php?url=/support.php
hth
--kurt
> -Original Mess
Bill wrote:
> I thought my regexps were up to snuff until they processed this url:
>
> http:[EMAIL PROTECTED]
>
> Anybody have a regexp that can parse for both http & mailto links and
> turn that into an http link -without- turning it also into a mailto
> link?
Thought you might like to see what
This uses just one expression (and that is a fast preg_ insteat of ereg) for
both, mailto: and http: links (and news:, too):
$text =
preg_replace('#(^|[^\"=]{1})(http://|ftp://|mailto:|news:)([^\s<>]+)([\s\n<>
]|$)#sm',"\\1\\2\\3\\4",$text);
ciao,
matt
--
s o m e o n GmbH
Community Software
Hi!
this is half OT :-[
I want to list all files, that are included in my script with include() or
require().
I am convinced I can do this in Linux with some command, that listes all
files, that have been accessed the last xxx hours or minutes or seconds ... (and
this would be exactly what I nee
Hi.
I'm heard about a php function that works with apache and It can be run
fovrever an example:
I want that each hour my script gets the weather of a site (like yahoo)
and write to a txt file.
how can I do that?
thanks.
Augusto
--
PHP General Mailing List (http://www.php.net/)
To uns
I want to install the GD library for PHP
I seek libpng and zlib and jpeg-6b can you help me
Greetings,
Manu Verhaegen
--
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 admin
www.boutell.com
- Original Message -
From: "Manu Verhaegen" <[EMAIL PROTECTED]>
To: "'Php-General (E-mail)" <[EMAIL PROTECTED]>
Sent: Saturday, July 28, 2001 12:51 PM
Subject: [PHP] GD library
> I want to install the GD library for PHP
> I seek libpng and zlib and jpeg-6b can you help
http://www.portland.co.uk/
They provide free PHP and MySQL although their forums are the
only options for quick support
--
Joel Agnel.
Sign up for our Free Weekly Newsletter that delivers
Cool Sites directly to you by e-mail. You'll have Fun!
Click Here : http://www.siteskool.com/sites/
"Minardi Boy" <[EMAIL PROTECTED]> skrev i en meddelelse
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Is there any reliable provider who offers free webspace with php and Mysql
> support?
In my opinion no reliable exists.
You get what you pay for. If you pay a lot, you get a lot. If you pay
not
"Michael Mehlmann" <[EMAIL PROTECTED]> skrev i en meddelelse
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I want to list all files, that are included in my script with include() or
> require().
get_reqiured_files() and get_included_files() ?
--
Mvh./Best Regards
Jonas Delfs, http://delfs.dk
"Jonas Delfs" <[EMAIL PROTECTED]> skrev i en meddelelse
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I want to list all files, that are included in my script with include()
or
> > require().
>
> get_reqiured_files() and get_included_files() ?
I forgot to mention that you only need get_includ
> Is there any reliable provider who offers free webspace with php and Mysql
> support?
If you're in the UK and don't mind using their ISP for at least an hour a
month, UKLinux (www.uklinux.net) is a great provider.
--
Owen Rudge
http://www.owenrudge.co.uk/
http://www.gamearchive.uk.tt/
--
P
"Jeremy Zawodny" <[EMAIL PROTECTED]> skrev i en meddelelse
news:[EMAIL PROTECTED]...
> > I would like to know the syntax to create mysql table using php.
> > Please help, I have searched the php manual, but couldn't find any
> > helpful hint.
>
> PHP doesn't care which database you use, so you wo
At 01:31 pm 7/28/01 -0300, Augusto Cesar Castoldi wrote:
>I want that each hour my script gets the weather of a site (like yahoo)
>and write to a txt file.
Hi Augusto.
first write the script to accomplish this function. If you're on a Unix
type server you can then use the crontab function to h
Manu Verhaegen wrote:
> I want to install the GD library for PHP
> I seek libpng and zlib and jpeg-6b can you help me
For what OS?
regards
Wagner
--
"Isn't it strange? The same people who laugh at gypsy fortune tellers take
economists seriously."
- Cincinnati Enquirer
--
PHP General Mai
I'm calling an image through a php file, but when I make changes to the
image, I can't get them to show. For some reason the old image is getting
cached somewhere, and none of the standard remedies are working (refreshing,
deleting cache, etc). What does work is changing the value of $icon and the
Ok i know this is a reheheheally simple question but can someone please send me the
code for an upload file box which can only have gifs and jpgs uploaded so i may add it
to a fanart section for my site
-legokiller666-
http://www.StupeedStudios.f2s.com
New address new site
ICQ: 115852509
Also how do i make it so that when it sends the email the picture is an attatchment?
-legokiller666-
http://www.StupeedStudios.f2s.com
New address new site
ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666
At 22:15 28-7-01 -0700, Kyle Smith wrote:
>Also how do i make it so that when it sends the email the picture is an
>attatchment?
I just don't get it anymore. First you ask about uploading files and now
about sending files as attachment?? And this second (this) mail is supposed
to make somethin
yes: http://www.f2s.com
regards
28/07/01 18:05:45, "Minardi boy" <[EMAIL PROTECTED]> wrote:
>Is there any reliable provider who offers free webspace with php and Mysql
>support?
>Cheers
>RJ
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
You need to do something like this:
With a little PHP work you can make the menu content and url links data driven.
Page Title