./PARTIAL SNIP/.
>>converting number of minutes into
/hours
# of mins in an hour = 60
/days
# of minutes in a day = 1440
/weeks
# of minutes in a week = 10080
/monthes
# of minutes in a month Feb non leap= 282240
Ah, how clear things are afterwards. :) I found out my problem was
that PHP was looking in the "wrong" folder for php.ini, and it apparently
fails silently, taking the default settings instead.
- Steve Yates
- A chicken is just an egg's way of continuing the species.
~ Taglines by Ta
Hi Justin--
I've been wrestling with a similar problem.
You say:
> I'm considering:
>
> a) storing this data in a MySQL table (a fairly simple
> query) b) storing this data in a pseudo XML format like:
>
> 24
> Justin French
> [EMAIL PROTECTED]
> 2003-11-28
> This is my intro
> This is my text an
Most likely, you're using some HTML that AOL doesn't like. It's
definitley a client-side issue, in any case.
rml wrote:
I have recently created a site that has some PHP in it. It works fine in
all browsers except AOL. I can see some of the PHP page in AOL except the
one that fetches informati
Unfortunatley, an equation to do what this script does would be as hard
to come up with, and as likely not to work. That's why I want a second
(human) opinion.
PHP4 Emailer wrote:
I'm gonna go out on a limb here, but isn't that why the "human brain" made
calculators? ;)
Good luck with the but
I'm gonna go out on a limb here, but isn't that why the "human brain" made
calculators? ;)
Good luck with the buttons, if you need help let me know. :}
-Original Message-
From: Leif K-Brooks [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 3:40 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PR
I have recently created a site that has some PHP in it. It works fine in
all browsers except AOL. I can see some of the PHP page in AOL except the
one that fetches information from MySQL database. I also host my own server
for this site. Maybe this is a server setting or securtity issue. Anyon
On Jun 13, 2003, "Lance Q" claimed that:
|Hello all,
|
|One of the sites I host is a radio station. Their computer has been setup to
|automagically upload the current song and the next song to their web site
|via FTP. Unfortunately, the format it comes in is pretty awful. (See below).
|
|The CURRE
Good points.
Justin
on 14/06/03 1:52 PM, Robert Cummings ([EMAIL PROTECTED]) wrote:
> I you don't expect to do much with the data then I would recommend using an
> SQL table since then you can easily search on all of the fields. Later if you
> find you have more needs then conversion to XML wil
Hello,
On 06/14/2003 12:30 AM, Justin French wrote:
I'm looking at a site where there will be a lot of articles, all of which
will be added once, and rarely edited again...
Let's say each article consisted of 6 data types:
- id
- author
- authorEmail
- datePublished
- introduct
On Friday 13 June 2003 03:00 pm, you wrote:
> On Saturday 14 June 2003 02:19, Jacob Marble wrote:
> > Amen; machine-translators are no good for something
> > that you don't want confused.
> > ie- english "season" could be "sazon" or "estacion" in
> > Spanish, which mean two different things.
>
> Ne
Use the optional second argument to imagejpeg(). www.php.net/imagejpeg
Monil Chheda wrote:
Can any one guide me as to how can I save dynamically
generated .JPEG images on the server ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Got it fixed. Never mind.
Thanks
At 10:49 PM 6/13/2003, CDitty wrote:
I have a foreach loop in a while loop that retrieves information from my
database. The foreach loop works fine if there is data in the database
for that loop. But if nothing is found in the database, I get a "Invalid
argu
Hi,
Can any one guide me as to how can I save dynamically
generated .JPEG images on the server ?
I would be very grateful...
Thanks a tonne...
=
Best Regards,
Monil Chheda(INDIA)
http://domains.eliteral.com
===
===
_
I you don't expect to do much with the data then I would recommend using an
SQL table since then you can easily search on all of the fields. Later if you
find you have more needs then conversion to XML will be trivial. Regardless
of which route you take if speed is an issue you can always cache eit
I have a foreach loop in a while loop that retrieves information from my
database. The foreach loop works fine if there is data in the database for
that loop. But if nothing is found in the database, I get a "Invalid
argument supplied" error.
Can anyone suggest a fix for this? The foreach lo
Hi all,
I'm looking at a site where there will be a lot of articles, all of which
will be added once, and rarely edited again...
Let's say each article consisted of 6 data types:
- id
- author
- authorEmail
- datePublished
- introduction
- bodyText
I'm considering:
a) st
$query = 'select * from table where fieldname in(\''.
implode('\',\'',$myArray) . '\')';
Roy W wrote:
I have a bunch of variables stuffed in myArray()
I want to run a MySQL SELECT statement ($query=" ..") where it will
access only those records in the database "WHERE" table.fieldname is fou
I have a bunch of variables stuffed in myArray()
I want to run a MySQL SELECT statement ($query=" ..") where it will
access only those records in the database "WHERE" table.fieldname is found
in myArray
Is there a simple one liner? Or do I have to "loop" it through (kinda nasty
as you can
On Fri, 2003-06-13 at 16:28, Daniel J. Rychlik wrote:
> I read the document 4 times. I understand how it works and now Im excited
> about applying this to my application, however Im running into a problem.
> Im recieving an error on my page.
>
> I have this in my form.
> />
>
> and when running
Change error reporting in the php.ini to NOT include notices.
Echo out the variable
echo ( $_POST['fname'] );
All the notice is telling you is that $HTTP_POST_VARS['fname'] doesn't
exist, which it isn't if you haven't posted it to this page.
Daniel J. Rychlik wrote:
I read the document 4 t
Thanks for the answer Mike.
Thanks for the explanation, but I think this is a
different case, isn't? I'm not trying to do this
${$_POST}, I'm trying to make this string $_POST.
And I have another question. Why does this code work?
';
print_r($_POST);
echo '';
$method = 'POST';
$data = ${'_'.$met
I tried to echo it as well, I recieved the same message.
- Original Message -
From: "Ralph" <[EMAIL PROTECTED]>
To: "'Daniel J. Rychlik'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, June 13, 2003 6:50 PM
Subject: RE: [PHP] $_SESSION as $key=>$value
> I think this may be becau
I think this may be because you did not include echo in:
value=" "
so try this:
mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 4:28 PM
To: Ralph; [EMAIL PROTECTED]
Subject: Re: [PHP] $_SESSION as $key=>$value
I read the document 4 times. I understand how it works and now Im
excited
abou
Hello all,
One of the sites I host is a radio station. Their computer has been setup to
automagically upload the current song and the next song to their web site
via FTP. Unfortunately, the format it comes in is pretty awful. (See below).
The CURRENT CutID is: 70428
The Type is: MUS
The ArtistNam
I read the document 4 times. I understand how it works and now Im excited
about applying this to my application, however Im running into a problem.
Im recieving an error on my page.
I have this in my form.
and when running, I recieve
Notice: Undefined index: fname
I also used the example from
Just wanted to let everyone else know so they don't waste days trying to
figure it out.
When using fread() on just about anything except for a file, it only
reads one packet at a time.
This means you must fread within a loop to read the bytes you need.
You can no longer pass "$length bytes to be r
YYYEE!
Finally - It works!!
I used the following:
$fp = popen("$mycommand", "w+");
fwrite($fp, $myoutput);
Thank you for your assistance. I've been looking at this for 2 days and
nothing was coming to mind!
Again thank you!
Tim
"Dvdmandt" <[EMAIL PROTECTED]> wrote in message
Im assuming you are running mozilla 1.3.x
Its not a php issue but a mozilla bug, that I've experienced first hand
http://bugzilla.mozilla.org/show_bug.cgi?id=202210
deno vichas wrote:
i'm runnig into a random problem of having all the headers being
displayed instead on the actual web page in mozi
You could always try header("Location: www.url.com"); (uppercase)...
"Deno Vichas" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> i'm runnig into a random problem of having all the headers being
> displayed instead on the actual web page in mozilla, Ie doesn't seem to
> suffer fro
i'm runnig into a random problem of having all the headers being
displayed instead on the actual web page in mozilla, Ie doesn't seem to
suffer from this, when using header("location: www.url.com"); this is
happening randomly. has anybody seen this or have a fix?
-deno
i'm running:
php 4.3.
Ok, last reply from me I think... Must read until I know for sure before I
post...
http://se.php.net/manual/en/function.proc-open.php seems to be just what you
need!
"Tim T" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> I have a mem var $myoutput I would like to pipe it to the i
If $myoutput is "foo", it will attempt to get input from a file named
"foo". Use "command | $myoutput" instead.
Tim T wrote:
I have a mem var $myoutput I would like to pipe it to the input of a
shell_exec command.
I tried shell_exec("command < $myoutput") however this is not quite right.
Anybo
Oh, sorry, I missunderstood you... You want $myoutput to be the programs
input, not the output of the program... Hmm... Look into popen(), fputs()
and fclose()...
"Tim T" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> I have a mem var $myoutput I would like to pipe it to the input
maybe try exec?
$instruction = "$myOutput > command ";
# for piping (as I recall) I used to do the input from the right, but I
don't think that will make a difference
exec ($instruction);
Bobby
exec ("command
"Tim T" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have a mem var $
Like $myoutput=`command`; ?
"Tim T" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> I have a mem var $myoutput I would like to pipe it to the input of a
> shell_exec command.
>
> I tried shell_exec("command < $myoutput") however this is not quite
right.
> Anybody have any ideas??
I have a mem var $myoutput I would like to pipe it to the input of a
shell_exec command.
I tried shell_exec("command < $myoutput") however this is not quite right.
Anybody have any ideas??
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Already have, and it seems to work fine. Fairly hard to test though,
since the human brain has a hard time converting number of minutes into
years/monthes/weeks/days/hours/minutes.
Alex Earl wrote:
Why not just try it?
Alex
--
The above message is encrypted with double rot13 encoding. An
Matt Palermo wrote:
I need this newly created file to have write permissions - chmod 777.
First, if you just need to write to it, don't chmod it to 777 (you're
giving rwx across the board doing that). Who needs to write to the
file? The webserver only? Then set the permissions to 600, assuming
What is the umask()? What is that used for? How do I set that up
right?
Matt
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 3:08 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] create a chmod'd file
On Saturday 14 June 2003 03:01, Matt Palermo wr
Read the bottom of the email messages, it tells you how to unsubscribe.
Alex
> --- gregory landry <[EMAIL PROTECTED]> wrote:
>> I figured it out. Yipppee..
>>
>> Thanks
>>
>> -Original Message-
>> From: Gregory Landry [mailto:[EMAIL PROTECTED]
>> Sent: Friday, June 13, 2003 4:10 PM
>
> The following function converts minutes to years, monthes, weeks, days,
> hours, minutes. For instance, 61 minutes would become "1 hour, one
> minute". Before I use it, I want to make sure there are no stupid
> mistakes. I can't find any, can any of you?
> function min2ymwdhm($min){
> $a =
How do I get the script to "own" the file? Are there special commands
needed for this?
Matt
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 3:08 PM
To: Matt Palermo; [EMAIL PROTECTED]
Subject: RE: [PHP] create a chmod'd file
[snip]
It just d
The following function converts minutes to years, monthes, weeks, days,
hours, minutes. For instance, 61 minutes would become "1 hour, one
minute". Before I use it, I want to make sure there are no stupid
mistakes. I can't find any, can any of you?
function min2ymwdhm($min){
$a = array();
--- gregory landry <[EMAIL PROTECTED]> wrote:
> I figured it out. Yipppee..
>
> Thanks
>
> -Original Message-
> From: Gregory Landry [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 13, 2003 4:10 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] forms question -- simple
>
>
> Hi all,
>
I figured it out. Yipppee..
Thanks
-Original Message-
From: Gregory Landry [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 4:10 PM
To: [EMAIL PROTECTED]
Subject: [PHP] forms question -- simple
Hi all,
I'm new to the list and to PHP. I haven't bought a book as of yet but I'v
Hi all,
I'm new to the list and to PHP. I haven't bought a book as of yet but I've
found a number of resources that are getting me through the basics.
I am collecting data from a form. I've having no problems collecting the
data and printing it out. But...
I have a form with check boxes with 4
[snip]
I'm trying to add a variable to the end of a directory listing.
This will give me the root directory and show me all the files
exec('ls /home/httpd/vhosts/sitename.com/httpdocs/resumes/',
$filelist);
[/snip]
Have you thought about using
http://us4.php.net/manual/en/function.opend
I'm trying to add a variable to the end of a directory listing.
This will give me the root directory and show me all the files
exec('ls /home/httpd/vhosts/sitename.com/httpdocs/resumes/',
$filelist);
I figured I could do this but it shows me all the files in the root of the
site not of th
-Original Message-
From: Douglas Douglas
To: [EMAIL PROTECTED]
To get the superglobal array ($_GET or $_POST), I try
to build these strings '_'.$method. I'm sure this part
works, PHP builds the string _GET or _POST according
to the $method parameter.
I use ${'_'.$method} to get the content
This is not exactly a bug report, because i am not sure where problem
is.
I am using PHP4.3.1 on Win2000/IIS.
I am setting a custom error handler through:
set_error_handler(array(&$objError, 'handleError')); where $objError
is an instance of an error handling class.
Then, i trigger a user error
On Saturday 14 June 2003 01:55, Global I.S. S.A. wrote:
> The issue appears to be that no rows are being found with mysql_num_rows
> using the SQL LIMIT offset. There should be rows found. Further, all
> processing just halts, and no query is shown as per the code here:
>
>
> // RUN THE QUERY TO R
[snip]
It just doesn't chmod the file. It doesn't produce errors except for
later on in the script when it says it can't access the file with write
permissions (but it should already be chmod'd by then). Thanks.
[/snip]
What are the permissions of the script producing the file? Does it have
the
On Fri, 13 Jun 2003 10:38:39 +0200, Marek Kilimajer wrote:
>Are the logs saying anything? Or if you run php from command line?
Sorry should have made that clear. Apache's error log does not show any
reference to PHP or Zend, nor does /var/log/messages. Is there another
place I should look?
>Fr
On Saturday 14 June 2003 03:01, Matt Palermo wrote:
> It just doesn't chmod the file. It doesn't produce errors except for later
> on in the script when it says it can't access the file with write
> permissions (but it should already be chmod'd by then). Thanks.
If chmod() fails I'm pretty sure
It just doesn't chmod the file. It doesn't produce errors except for later
on in the script when it says it can't access the file with write
permissions (but it should already be chmod'd by then). Thanks.
Matt
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTE
On Saturday 14 June 2003 02:19, Jacob Marble wrote:
> Amen; machine-translators are no good for something that you don't want
> confused.
> ie- english "season" could be "sazon" or "estacion" in Spanish, which mean
> two different things.
Never mind translation, "season" in English has more than o
On Saturday 14 June 2003 02:43, Matt Palermo wrote:
> I am using the fopen(), then using fwrite() to write text to it. After
> this I am trying this command which doesn't work:
>
> chmod($filename, 0777);
>
> But, this doesn't work, and I'm not sure how to go about chmod'ing the file
> for these p
On 2003-06-13 14:42-0400, Pushpinder Singh Garcha wrote:
> How is variable poisoning possible when using $_POST ?? I always felt
> that the php compiler should check to see if the variable was part of
> the POST Global array. At least this is is what I thought about the
> $_POST global array.
I know this is a PHP forum, but this is really urgent!!
A close friend of mine has got many trouble with this problem while
developing a Java chat. Any help would be really appreciated.
Thanks
David.
Problem is as follows:
I'm programming an applet java chat but I have a big problem and I do
[snip]
I am using the fopen(), then using fwrite() to write text to it. After
this I am trying this command which doesn't work:
chmod($filename, 0777);
But, this doesn't work, and I'm not sure how to go about chmod'ing the
file for these permissions so that it can be changed later on.
[/snip]
I am using the fopen(), then using fwrite() to write text to it. After this
I am trying this command which doesn't work:
chmod($filename, 0777);
But, this doesn't work, and I'm not sure how to go about chmod'ing the file
for these permissions so that it can be changed later on.
Matt
- Orig
On Friday, June 13, 2003, at 02:22 PM, Zak Johnson wrote:
$_POST variables are still subject to poisoning; in your case, SQL
injection.
How is variable poisoning possible when using $_POST ?? I always felt
that the php compiler should check to see if the variable was part of
the POST Global arr
uh, could it be...
http://us3.php.net/manual/en/function.chmod.php
-Original Message-
From: Matt Palermo [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 1:36 PM
To: [EMAIL PROTECTED]
Subject: [PHP] create a chmod'd file
I have a script that creates a php file based on user input.
> I have a script that creates a php file based on user input. I need this
> newly created file to have write permissions - chmod 777. How can I have
> the script create the file with these permissions already set? Is this
> possible?
>
> Thanks,
>
> Matt
How are you creating the file? fopen()
I have a script that creates a php file based on user input. I need this newly
created file to have write permissions - chmod 777. How can I have the script create
the file with these permissions already set? Is this possible?
Thanks,
Matt
[snip]
$sql1 = "INSERT INTO `contacts`
VALUES (
$_POST['company'],
$_POST['pri_name'],
$_POST['sec_name'],
$_POST['assistant_1'],
$_PO
On 2003-06-13 14:15-0400, Pushpinder Singh Garcha wrote:
> I am trying to execute a simple query using $_POST variables, so
> that variable poisoning is not possible. note: I have register_globals
> ON on my site. I am getting the error shown below . Please advise ...
> as I can't seem to f
Amen; machine-translators are no good for something that you don't want
confused.
ie- english "season" could be "sazon" or "estacion" in Spanish, which mean
two different things.
Jake
"Joel Rees" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > Hello all mailing-list people, I need
Hello everyone,
I am trying to execute a simple query using $_POST variables, so
that variable poisoning is not possible. note: I have register_globals
ON on my site. I am getting the error shown below . Please advise ...
as I can't seem to figure out why !
// connect to the BD/Table et
Can you give us the query too?
Alex
> Hello List,
> The issue appears to be that no rows are being found with mysql_num_rows
> using the SQL LIMIT offset. There should be rows found. Further, all
> processing just halts, and no query is shown as per the code here:
>
>
> // RUN THE QUERY TO RETRI
Hello List,
The issue appears to be that no rows are being found with mysql_num_rows using the SQL
LIMIT offset. There should be rows found. Further, all processing just halts, and no
query is shown as per the code here:
// RUN THE QUERY TO RETRIEVE EACH FOUND RECORD
$queryResultHandle = mysql_
I run PHP via a simple-minded webserver which sets up some environment
variables and then calls my php scripts (which begin with a
"#!/usr/local/bin/php" line). My scripts must handle all the headers,
including the HTTP status header. My standard included file contains
"header($_SERVER['SERVER_PR
But is this the type of stuff that gets penalized in Search Engines or no?
-Original Message-
From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 1:47 PM
To: Zak Johnson
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Redirects in PHP
At 19:00 13.06.2003, Zak Johnso
At 19:00 13.06.2003, Zak Johnson said:
[snip]
>This will not solve the OP's problem; the header will still be output
>first, and the client will be immediately redirected. I am curious
>though; why is everyone suggesting to use JavaScript when the following
You can do the cheesy: This page has moved. Please click this link.
heheh
J
-Original Message-
From: Carl Furst [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 10:43 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Redirects in PHP
I can understand the abuse, but
I can understand the abuse, but this page wouldn't need to be indexed on any
search engines really.. but I it's an important consideration.
Thanks!
Thanks to everyone!
Carl.
-Original Message-
From: Michael [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 12:35 PM
To: Zak Johnson;
I don't know of any, but is there a "good" alternative?
-Original Message-
From: Zak Johnson [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 1:31 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Redirects in PHP
On 2003-06-13 10:34-0600, Michael wrote:
> Search engines frown on using me
php-general Digest 13 Jun 2003 17:39:40 - Issue 2115
Topics (messages 151331 through 151385):
Re: Gettnig PHP code out of a DB?
151331 by: Ignatius Teo
151332 by: Ben Houlton
151333 by: Leif K-Brooks
Re: How do I capture a POST responce
151334 by: Ralph
Re:
You're absolutely right. Thus, the need for a server-side
redirect. You can use meta refresh as long as the time is
set to around 10 seconds without being penalized. I
guess you could include a message that you are going to
be transferred in 10 seconds, then provide a link for the
impatient
On 2003-06-13 10:34-0600, Michael wrote:
> Search engines frown on using meta refresh because of
> abuse problems. Some engines won't index the page
> period and all of them penalize you at the very least.
> While it will work as you described, you're sacrificing
> search engine positioning
Search engines frown on using meta refresh because of
abuse problems. Some engines won't index the page
period and all of them penalize you at the very least.
While it will work as you described, you're sacrificing
search engine positioning to use it. You need to weigh
the trade-offs
Mich
Read the following:
http://us2.php.net/fsockopen
http://www.zend.com/manual/ref.stream.php
-Original Message-
From: Jason Paschal [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 8:48 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] General question...
ppl, you're
It's like a meta tag...
JavaScript version:
function deelay(secs)
{
setTimeout("goto_url()",secs*1000)
}
function goto_url()
{
location.href="FILE.PHP"
}
"Carl Furst" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> I want to do one of those redirect pages where a php script prin
- Original Message -
From: "Zak Johnson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 13, 2003 11:00 AM
Subject: Re: [PHP] Redirects in PHP
> On 2003-06-13 10:54-0600, Kevin Stone wrote:
> > Carl, you can avoid these issues by using output buffering allowing you
to
> >
On Fri, 13 Jun 2003 10:54:39 -0600, Kevin Stone wrote:
>Javascript.. bah humbug. :)
>
>Carl, you can avoid these issues by using output buffering allowing you to
>call header() whever you want in your script.
But he doesn't get to see the printed info - so it's basically the same
difference. I
On 2003-06-13 10:54-0600, Kevin Stone wrote:
> Carl, you can avoid these issues by using output buffering allowing you to
> call header() whever you want in your script.
This will not solve the OP's problem; the header will still be output
first, and the client will be immediately redirected. I a
Javascript.. bah humbug. :)
Carl, you can avoid these issues by using output buffering allowing you to
call header() whever you want in your script.
- Kevin
- Original Message -
From: "Johnny Martinez" <[EMAIL PROTECTED]>
To: "'Carl Furst'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
I miss the response.redirect in Python and DTML which can be placed
anywhere as well.
Michael
On Friday 13 June 2003 10:28 am, Johnny Martinez wrote:
> try a delayed javascript redirect. location header must be in the header
> whichprevents your visitor from seeing html...thats irritating. i mis
Build a JavaScript and have it execute as the document loads... i.e. in the
body tag with an onLoad event...
the header function in php will not do anything if you have sent output
already
-Original Message-
From: Carl Furst [mailto:[EMAIL PROTECTED]
Sent: June 13, 2003 9:23 AM
To: [EMAI
try a delayed javascript redirect. location header must be in the header
whichprevents your visitor from seeing html...thats irritating. i miss the
ASP "response.redirect" which can be placed anywhere
J
-Original Message-
From: Carl Furst [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2
sorry, It´s only a test!!
On Fri, 13 Jun 2003 12:22:44 -0400, Carl Furst wrote:
>How do you do this?
Use JavaScript. :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
echo ob_get_level(); returns 1
but the next line:
ob_end_clean(); returns
Notice: ob_end_clean() [ref.outcontrol]: failed to delete buffer default
output handler.
Any ideas?
Thanks!
Shawn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I want to do one of those redirect pages where a php script prints HTML
saying "sorry we're not here, we're redirecting you to the right location"
and then after about 2-3 seconds a new location header gets printed and you
are transported to the new location. I see this everywhere but don't know
ho
The EXE file has been made by Delphi 6. A command line tool. (as far as I
know)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I am using W2000pro. I have Apache 1.3.2 and Mysql 4 servers. I am using PHP
4.2.3.
I have an EXE file. When I run it from command line it works perfect. But
with PHP system command I got this error message.
Untrapped exception :Access violation at address 0049403A in module
run.exe'. Read o
hi there , i am about to build a shopping cart which will interact with a
paypal payment system , the cart will use sessions to store the items and
basket information before checking out and posting to the paypal form , what
i'd like to know is would the cart require a login system to track users a
From the manual:
Note: The length parameter became optional in PHP 4.2.0, if omitted, it
would assume 1024 as the line length. As of PHP 4.3, omitting length
will keep reading from the stream until it reaches the end of the line.
If the majority of the lines in the file are all larger than 8KB,
Yes, there is a performance hit. And the oddity is (if set globaly in
php.ini) you have to stripslashes() everything you want to echo to the
browser. So I would recomend you to ini_set() magic_quotes_runtime on
right before this process and then turn it off.
Petre Agenbag wrote:
Thanks, it was
1 - 100 of 129 matches
Mail list logo