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: Chris Fry
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
?php
// Connect to
MySQL
$connection = mysql_connect(
'localhost', 'balaji', 'pingpong'
) or die
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\ where
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 by this
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
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 :
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 Contents
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 [EMAIL
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
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 employee
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 the password
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 the
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);
?
is
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 believe
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
form
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
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
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
You need to make sure you do a session_start at the beginning of each page
example:
First Page:
?
session_name(login);
session_start();
session_register(Email);
session_register(Password);
?
HTML
Other Pages:
?
session_name(login);
session_start();
?
HTML
Hi All,
I have a
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
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',\\1a href=\2\\3\\\
target=\\\blank\\\u\\2\\3/u/a\\4,$text);
ciao,
matt
--
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
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
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
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 me
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
nothing,
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
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/
--
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 won't find it
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
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
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 something
You need to do something like this:
With a little PHP work you can make the menu content and url links data driven.
HTML
HEAD
TITLEPage Title/TITLE
SCRIPT LANGUAGE = JavaScript!--- //hide script from old browsers
function MakeArray()
{
this.length = MakeArray.arguments.length
Hope I can explain this. I want to have scripts that will automatically refresh
a page entered by the user. So a form will have URL to refresh, seconds to
refresh and title of page. I want the page to continually refresh every X seconds.
I think I would need two pages that go back and forth
ok please ignore my rather ongoing stupidity. I briefly scanned my manual and didnt
find this. so figured since everyone here should be experts on this function with so
many questions asked. .
Does this require a specific mail server e.g. sendmail?
Thank You,
Jon Yaggie
Thanks for your help everyone, I feel pretty embarrassed to have made a
mistake like that! :o
-Original Message-
From: Bojan Gajic [mailto:[EMAIL PROTECTED]]
Sent: Sunday, 29 July 2001 12:44 AM
To: Matt Stone
Subject: Re: [PHP] Stripping single quotes
you are not assigning
I've searched through the manuals and newsgroups but haven't found an
answer. maybe someone on this list can tell me whether PHP will
automatically de-allocate filehandles and database connections upon script
termination? i.e. do I always need to call fclose() and mysql_close()
before the
is there an equivalent to Perl's END block? i.e some way to automatically
run certain code when a page is about to end?
1k thx - e
--
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
Hi Erick,
It's all in the manual...
http://php.net/manual/en/function.register-shutdown-function.php
Cheers
- -- - - -
Philip Murray - [EMAIL PROTECTED]
http://www.open2view.com - Open2View.com
- - -- - -
- Original Message -
Mr. Robert Harvesy,
5 8 Milton Obote,
Avenue BLED
Kinshasha,
Congo Zaire,
Sir,
I got your contact from the Internet and I know that
this letter will come to you as a big surprise but
dont ignore it. The profit will not only be for you
but for generations, this
session_register($refresh);
session_register($seconds);
session_register($title);
You probably want to remove the $ signs in the above.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
47 matches
Mail list logo