I'm trying to create a server-side tree-menue. Therefore I wrote a class
Does anybody know why it doesnt work?
there is a mysql_table named "menue" with the cols 'menue_id', 'name',
'parent_id'.
$open is a global array with entries who tell me which menue-points where
clicked.
class menue
Hi,
I'm setting up an error checking element to a registration site and would
like to redirect the user to a certain page if they missed any fields on
the previous registration page ... the problem is I can't seem to find a
redirect command for PHP.
I was using the header command, but its giv
On Wednesday 29 May 2002 15:37, Tim Thorburn wrote:
> Hi,
>
> I'm setting up an error checking element to a registration site and would
> like to redirect the user to a certain page if they missed any fields on
> the previous registration page ... the problem is I can't seem to find a
> redirect c
According to the manual, the ereg functions are not binary safe. The
superior-in-every-way preg functions are. Perhaps you could try using
preg_grep instead.
$result = preg_grep('/' . preg_quote($imagename) . '/', $file);
You may find that strstr or something is even simpler.
miguel
On Tue,
The error the header() command is giving me now is:
Warning: Cannot add header information - headers already sent by (output
started at \registrations\reg_mudfling.php:5)
I've moved the header command around (line position) and still nothing ...
not sure why its suddenly not working. I've bee
On Wed, 29 May 2002, Dr. Indera wrote:
> I'd to know how difficult it is to achieve the following:
>
> Create login page, when the submit button is clicked, the user info is
> checked against a database as to whether is login info is valid. if it
> is valid, a page is displayed that lists all of
On Wed, 29 May 2002, Tim Thorburn wrote:
> The error the header() command is giving me now is:
>
> Warning: Cannot add header information - headers already sent by (output
> started at \registrations\reg_mudfling.php:5)
>
> I've moved the header command around (line position) and still nothing
If it's just a date you want to convert, why not use the functions already
provided?
$output = date('d-m-y', strtotime($input));
miguel
On Wed, 29 May 2002, Martin Towell wrote:
> I have a string which is a date - eg "01-JUL-02"
> I want to convert the month bit to it's corresponding number,
> This is an example of what I'm talking about.
>
> Week 1 pages would be visible starting June 3rd
> Week 2 pages would be visible starting June 10th
> Week 3 pages would be visible starting June 17th
Use a database. Store information about each file in the database,
including a "relea
Does anybody know a good tool (if possible freeware) to automatically
Re-indent PHP code running on windows ?
Laurent Drouet
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all
I've been wrestling with a problem that has, as far as I'm aware, no
reason to be happening unless php handling of OOP and Sessions is to
blame. This note looks long, but has been *seriously* condensed!
I have an application set up like this
I really hope someone can help me here!! LOL!!
I'm in the process of moving a site that utilises PHP and MySQL to another
server. The move has gone well, and I have successfully edited most of the
scripts, or rewritten them to work in their new location... however... I am
having a problem with
Hi,
Just wanted to thank you for your responses ... I solved my header problem
- I wasn't using the full address (I left out the http:// bit)
Thanks again ... must be working at 3.30am thats not so good for the brain ...
-Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
I really hope someone can help me here!! LOL!!
I'm in the process of moving a site that utilises PHP and MySQL to another
server. The move has gone well, and I have successfully edited most of the
scripts, or rewritten them to work in their new location... however... I am
having a problem with
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then [EMAIL PROTECTED] declared
> Warning: Unable to create
> '../specialoffer_images/specoffpicone.jpg': Permission denied in
> /home/virtual/loverskey/home/httpd/html/specialoffer_admin/special_off
> ers_changed.php on line 45
> The dir
Thanks Nick... thing is I have actually set the permissions at 777 several
times today.
I'll try it again though, just in case. Any thoughts on the header issue?
Cheers,
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then [EMAIL PROTECTED] declared
> Thanks Nick... thing is I have actually set the permissions at 777 several
> times today.
H what is /inside/ that directory?
> I'll try it again though, just in case. Any thoughts on the header i
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all
I've been wrestling with a php problem that has, as far as I'm aware, no
reason to be happening unless php handling of OOP and Sessions is to
blame. This note looks long, but has been *seriously* condensed!
I have an application set up like t
In a message dated 5/29/02 4:46:53 AM Eastern Daylight Time,
[EMAIL PROTECTED] pronoucnes to the naive PHP'er:
> H what is /inside/ that directory?
Inside it? Right now, it holds three jpgs. There's no further files or dir
structure.
Thank you again!
Greg
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then [EMAIL PROTECTED] declared
> > H what is /inside/ that directory?
>
> Inside it? Right now, it holds three jpgs. There's no further files or dir
> structure.
Okay, 2 things then.
1. Does this image already exist in that di
In a message dated 5/29/02 4:53:22 AM Eastern Daylight Time,
[EMAIL PROTECTED] writes:
> 1. Does this image already exist in that dir?
Yes it does - the script is supposed to overwrite any image in the dir, and
rename whatever you upload to a preset name, as far as I can see it. I've
tried
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then [EMAIL PROTECTED] declared
> > 1. Does this image already exist in that dir?
>
> Yes it does - the script is supposed to overwrite any image in the dir, and
> rename whatever you upload to a preset name, as far as I can see it. I've
In a message dated 5/29/02 5:09:12 AM Eastern Daylight Time,
[EMAIL PROTECTED] writes:
> Okay! I think I've got it.
> Get into the dir and do 'chmod 777 *' I reckon you have permissions on
> the dir but not on the imgs.
Oh! Good man!! Why didn't I think of that? I'll give it a go... Of course
> -Original Message-
> From: Andre Dubuc [mailto:[EMAIL PROTECTED]]
> Sent: 28 May 2002 22:37
>
> if
> (eregi("<([^>]|\n)*>|//ims|onClick|onLoad|
> onDblClick|
> onDragStart|onKeyDown|onKeyPress|onKeyUp|onMouseDown|onMouseMove|
> onMouseOut|MouseOver|SelectStart|Blur|Focus|Scroll|onMouse
I'm not sure if this is your problem but are you closing the connection
anywhere in the script?
e.g.
function Fred()
{ $freddb = mysql_connect("servername","user","password");
mysql_close($freddb);
}
$db = mysqlconnect("servername","user","password");
Fred();
Mysql_query("select
Hi the ML
I would like to know if there is a way to unset a function or to replace
function contents by an other ?
Regards
Laurent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Try to install the windows 2000 support tools and check width the Dependency
Walker the file and ll see witch file is missing!
--
Maurice
"Mauricio" <[EMAIL PROTECTED]> schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi for all.
> I have php+apache+win2000+client oracle in my
I don't know for Win2000 but for my NT box I had to put the file
php_oci8.dll in the winnt directory like the php.ini.
Laurent Drouet
"Maurice
i have some html that i submit using html
example
Perro
When i submit this and retrieve it on the target page the value looks like
this:
Perro
Can I somehow avoid that somehow?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Tim Ward declared
> I'm not sure if this is your problem but are you closing the connection
> anywhere in the script?
Nope. thanks though...
- --
Nick Wilson // www.explodingnet.com
-BEGIN PGP SIGNATURE-
Version: Gnu
Hi,
I am designing a php program running in Linux, i would like to know can i
design a program by adding permeter after the file name?
Just like the following, "adding.php" is the filename and "123" ,"456" is
the data which i want to input for the program?
[root@localhost bin]# php adding.php 1
Hi,
Yes Problem is there with the ID:
Bug #15090 header("Location: $url") causes php.exe to generate an error
Submitted: 17 Jan 5:21pm Modified: 18 Jan 11:54pm
From: [EMAIL PROTECTED]
Status: Closed Category: Reproducible crash
Version: 4.0.6 OS: Windows 2000
Cheers
Balaji
-Original
Hhmmm...
Now it doesn;t seem to find the page it's referring to, then upon refresh it
removes all table entires... odd... and gives these errors:
Warning: Unable to open '' for reading: No such file or directory in
/home/virtual/loverskey/home/httpd/html/specialoffer_admin/special_offers_chan
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> i have some html that i submit using html
> example
>
> Perro
>
>
> When i submit this and retrieve it on the target page the value looks like
> this:
> Perro
>
> Can I somehow avoid that somehow?
Use stripslashes, or turn off m
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> Hi,
>
> I am designing a php program running in Linux, i would like to know can i
> design a program by adding permeter after the file name?
>
> Just like the following, "adding.php" is the filename and "123" ,"456" is
> the data which
Hi !
I would like to know if somebody already done the following thing :
I'm writing a function which accept 2 args : $conditions and $summary
in my function I have to construct an if statement with these arg like :
if
foreach ($conditions as $key=>$val)
($val==$summary["$key"])
> > Warning: Unable to create
> > '../specialoffer_images/specoffpicone.jpg': Permission denied in
> >
> /home/virtual/loverskey/home/httpd/html/specialoffer_admin/sp
> ecial_off
> > ers_changed.php on line 45
> > The directories are permissiond correctly, and I've tried so many
> Nop
Nick... this world of technology is very, very odd.
I got really annoyed, and when I pressed the submit button as a test, I held
it down for a few seconds, chanting "Work, dammit, work..."
Lo and behold, it did... now it works everytime... god knows how..
Thank you so much for your input, I fe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Laurent Drouet declared
> if
> foreach ($conditions as $key=>$val)
>
> ($val==$summary["$key"])
>{
> statements to execute if the condition is right for all
> $conditions
>
> -Original Message-
> From: Ed Lazor [mailto:[EMAIL PROTECTED]]
> Sent: 29 May 2002 01:49
> To: [EMAIL PROTECTED]
> Subject: [PHP] easy date question?
>
>
> How can I find out the date of the 3rd Tuesday of any given month?
>
> Thanks,
To get a timestamp value:
$third_tues = strt
> -Original Message-
> From: Thalis A. Kalfigopoulos [mailto:[EMAIL PROTECTED]]
> Sent: 28 May 2002 20:21
>
> If I write a comment line with // and I include in it ?> then
> it fails to parse the rest of the page because (i'm guessing)
> the parser gets confused and goes off PHP mode.
> -Original Message-
> From: Ed Gorski [mailto:[EMAIL PROTECTED]]
> Sent: 28 May 2002 21:53
>
> No, if you use /* ? */ as a comment the parser will skip right over
> it.if you want to use sample code in your script just use:
>
> /*
> code here
> ?>
> */
>
> that'll work fi
%s\n",$message);
}
function authenticateUser($user, $password)
{
global $host, $httphost, $user_db, $password_db, $db, $docroot;
if (! ($link = mysql_pconnect($host, $user_db, $password_db)))
{
DisplayErrMsg(sprintf("internal Error %d: %s \n"
Hi,
Has anyone interfaced to Worldpay using php running on Unix/Linux? Worlp pay
have a COM interface but thsi is only avaliable if PHP is running under
windows, so I was wondering if there is another way?
Thanks,
Kevin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Wednesday 29 May 2002 19:17, Webby wrote:
When starting a new topic please do not reply to an existing post. Start a new
one.
> **/ when i run this script it's say parse error in this line 'i don't what
> is wrong with this line
> if (($row = mysql_fetch_array($result)) &&
> ($passw
[snip]
Could anybody explain to me (or even give me a link to a place explaining)
the creation of "DSN-less" connections? I've extensivly searched Google with
this, but I couldn't find anything that was of any help to me. I know how to
do this in ASP, though...
[/snip]
PHP does not use the concep
Hey guys,
I have written a program and being a newbie I dont know if this is good or
will give me problems in the future, so will appreciate it if you could just
have a look at the function and give me your "esteemed opinion" ;-)
This is just a snip from the program...its pretty easy so your guru
[snip]
...lots of stuff from lots of messages...
[/snip]
If you need to display PHP code in an HTML page and have it validate
properly you need to use the following;
php ?> which will properly display as
As a matter of course it is typical to use < (<) and > (>) along with
a set of pre-form
You might want to give an example of what you are trying to do or at least,
why. I am not an expert (not by a long ways), but to me, the way your
question is worded, I would have to sayOpen up the page in whatever
editing program you want to use delete the function and put in a new
functi
http://www.php.net/manual/fi/function.stripslashes.php
Steve
At 11:36 AM 5/29/2002 +0200, you wrote:
>i have some html that i submit using html
>example
>
> Perro
>
>
>When i submit this and retrieve it on the target page the value looks like
>this:
>Perro
>
>Can I somehow avoid that somehow
> // connected to the database successfully and running this query:
> {
> mysql_query.etc
> $r=select max(cno)+1 from customer;
> insert into customer values($r,'$name');
> }
> print("Your customer number is: $r");
>
> what do you think? And will this return the correct values if 2 people
Well if you just wanted to do a simple redirect like the one you describe
just use meta tags in the
If you use the method that Scott details (I would try to avoid that one
though), create an HTML "Searching..." page with this meta tag. In the
"searchPage.php" file have a redirect to anothe
I'm using 4.0.6. That would explain it...
So how does one using 4.0.6 perform a query on a postgres database? I think
it's pg_exec. However, my manual is for the newest versions of PHP. Is the
syntax the same? Is there an older manual out there?
Thanks! That definitely answeres that questi
Yeah but if you get a higher load of users that can get REALLY uglyif
it is strictly an update (editing of an already existing element) then
locking that record should be fine but if it's an insert or delete you
shouldn't lock the table.
ed
At 07:15 PM 5/28/2002 -0500, Miguel Cruz wrote:
Yeah one of the simple tricks to mask that you use php is to make the
extention that the PHP Parser looks for (ie name it page.foo) or whatever
and have:
AddType application/x-httpd-php .foo
At 07:27 PM 5/28/2002 -0500, Miguel Cruz wrote:
>On Tue, 28 May 2002, Luis Miguel N. Tavora wrote:
> >
Well you should be using $_GET, $_POST and $_SESSION and turn
register-globlals off as of PHP 4.2.1.I think you need to keep
track-vars on for these arrays to be initialized.
ed
At 10:48 AM 5/29/2002 +1000, Martin Towell wrote:
>code snippets would be good, if possible
>
>-Original
Yes you really need to indicate what version of php you are using, what
server you are using and what db you are using if you ever need to ask for
help. Go to www.php.net and read up on:
SQL SERVER
mssql_connect()
MYSQL
mysql_connect()
MOST
obdc_connect()
ORACLE
ora_plogon()
ed
At 06:45 A
I get a parse error on this line
$query = "SELECT * FROM news ORDER BY id DESC LIMIT
1";
I believe that it is an error in the SQL
statement
Thanks in advance
JJ Harrison[EMAIL PROTECTED]www.tececo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www
Are HTML Checkbox values handled the same way as Select Multiple tags?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
I would say as Jason, and I would add a little remark also even if that doesn't
seem to be the pb you have :
if (($row = mysql_fetch_array($result)) && ($password==$row["password"]) &&
($password ! = ""))
I hope it helps
SR
Jason Wong a écrit :
> On Wednesday 29 May 2002 19:17, Webby
Look for errors in the line above this one. PHP doesn't know what SQL is...it's just a
string to PHP.
---John Holmes...
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 29, 2002 9:03 AM
Subject: [PHP] Parse Error(newbie)
I get a par
[EMAIL PROTECTED] wrote:
> $query = "SELECT * FROM news ORDER BY id DESC LIMIT 1";
>
> I believe that it is an error in the SQL statement
Nope, looks fine. Show us the previous few lines, the error is probably in
those somewhere.
--
Stuart
--
PHP General Mailing List (http://www.php.net/)
To
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then [EMAIL PROTECTED] declared
> I get a parse error on this line
>
> $query = "SELECT * FROM news ORDER BY id DESC LIMIT 1";
>
> I believe that it is an error in the SQL statement
Nothing wrong with that. Let's have the whole error msg
On Wednesday 29 May 2002 20:47, Steve G wrote:
> I'm using 4.0.6. That would explain it...
>
> So how does one using 4.0.6 perform a query on a postgres database? I
> think it's pg_exec. However, my manual is for the newest versions of PHP.
> Is the syntax the same? Is there an older manual o
You really need to put in more of the code as it ACTUALLY appears...
ed
At 05:39 PM 5/29/2002 -0700, r wrote:
>Hey guys,
>
>I have written a program and being a newbie I dont know if this is good or
>will give me problems in the future, so will appreciate it if you could just
>have a look at the
Here is the function:
function print_new_story(){
$query = "SELECT * FROM news ORDER BY id DESC LIMIT 1";
$result = mysql_query($query);
$num_results = mysql_num_rows($result);
for ($i=0; $i < $num_results; $i++)
{
$row = mysql_fetch_array($result);
echo ': ';
echo $row['title']
It really should ignore anything in any sort of comment. The whole point of
a comment is that it provides the programmer with information and is ignored
by the compiler/interpreter. If // is supposed to comment until the end of
the line, then by god, it should comment until the end of the line,
If you name the form elements as arrays, then yeah, they are pretty much the
same.
One
Two
Three
When submitted, $foo will be an array containing the values that were
checked. If a box was not checked, it won't have any value in the array.
i.e. If you check One and Three, then you'll have a $fo
Hi JJ,
Looks OK to me, could it be that youa re missing a semi colon ; or a brace } from a
previous line, in this case PHP often reports the parse error as being the line where
the next ; is?
EG
$var1 = "x"
$var2 = "y";
This will show an error on the second line.
KEvin
On Wednesday 29 May 2002 21:13, [EMAIL PROTECTED] wrote:
> Here is the function:
>
> function print_new_story(){
> $query = "SELECT * FROM news ORDER BY id DESC LIMIT 1";
> $result = mysql_query($query);
> $num_results = mysql_num_rows($result);
>
> for ($i=0; $i < $num_results; $i++)
> {
>
Are you sure the permissions on the directory are set up correctly? The
user that the db is run as (usually nobody in apache/linux) needs read and
write privileges on that directory
ed
At 04:30 AM 5/29/2002 -0400, [EMAIL PROTECTED] wrote:
>I really hope someone can help me here!! LOL!!
>
>I'm
Hi all,
I'am a php programer, I have got an seminar on 31st of May(hardly
one day left) on PHP, I have to expose its advantages and advantage of
PHP's security when compared to other languages. I would be thankful if
you people could send me some useful information regarding its
Line 81 is $query.
I showed it in my first email.
I suspect this line is the one causing the trouble(It is about four lines
above the start of the function and is the only previous PHP statement)
mysql_query("delete from conf_event where time < ( time() );
- Original Message -
From: "Ja
On Wednesday 29 May 2002 21:10, Brinkman, Theodore wrote:
> It really should ignore anything in any sort of comment. The whole point
> of a comment is that it provides the programmer with information and is
> ignored by the compiler/interpreter. If // is supposed to comment until
> the end of th
Inside php.ini there is a setting to turn "Magic Quotes" on or off.turn
them off and you won't have this problem. If you don't have access to the
php.ini file or your administrator will not turn them off use
echo stripslashes($test);
ed
At 11:36 AM 5/29/2002 +0200, Jose Jeria wrote:
>i h
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Kevin Lowe declared
> Looks OK to me, could it be that youa re missing a semi colon ; or a brace } from a
>previous line, in this case PHP often reports the parse error as being the line where
>the next ; is?
Yep, that would be me g
mysql_query("delete from conf_event where time < ( time() );
You're missing the ending " there.
Niklas
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 29. toukokuuta 2002 16:20
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Parse Error(newbie)
Line 81 is $query
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all
I have 2 questions relating to how session id's are passed from page to
page:
1: My host uses the 'append to url and hidden fields' method. I dislike
this as it makes my urls untidy and my pages won't validate. So, is it
considered normal prac
Hi,
This is Sugandh Mittal from IIT Delhi. Would any one please refer me to the BNF
Grammar (or any other similar grammar) for PHP.
Thanks very much.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Bah quit complaining, you should be using /* comments */ anyway.
ed
At 09:16 PM 5/29/2002 +0800, Jason Wong wrote:
>On Wednesday 29 May 2002 21:10, Brinkman, Theodore wrote:
> > It really should ignore anything in any sort of comment. The whole point
> > of a comment is that it provides the
On Wednesday 29 May 2002 21:22, Niklas Lampén wrote:
> mysql_query("delete from conf_event where time < ( time() );
>
> You're missing the ending " there.
>
>
> Niklas
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 29. toukokuuta 2002 16:20
> To: [EMAIL
Er, ... Well, that mail seemed too long :-)
So my question is : Are there differences between PHP3 and PHP4, in the
manner of passing variables to a script ???
Thanx for your help ...
--
( °> Nicolas Costes
//\\ IUT de La Roche / Yon
/ \/ ) [EMAIL PROTECTED]
`-<< http://luxregina.fre
I disagree. I use // because then when I need to take out a chunk of code
(the requirements for the programs change faster than I can keep up with
them!!) I can do /* unnecessary code */ and it doesn't end prematurely.
-Natalie
-Original Message-
From: Ed Gorski [mailto:[EMAIL PROTECTED
Hmm...point number 1 would be time management, for you! Maybe you should've
started researching this more than a day before hand.
As far as POST vs. GET, there's hardly a difference. POST data is sent in
the headers, GET data is sent in the URL. Either one can easily be "created"
by the user, so
1. This is done for users that don't use cookies. Believe it or not but
there are people out there that are afraid of cookies and automatically
turn them off. Without appending the sessionid to the end of the URL,
sessions won't work for these people. Now how does your host append to the
e
Where is the best place to find out the values in
seconds(i.e. UNIX time stamps) for standard periods of time such as one day and
one week and one month(The month thing would need to be correct for each
month)
JJ Harrison[EMAIL PROTECTED]www.tececo.com
--
PHP General Mailing List (http://
On Wednesday 29 May 2002 21:27, Leotta, Natalie (NCI/IMS) wrote:
> I disagree. I use // because then when I need to take out a chunk of code
> (the requirements for the programs change faster than I can keep up with
> them!!) I can do /* unnecessary code */ and it doesn't end prematurely.
Yes th
1LT John W. Holmes <[EMAIL PROTECTED]> wrote:
> POST data is sent in the headers
I know it's being picky but if the OP is going to be presenting to an
audience it would be better if what he says is correct.
POST data is not sent in the headers of an HTTP request. It is sent in the
data part of t
I've been wrestling with the same issue. I had some code loop through and
create an arbitrary number of checkbox inputs with the name 'foo[]'
I then attempted to access the array using:
foreach ($foo as $bar)
{
echo $bar;
}
but I got error messages telling me that $foo is not an array
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Ed Gorski declared
> 1. This is done for users that don't use cookies. Believe it or not but
> there are people out there that are afraid of cookies and automatically
> turn them off. Without appending the sessionid to the end of
On Wednesday 29 May 2002 21:35, [EMAIL PROTECTED] wrote:
> Where is the best place to find out the values in seconds(i.e. UNIX time
> stamps) for standard periods of time such as one day and one week and one
> month(The month thing would need to be correct for each month)
1 minute = 1 x 60 second
[snip]
Hmm...point number 1 would be time management, for you! Maybe you should've
started researching this more than a day before hand.
[/snip]
+1 John
[snip]
> I'am a php programer,
[/snip]
And GET & POST you don't know?
[snip]
I have got an seminar on 31st of May(hardly
> one day le
Well that must mean that they are using session_name() and session_id(). I
really don't know why they are using that (considering it'll add
unnecessary overhead of calling session_name(),session_id() twice). My
guess is that they don't have a clue about the SID constant that
automatically ge
Notepad at the moment as I can't change the settings of my computer due to
lack of privilages
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 29, 2002 11:26 PM
Subject: Re: [PHP] Parse Error(newbie)
> On Wednesday 29 May 2002 21:22
On Wednesday 29 May 2002 21:45, [EMAIL PROTECTED] wrote:
> Notepad at the moment as I can't change the settings of my computer due to
> lack of privilages
You have my sympathy :)
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & H
Maybe he's still mulling over the "Hello World" solution
3. htmlspecialchars() is a very nice function as welland you can't beat
the regular expression functions for validating data
ed
At 08:41 AM 5/29/2002 -0500, Jay Blanchard wrote:
>[snip]
>Hmm...point number 1 would be time managem
Hi,
I am using php >4.1, with Sablotron.
I have both an xml and xsl file, and use sablotron to output html. But the
php expressions inside these files are not evaluated (i.e. left out in the
html-file)
How can they be evaluated for sure?
(most examples use sablotron with php4.0 and are therefo
I have a bound variable to an oracle cursor. I then use the OCIFetchInto()
statment to move forward through the resultset. My question is how do i
move backwards through the resultset? Or reset it to its starting position?
thanks.
Hi
Make sure you have an auto_increment field in your table, do the insert
first, then use mysql_insert_id() to get the number of the last which you
can use for the customer number. See the notes at the following page:
http://www.php.net/manual/en/function.mysql-insert-id.php
Regards
Girish
-
Hi,
I have to redirect a POSTed form, ie. a form gets posted to my PHP page,
and I then do some database stuff and then redirect it to another site. I
know of header("http://othersite.com";); to redirect a simple URL request,
but how can I redirect a post with a bunch of form fields in it? I do
1 - 100 of 219 matches
Mail list logo