Yes, I'm sure.
Nik Makepeace wrote:
Are you sure you don't have an infinite loop anywhere? This sort of
thing can happen if you have an array or a string being built by a loop
that never quits.
Nik
--
The above message is encrypted with double rot13 encoding. Any unauthorized attempt
to decr
dear all,
hi!
i have a php page by name diki.php which i have pasted below.
i have removed the irrelevant code because of the size limit of
the email.
in this page is a submit button at the end. the form in
which this button is placed is by "get" sent to p.php which
has only the following contents
dear all,
hi!
i have a php page by name diki.php which i have attached.
in this page is a submit button at the end. the form in
which this button is placed is by "get" sent to p.php which
has only the following contents:
but when i click on submit button i am not getting
connected to p.php.
stran
you close the input file in while loop ( fclose($fp); )
"Bryan Koschmann - Gkt" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Can someone give me a hand here? I am really lost as to what is
going on.
> I have a file that looks like this
>
> user1,Store 1 - ABC street
> user2,Store
dear all,
hi!
i have a php page by name diki.php which i have attached.
in this page is a submit button at the end. the form in
which this button is placed is by "get" sent to p.php which
has only the following contents:
but when i click on submit button i am not getting
connected to p.php.
stran
My short answer: set_time_limit();
Niklas
-Original Message-
From: Andras Kende [mailto:[EMAIL PROTECTED]
Sent: 7. maaliskuuta 2003 9:05
To: 'php list'
Subject: [PHP] Maximum execution time exceeded when using dial up
Hello,
I have database while query which populates cells in a ht
Hello,
I have database while query which populates cells in a html table, but
noticed if using a slow dial up connection its times out...
Fatal error: Maximum execution time of 60 seconds exceeded in
D:\website\eis-vieworderlookup.php on line 75
What's the best way to deal with this??
Thanks
True. My bad. :)
You really have to use single quotes, not double quotes. And I was the one
telling about this a couple of days a go. :)
Niklas
-Original Message-
From: Jason k Larson [mailto:[EMAIL PROTECTED]
Sent: 7. maaliskuuta 2003 8:58
To: [EMAIL PROTECTED]
Cc: Php-General
Subjec
And what about:
print htmlspecialchars('[EMAIL PROTECTED]@#%:[EMAIL PROTECTED]@[EMAIL PROTECTED]|#:~December,2003~on~fjskl');
It seems to work for me.
--
Jason k Larson
Niklas Lampén wrote:
print htmlspecialchars("[EMAIL PROTECTED]@#%:[EMAIL PROTECTED]@[EMAIL
PROTECTED]|#:~December,
2003~on~fjs
dear all,
hi!
i have a php page by name diki.php which i have attached.
in this page is a submit button at the end. the form in
which this button is placed is by "get" sent to p.php which
has only the following contents:
but when i click on submit button i am not getting
connected to p.php.
stran
print htmlspecialchars("[EMAIL PROTECTED]@#%:[EMAIL PROTECTED]@[EMAIL
PROTECTED]|#:~December,
2003~on~fjskl");
Niklas
-Original Message-
From: Liam Gibbs [mailto:[EMAIL PROTECTED]
Sent: 7. maaliskuuta 2003 8:13
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Dollar signs in values
> Could y
>(Just an idea...)
An idea that worked ... BUT :)
I had to leave out "id" in the insert and the select
INSERT INTO ccl.ccl_maintest
( RNum, YR, AU, ST, SD, SC, BT, BD, BC, AT, AD, AC, SR, PL, PR, JR, VNum, INum, DT,
PG, LG, SF, OL, KW, AUS, GEO, AN, RB, CO, RR )
SELECT
id, RNum, YR, AU, ST, SD,
On Friday 07 March 2003 14:13, Liam Gibbs wrote:
> > Could you show some code to illustrate the unpredictable results that you
>
> get?
>
> Here's what I have in my file:
>
> [EMAIL PROTECTED]@#%:[EMAIL PROTECTED]@[EMAIL PROTECTED]|#:~December, 2003~on~fjskl
>
> It's first exploded() by ~,
What d
> How can I get this to use the next auto_increment of
> id (Next Autoindex = 52)?
What if you just remove id from your field list?
insert into ccl.ccl_maintest (id,RNum,YR,AU,ST
^^^
Here :)
(Just an idea...)
J
--
PHP General Mailing
Ok, I'm off topic. I'm trying to build some php code but can't get my SQL right.
http://www.mysql.com/doc/en/INSERT_SELECT.html
insert into ccl.ccl_maintest
(id,RNum,YR,AU,ST,SD,SC,BT,BD,BC,AT,AD,AC,SR,PL,PR,JR,VNum,INum,DT,PG,LG,SF,OL,KW,AUS,GEO,AN,RB,CO,RR)
select
id,RNum,YR,AU,ST,SD,SC,BT,BD,B
> I'll try the single quotation mark method first, though.
Single quotations didn't seem to work either.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Could you show some code to illustrate the unpredictable results that you
get?
Here's what I have in my file:
[EMAIL PROTECTED]@#%:[EMAIL PROTECTED]@[EMAIL PROTECTED]|#:~December, 2003~on~fjskl
It's first exploded() by ~, then those values are produced by print("")
statements, like this one:
code snippets would be helpful
-Original Message-
From: Liam Gibbs [mailto:[EMAIL PROTECTED]
Sent: Friday, March 07, 2003 5:07 PM
To: php list
Subject: Re: [PHP] Dollar signs in values
> Escape them with a backslash:
>
> $text = "The amount is \$400.-";
All that does is print \$ in
> Escape them with a backslash:
>
> $text = "The amount is \$400.-";
All that does is print \$ in my HTML.
What's going on is that it will put, say, RR$T into a file when that's typed
into a textbox or any typable form control. That's properly saved in the
file.
So the file will contain RR$T.
W
On Friday 07 March 2003 13:58, Liam Gibbs wrote:
> How is it I can properly get PHP to represent dollar signs when putting it
> into HTML?
>
> I know that dollar signs denote the beginning of a variable, like
> $reference or $ftpstream or whatever. However, I have a text file that
> contains (or ca
At 06:58 07.03.2003, Liam Gibbs said:
[snip]
>How is it I can properly get PHP to represent dollar signs when putting it
>into HTML?
>
>I know that dollar signs denote the beginning of a variable, like $reference
>or $ftpstream or whatever. However, I have
How is it I can properly get PHP to represent dollar signs when putting it into HTML?
I know that dollar signs denote the beginning of a variable, like $reference or
$ftpstream or whatever. However, I have a text file that contains (or can contain)
values with $ in them. When I open the file and
Hello all
can somebody please tell how do I get any subject of the general list into my inbox
not only the topics I start
Tx
On Fri, 2003-03-07 at 14:44, Leif K-Brooks wrote:
> Lately, I've been getting the following error:
> Fatal error: Allowed memory size of 15728640 bytes exhausted (tried to
> allocate 86460 bytes) in Unknown on line 0
> The thing is, I'm not doing anything that could possibly require much
> memory
Hi all,
since this has been asked a lot the last weeks I've published a nice little
script for a generic login system using the HTTP authentication method via
the "401 Unauthorized" header.
It is available at http://www.vogelsinger.at/protected.html.
Its main features are:
- Protects directorie
Lately, I've been getting the following error:
Fatal error: Allowed memory size of 15728640 bytes exhausted (tried to
allocate 86460 bytes) in Unknown on line 0
The thing is, I'm not doing anything that could possibly require much
memory. Is there some kind of bug, or am I missing something?
--
Hi,
Could anyone advise me how I could test PhP operation over HTTP connection?
Is there any php script available which I can use to make sure that
everything works
including database connection?
Please help
Alex101
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
> I have a basic feedback form with:
> your name
> your e-mail address
> E-Mail Subject
> Message
>
> The problem is the line breaks...
>
> For example, they might type in the following (between the dashed
> lines) into the Message textarea:
> --
> Hi,
>
>
Hi,
Please help me before I go insane...
I have a basic feedback form with:
your name
your e-mail address
E-Mail Subject
Message
The problem is the line breaks...
For example, they might type in the following (between the dashed
lines) into the Message textarea:
On Fri, 2003-03-07 at 07:24, Charles Kline wrote:
> I have played with it - changing permissions and the only
> one that works is chmod 777 - not sure if this is good or not - pretty
> new to unix administration stuff.
If you don't want to make a new directory to store them, you should make
sure
Where could I find a list of features that 5 is planning on having?
Josh.
On March 6, 2003 11:12 pm, Marco Tabini wrote:
> On Thu, 2003-03-06 at 23:09, Larry Brown wrote:
> > Someone mentioned a facet of version 5 to be expected that I am really
> > looking forward to. Does anyone know what the
On Fri, 2003-03-07 at 09:34, John Taylor-Johnston wrote:
> I have an *.inc with html, a rather long list of .
And you want to print out said list of OPTIONs several times with
different ones selected each time?
You could do it with an array and a function. The array would contain a
list of keys
On Thu, 2003-03-06 at 23:09, Larry Brown wrote:
> Someone mentioned a facet of version 5 to be expected that I am really
> looking forward to. Does anyone know what the release target date is? I
> didnt see any mention of it on php.net.
Version 5 is still being actively developed (at least as fa
Someone mentioned a facet of version 5 to be expected that I am really
looking forward to. Does anyone know what the release target date is? I
didnt see any mention of it on php.net.
Larry S. Brown
Dimension Networks, Inc.
(727) 723-8388
> Where do you get that from?
Probably from not trying it before I open my mouth. I must
have dreamed it somewhere, sorry :)
J
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> > You need to explode() $line.
>
> Won't that still cause problems for him, since explode() will
> ignore concurrent separators ()?
Where do you get that from?
$a = "a|b|||c||d";
$b = explode("|",$a);
print_r($b);
Array
(
[0] => a
[1] => b
[2] =>
[3] =>
[4] => c
> You need to explode() $line.
Won't that still cause problems for him, since explode() will
ignore concurrent separators ()?
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Friday 07 March 2003 12:51, WebDev wrote:
> the code only displays the 10 random line numbers
> somehow again the arrays are empty, tried all tricks to see if arrays are
> carrieng anything but the are all empty
> $dreidrei, $dreivier, $dreifunf, $dreisechs ) = ($line);
You need to explode() $
Jonathan,
Only way I can think of is to display the time using Javascript. This way it will be
displayed according to the users computer clock.
Of course, if the computer clock is wrong...
Joseph
"Jonathan Arnold" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Is there a way
Is there a way to figure out the client (ie., browser's) time
zone? I have a time stored as a GMT time, and I'd like to display
it in the viewer's time zone.
--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Amazing Developments http://www.buddydog.org
So I'm ugly. So what? I never saw anyone
the code only displays the 10 random line numbers
somehow again the arrays are empty, tried all tricks to see if arrays are carrieng
anything but the are all empty
data file loks like :
123|name|LastN|City|Country|||etc|etc|
124|names|lastN|||etc||etc|
could somebody please find the error, thank
yeah, unfortunately 777 is the way to go.
"Charles Kline" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have a form which uploads a file to my server. The files that are
> uploaded will be .doc files and will need to be able to be downloaded
> from a web page.
>
> My script works
Hi folks,
I'm looking for a regular expression which matches a URL. I've found
several already by looking around various sites, but they don't seem
to accomplish what I'm looking for.
I'm developing a PHP-driven message board / forum system. As a part
of this, of course, I have to give users the
I have an *.inc with html, a rather long list of . I want to clean this up
some.
I'm going to declare $FieldName and $ToBeSelected before I call
include("options.inc"). I also want to select one of the in advance.
The problem is ... this is beginning to look like a function, which I will decla
> I need to modify a string that contains image links like src="http://www.somedomain/directory/graphics/filename.jpg";> to
> image links like
Maybe something like with str_replace()?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
AHA!
I found the problem:
session_expiration is an unsigned int(11) field type and so
session_expiration > now()
always results in no match, even when it should be in the
on_session_read() function.
...now i need to make sure, that the now() gets the same value type, right?
...any ideas?
Thanks
Can someone give me a hand here? I am really lost as to what is going on.
I have a file that looks like this
user1,Store 1 - ABC street
user2,Store 2 - Northside
user3,Store 3 - East
I try to run my code, but I get a php log filled (~33 megs, the input file
is only 12 lines):
[06-Mar-2003 15:22:
I have a form which uploads a file to my server. The files that are
uploaded will be .doc files and will need to be able to be downloaded
from a web page.
My script works locally - I have tested it well files upload etc., but
I am moving it to a commercial web server and am not sure what
permi
I see your point, and I'd really like to use Limit in the query. However,
what if I want to sort those 5 last records by another field? They're already
sorted DESC, so I can't do that.
Kevin Stone wrote:
> - Original Message -
> From: "drparker" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECT
- Original Message -
From: "drparker" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 2:42 PM
Subject: [PHP] retrieve last n records
> I need to retrieve the last n records of a table, n will probably be 2
> or 3. I know that I can accomplish this by: select *
Hello,
For some reason, whenevr I try and access the database contents, it turns up
empty. What I do is randomly select an ID (the lowest being 1 and the
highest being however many IDs are in the database [this section of
accessing the database works]). After I select the ID, I get an ad according
I need to retrieve the last n records of a table, n will probably be 2
or 3. I know that I can accomplish this by: select * from table order
by field DESC Limit n, but i would prefer not to do this way because it
interferes with my sorting mechanism on the main page. Is there any
other way to do
I think I know what can be causing it.
Maybe on your "local" config you have register_globals turned on, and on the other
(Red Hat) they are turned off.
Try:
if ($_GET['submit_login'] <> "")
or
if ($_POST['submit_login'] <> "")
depending on the method you're using to send the data to the Re
- Original Message -
From: "1LT John W. Holmes" <[EMAIL PROTECTED]>
To: "Kevin Stone" <[EMAIL PROTECTED]>; "WebDev" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 2:06 PM
Subject: Re: [PHP] reading last -n lines array is emty
> > Holy crap looks like I was wrong!
--- Begin Message ---
Hi,
if it's always the same "src=http://www.somedomain/directory/";, then the
easiest might be:
$string =
str_replace('src="http://www.domedomain/directory/','src="',$string);
...
Duncan
Luis Lebron wrote:
I need to modify a string that contains image links like http://
I need to modify a string that contains image links like http://www.somedomain/directory/graphics/filename.jpg";> to
image links like
How can I do this?
Luis
> Holy crap looks like I was wrong! I just tested it and sure enough '|'
does
> return an error.. how do you like that. So use split("\|", $file[$i]).
For a regular expression "|" means OR. You could use explode("|",$file[$i])
for the sam effect. Benchmark split() vs. explode() and see which is
Buitiful it works finaly thanks to your help
Could you be so nice and as well look what I am doing wrong with the random
array display I send it today to the list already again with the lates code
it uses the same data file but only random line numbers is all what I get
- Original Message
Hi,
i just tried the session_set_save_handler script from Sterling Hughes
"PHP Cookbook", which allows to save the session in a MySQL database.
However, i ran into a problem:
The script works just fine and also saves the session in the database,
but it doesn't update the value of the saved data.
I
Holy crap looks like I was wrong! I just tested it and sure enough '|' does
return an error.. how do you like that. So use split("\|", $file[$i]).
- Kevin
- Original Message -
From: "Kevin Stone" <[EMAIL PROTECTED]>
To: "WebDev" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, Ma
Sorry that should be $file[$i] not $line[$i]. I failed to see your other
mistake. Just trust me on the '|' thing.
- Kevin
- Original Message -
From: "WebDev" <[EMAIL PROTECTED]>
To: "Kevin Stone" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 4:44 PM
Subject: Re:
If I remove the "/" then I get this error
Warning: bad regular expression for split() in
/home/virtual/browse/home/httpd/html/Classifieds/infobox2.php on line 14
- Original Message -
From: Kevin Stone <[EMAIL PROTECTED]>
To: WebDev <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday,
> Thanks!! I'll give that a try!
>
> On Thu, 6 Mar 2003, 1LT John W. Holmes wrote:
>
> > > Well, I have a statement that says:
> > >
> > > if ([EMAIL PROTECTED]($photo, $long_path . "speakers/" . $photo_name)) {
> > > echo an error
> > > }else{
> > > proceed with renaming the file
> > >
No you did not do it as I described.
Here's what I wrote:
split('|', $line[$i]);
Here's what you wrote:
split('\|', $line[$i]);
See the difference? Remember single quotes denote a literal. You do not
have to limit the pipe character when you use single quotes.
- Kevin
- Original Message
My PHP-based pages "intially" work, but will not refresh when I go through Microsoft
IIS Web Server.
The identical PHP-based pages work and refresh correctly when I go through Apache.
My environment is . . .
Microsoft Windows XP Professional
Microsoft IIS Web Server
Apache Web Server (on a por
still empty
Got the code like you described:
// start
$file = file("data/ads.data");
$num_lines = count($file);
if ($num_lines > 10)
$start_line = $num_lines - 10;
else
$start_line = 0;
for ($i=$start_line; $i<$num_lines; $i++)
{
list($adnr, $user, $date, $listed, $hlong, $eins, $zwei,
Hello All
I am writing again with reference to my dir Protection PHP script.
The scenario is explained below.
Whenever a user clicks a particular URL, it triggers a php file which
first checks if the user's session exists or not. If the user's session
exists, it should fopen() the particular f
Dan --
...and then Dan Rossi said...
%
% shit i'm a dope this is the email address [EMAIL PROTECTED], as i
No problem :-)
% access the group via newsgroup i never knew :|, but what i am saying is , as
No problem! So you don't see the footer at the bottom of everyone else's
list posts when th
On Friday 07 March 2003 07:09, WebDev wrote:
> I again have no values in my list names $adnr, $user, $date, $listed,
> $hlong, $eins, $zwei, . themn are always emty no matter what I do with
> your code my code
> $dreidrei, $dreivier, $dreifunf, $dreisechs ) = split ("\|", $buffer);
That's bec
shit i'm a dope this is the email address [EMAIL PROTECTED], as i
access the group via newsgroup i never knew :|, but what i am saying is , as
like mysql it is downloading all the messages to my inbox i cannot do this
with the php list i can only post, and can only read them in the newsgroup
viewer
I again have no values in my list names $adnr, $user, $date, $listed,
$hlong, $eins, $zwei, . themn are always emty no matter what I do with
your code my code
// code start
$file = file("data/ads.data");
$num_lines = count($file);
if ($num_lines > 10)
$start_line = $num_lines - 10;
els
Hello All
My application is based on PHP / MySQL. I am using "Sessions" to
validate users before they can access the SIte.
I need to use the same login to allow the users to gain access to a
secret Dir.
This directory is within the webfolder. I have gone through many
previous threads and figu
On Friday 07 March 2003 03:42, Cavallaro, Vito wrote:
> Do You Know java mail list?
I don't, but I bet google does.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
-
> You wouldn't by chance be using $PHP_SELF as the action field of the form?
I am - though not by using $PHP_SELF but using the same file name in
action - holds for all my files. Any way to get around it? Have not got this
problem on any other server earlier.
Thanks,
Arijit
"Kevin Stone" <[EMA
On Friday 07 March 2003 06:25, WebDev wrote:
> How to grab the last -n lines from a data file and display the stored data
> Only the the last 10 line numbers coming back when I echo $i
>
> How do I get the list($adnr, $user, $date, $listed to catch the
> datafields
>
> datafile looks like
> 2
> You wouldn't by chance be using $PHP_SELF as the action field of the form?
I am - though not by using $PHP_SELF but using the same file name in
action - holds for all my files. Any way to get around it? Have not got this
problem on any other server earlier.
Thanks,
Arijit
"Kevin Stone" <[EMA
$file = file('filename');
$line = end($file);
for ($i=0; $line && $i<10;$++)
{
list (. and so on...
$line = prev($file);
}
"Webdev" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
How to grab the last -n lines from a data file and display the stored data
Only the the last 1
Thanks!! I'll give that a try!
On Thu, 6 Mar 2003, 1LT John W. Holmes wrote:
> > Well, I have a statement that says:
> >
> > if ([EMAIL PROTECTED]($photo, $long_path . "speakers/" . $photo_name)) {
> > echo an error
> > }else{
> > proceed with renaming the file
> > }
> >
> > The er
Do You Know java mail list?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yes, $HTTP_POST_FILES is depricated, but it still works in PHP 4.
"John Taylor-Johnston" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> $HTTP_POST_FILES as opposed to $_FILES is older syntax? $HTTP_POST_FILES
is still compliant?
> John
>
--
PHP General Mailing List (http://www.p
On Friday 07 March 2003 03:28, Amanda McComb wrote:
> Well, I have a statement that says:
>
> if ([EMAIL PROTECTED]($photo, $long_path . "speakers/" . $photo_name)) {
> echo an error
> }else{
> proceed with renaming the file
> }
The copy() function allows you to specify a d
You could do it reading back to front the way you propose but I think it
will work much better in a proper for loop.
// the number of elements in the array.
$num_lines = count($file);
// the line we want to start the loop at.
if ($num_lines > 10)
$start_line = $num_lines - 10;
else
$start
> Well, I have a statement that says:
>
> if ([EMAIL PROTECTED]($photo, $long_path . "speakers/" . $photo_name)) {
> echo an error
> }else{
> proceed with renaming the file
> }
>
> The error that is echoed after the copy is the one that pops up. So, it
> could be some other problem,
Well, I have a statement that says:
if ([EMAIL PROTECTED]($photo, $long_path . "speakers/" . $photo_name)) {
echo an error
}else{
proceed with renaming the file
}
The error that is echoed after the copy is the one that pops up. So, it
could be some other problem, but
How to grab the last -n lines from a data file and display the stored data
Only the the last 10 line numbers coming back when I echo $i
How do I get the list($adnr, $user, $date, $listed to catch the datafields
datafile looks like
23|Werner|LastN|Street|etc|etc.|etc||
24|Veronika
/
How to grab the last -n lines from a data file and display the stored data
Only the the last 10 line numbers coming back when I echo $i
How do I get the list($adnr, $user, $date, $listed to catch the datafields
datafile looks like
23|Werner|LastN|Street|etc|etc.|etc||
24|Veronika
/
How to grab the last -n lines from a data file and display the stored data
Only the the last 10 line numbers coming back when I echo $i
How do I get the list($adnr, $user, $date, $listed to catch the datafields
datafile looks like
23|Werner|LastN|Street|etc|etc.|etc||
24|Veronika
/
How to grab the last -n lines from a data file and display the stored data
Only the the last 10 line numbers coming back when I echo $i
How do I get the list($adnr, $user, $date, $listed to catch the datafields
datafile looks like
23|Werner|LastN|Street|etc|etc.|etc||
24|Veronika
/
What do you mean by "fails at the copy"? Have you verified that the
filename and path you're copying to is valid? Otherwise, if the filename
that is failing is consistently the same, and if it's attempting to
overwrite an existing file, it could be a permissions problem. Just a
couple of guesse
Yes I did all what you suggested !
tried all value carrieres and none has a value
as well tried print_r($line); and it gives me the last random line number
from 10 random line numbers displayed already if I use $line
The sdcript dosn't grab the line only the random numbers are ready
Can somebody
$HTTP_POST_FILES as opposed to $_FILES is older syntax? $HTTP_POST_FILES is still
compliant?
John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Nifty. To share my finding ...
Thanks,
John
Upload File
C:\WINDOWS\Bureau\microweb\ERIC.TXT
Read this file:
Upload Results
Your file contained:
\n";
echo "$fileContents\n";
echo "\n";
#echo ($fileContents);
?>
file_uploads = 1
upload_max_filesize = 2M
upload_tm
I've searched all over for the answer to this problem.. but haven't
found anything..
I have a script that i use to upload files to a webserver and download
them via my phone..
problem is, the files end up being about twice the size of the original
file..
for example,i upload a midi that
Arijit,
Are you clicking on the button or pressing on a field to send the data?
AFAIK, if you click, it will set the var. If you just press , it will submit
the form, but won't set the var. I personally use a hidden var, and I check for that
one.
HTH.
--
Un gran saludo/Big regards...
Artur
have the file download in a popup window.
after the down load the window will be gone.
Then you don't have to worry about the refreshing of the main window.
Jim
- Original Message -
From: "David Miller" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 8:30 AM
Su
You wouldn't by chance be using $PHP_SELF as the action field of the form?
- Kevin
- Original Message -
From: "Arijit Chaudhuri" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 10:56 AM
Subject: [PHP] Pages refresh on submission on RedHat Server - POST problem
Jody,
on "frommail.php":
Depending on your version of PHP I would guess you are running PHP 4.2
or greater with register_globals = off.
That would create the errors that you are getting:
Notice: Undefined variable: Name
To get around this error Use this $_GET["Name"] this should return the
v
Its a rather strange thing. I tested all my pages on my Win2000-Apache
configuration and uploaded them to my clients RedHat server. There, on
submission, all pages just refresh themselves. All my forms are set to
submit to the same page and I check in the beginning for the submit button
variable. I
The files go to different directories, but I checked the permissions on
all of the directories, and they are all '777'. I am able to upload
files, so I think the directory is ok.
The server is unix.
I am going to ask my boss to send me the files he is trying to upload to
see if the files are t
Hi,
I recently upgraded PHP to version 4.3.1, however I have some problems with
it. When I open some PHP files it shouts garbage at me + some html or just a
blank screen, when i look at the file on the server nothing has changed, I
already tried uploading the files to another location, keep gettin
1 - 100 of 156 matches
Mail list logo