On 06-Jul-01 McShen wrote:
where are u guys?
I'm sorry, I've gone insane, please leave your message and number at the tone.
I will return your call as soon as i get back.
... BEEP!
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So
Hi2u ReDucTor
Chris TunkeyMicket Watford
TunkeyMicket Productions
www.tunkeymicket.com
- Original Message -
From: ReDucTor [EMAIL PROTECTED]
To: McShen [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, July 05, 2001 11:13 PM
Subject: Re: [PHP]
You mean I'm not here?
- Original Message -
From: Don Read [EMAIL PROTECTED]
To: McShen [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 2:32 AM
Subject: RE: [PHP] testing
On 06-Jul-01 McShen wrote:
where are u guys?
I'm sorry, I've gone insane, please leave
profiles?
- Original Message -
From: Mike Gifford [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 2:06 AM
Subject: [PHP] Bibliography Profiles Directory - Looking for Existing GPL
Apps
Hello,
I'm looking to see if someone out there has already developed a
Dear all,
Is there anybody know how to upload a file gif or jpg from a form into Oracle database?
I am very keen to solve that problem. Please show me soon.
Thanks you very much.
Best regards,
BaoDuy
Hey, how is micket pro going?
- Original Message -
From: Chris TunkeyMicket Watford [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 4:41 PM
Subject: Re: [PHP] testing
Hi2u ReDucTor
Chris TunkeyMicket Watford
TunkeyMicket
Was 100% done, now 70% done as a hard-drive crash set me back a bit...
Chris TunkeyMicket Watford
TunkeyMicket Productions
www.tunkeymicket.com
- Original Message -
From: ReDucTor [EMAIL PROTECTED]
To: Chris TunkeyMicket Watford [EMAIL PROTECTED]
Cc:
I've installed Apache 1.3.6 and PHP 4.0.6 and it
works. But if I load an extension in the php.ini
Apache says abnormal program termination.
=
Linux...
Because it works.
__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
Mind sending me a copy?
- Original Message -
From: Chris TunkeyMicket Watford [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 5:10 PM
Subject: Re: [PHP] testing
Was 100% done, now 70% done as a hard-drive crash set me back a bit...
Chris TunkeyMicket Watford
You probably want to make statistics for web pages. The most common way
to do that is to use a PHP script that outputs an image and writes to a
database some data. The code may look like this:
/** stat.php /
?
$query = INSERT INTO stats
(id,
Hi,
I've created a site where users can upload photos and specify which other
users are allowed to view them using PHP session management. now I have
alittle problem in the post-upload page, script creates a temporary copy of
the uploaded image with a name the same as user's session ID, and puts
if you are going to use a cron job and you haven't got 'php as CGI' then
use something like below and save it in your crod_daily or hourly
#! /bin/sh
wget -q -c http://my.domain/phpfile.php3 /dev/null
Ajdin
On Thu, 5 Jul 2001, Marty Landman wrote:
At 08:41 am 7/5/01 -0700, Oliver Hotz
Hi All,
i'm currently writing a debugging lib in PHP and i would like to find
the number of the line in my script
when i made an
myfile.php
1 ?php
2 echo i'm on line $NUMBER_LINE\n;
3 echo i'm on line $NUMBER_LINE\n;
4 ?
would give :
i'm on line 2
i'm on line 3
it perhaps exists because
That's easy :)
Use __LINE__ !
example:
1 ?
2 echo Current line is: .__LINE__;
3 ?
--- Emmanuel FAIVRE [EMAIL PROTECTED] wrote:
Hi All,
i'm currently writing a debugging lib in PHP and i
would like to find
the number of the line in my script
when i made an
myfile.php
1 ?php
2 echo
get editplus at editplus.com great program, has syntax highlighting,
numbers, auto complete, everything
- James ReDucTor Mitchell
- Original Message -
From: Emmanuel FAIVRE [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 6:19 PM
Subject: [PHP] Number of the line
many thanks.
i settled for fgetc and checking for a NULL (ascii 0)
Steve
-Original Message-
From: David George [mailto:[EMAIL PROTECTED]]
Sent: 05 July 2001 21:50
To: Justin Farnsworth
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Socket Madness
Justin Farnsworth wrote:
You could also use phpcoder, if you're working with M$ windows.
http://www.phpide.de
It is freeware and currently still in development, but it's working quite
fine. I use it when programming php in windows, under linux I still use Gvim.
Marc van Duivenvoorde
At 06:37 PM 7/6/2001 +1000,
On Friday 06 July 2001 10:19, Emmanuel FAIVRE wrote:
Hi All,
i'm currently writing a debugging lib in PHP and i would like to find
the number of the line in my script
when i made an
myfile.php
1 ?php
2 echo i'm on line $NUMBER_LINE\n;
3 echo i'm on line $NUMBER_LINE\n;
echo I'm in
I got a data file containing this line:
$ 1'000'000.-
Then I read and echo this line
$fp = fopen ( $sFilename,r);
$sData = fgets ( $fp, 1000 ) )
echo $sData
Now what came out is
$ 1\'000\'000.-
I tried to get rid of these slashes with
ereg_replace( \\', ', $sData );
string stripslashes (string str)
Returns a string with backslashes stripped off. (\' becomes ' and so on.)
Double backslashes are made into a single backslash.
Steve
-Original Message-
From: Andy [mailto:[EMAIL PROTECTED]]
Sent: 06 July 2001 10:29
To: [EMAIL PROTECTED]
Subject:
On Fri, Jul 06, 2001 at 11:28:38AM +0200, Andy wrote:
I got a data file containing this line:
$ 1'000'000.-
Then I read and echo this line
$fp = fopen ( $sFilename,r);
$sData = fgets ( $fp, 1000 ) )
echo $sData
Now what came out is
$ 1\'000\'000.-
I tried to
Or if yu9o *really* want to learn reg-ex's then I can highly recommed
Mastering Regular Expressions by O'Reilly press starts from nothing
and by the end you'll find them easy as can be
HTH
- Original Message -
From: Christian Reiniger [EMAIL PROTECTED]
To: Mick Foster [EMAIL
On Thursday 05 July 2001 19:33, Mick Foster wrote:
where can I find a good documentatio on regular expressions?
I´m desperate in need of it...
thanks for your time
http://php.net/manual/en/pcre.pattern.syntax.php
And if you need an intro look through phpbuilder.com.
--
Christian Reiniger
Emmanuel FAIVRE wrote:
i'm currently writing a debugging lib in PHP and i would like to find
the number of the line in my script
1 ?php
2 echo i'm on line $NUMBER_LINE\n;
3 echo i'm on line $NUMBER_LINE\n;
4 ?
It's __LINE__, I think.
regards
Wagner
--
Isn't it strange? The same people
have a look here :
http://www.php.net/manual/en/function.ocinewdescriptor.php
second example should answer all your questions...
sebastian
-Ursprüngliche Nachricht-
Von: Duy B [mailto:[EMAIL PROTECTED]]
Gesendet: Samstag, 9. Januar 1999 00:16
An: [EMAIL PROTECTED]
Betreff: [PHP]
On Fri, Jul 06, 2001 at 11:38:48AM +0100, Neil Kimber wrote:
We have a nice PHP framework that handles all of of our interactions with
Oracle via OCI calls. It works beautifully and gives us no problems.
However, the one thing that we cannot get working is the calling of an
Oracle stored
I'm trying to make a small browser and screen resolution script for my
site, the browser part isn't a problem, but I can't find a function for
screen resolutions, does anyone know whether such a function exists.
Thanks,
Marc van Duivenvoorde
--
PHP General Mailing List
I think you have to do it with javascript (being client side). But thats
all i know. ;)
On Fri, 6 Jul 2001, Marc van Duivenvoorde wrote:
I'm trying to make a small browser and screen resolution script for my
site, the browser part isn't a problem, but I can't find a function for
screen
I know I can do it with javascript, but if possible I'd like to do it with php.
Marc van Duivenvoorde
At 02:12 PM 7/6/2001 +0300, you wrote:
JavaScript
-Original Message-
From: Marc van Duivenvoorde [mailto:[EMAIL PROTECTED]]
Sent: 6 iulie 2001 14:18
To: Php general lijst
Hi Folks,
I got a problem with an asynochrnous call of another program within a
php-script:
If the php-script is called a second time, WITH a session (using cookies) it
is blocked
untill the command is finished. (This happens even if I just call a
different script, that uses
the session)
It
The browser detection etc. capabilities all come from the HTTP_USER_AGENT
variable.. from this it is possible to interpret browser, platform and a
number of other things. Unfortunately screen resolution is not one of these.
PHP itself has no way of detecting anything about the client, only what
Marc van Duivenvoorde wrote:
I know I can do it with javascript, but if possible I'd like to do it with php.
-
Then have PHP write out the necessary javascript. There is, obviously,
no way for PHP, on the server side, to know what the screen resolution
is of a client, until
While we are talking about JavaScript, do you know of any postlist like
this one I can subscribe to? I have been looking for it but not found
any (I know of lot of websites but without this).
Regards,
Sumarlidi Einar Dadason
SED - Graphic Design
--
On Wed, 4 Jul 2001, Richard Kurth wrote:
I have no try, but..
input type='checkbox' name='interest' value='basic'
input type='checkbox' name='interest3' value='Internet access '
input type='checkbox' name='interest1' value='pro'
input type='checkbox' name='interest4' value='domain name'
input
hi,
is it possible to convert a mp3 file (for example
190kbps) to a mp3 file with 128kbps or less ?
exec()
system()
To expand upon that previous answer.. sort of. PHP can't, but if you can
find a command line utility to perform the conversion (sorry, I don't know
any of hand) then PHP can
Hi all,
at this moment I'm debugging a site for a customer.
At some weird moments we get this error
Fatal error: Internal Zend error - Missing class information for in
classes/sql.class on line 4
The file itself is a class which we use for connect to the mysql.
It get's some variables for the
Sorry for being so vague in my last message.
Let's say you want to hilight 100 people (say best atheletes, coders, what have
you). You want a brief profile of this person. Name, location, languages,
picture, areas of interest, etc..
Something so that you can get a sense of who these folks
A short article (http://www.zez.org/article/articleview/69/) describing
a couple of the most common security issues in PHP scripts are available
at http://zez.org. The article also offers short and helpful tips on
avoiding the problems.
--
Paul K Egell-Johnsen
zez.org: about code
http://zez.org/
-help
--
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 PROTECTED]
To check if a type checkbox variable has been set use
isset() i.e.
if (
isset($interest)
or isset($interest2)
or isset($interest3)
or isset($interest4)
or isset($interest1)
)
{
// Everthing is ok
} else {
$error = .
)
This should do exactly what you want, and
Romeo Manzur wrote:
hi, I want to know how could I save a javascript variable on a php
variable???
Thanks...
It depends how the user will get to the php page:
1. Form
If the user is about to submit a form and you want some
Javascript variable from
your page to end up as a php variable
mysql client will read from standard input, so you can just
pipe in the sql
e.g.
echo insert into . ; | mysql -p -u root test
or from a shell script you can use here is syntax e.g.
mysql -p -u root test endmysql
insert into
endmysql
Johan Vikerskog (ECS) wrote:
If i want to
Question?
- Original Message -
From: Peter Mead [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 9:52 AM
Subject: [PHP] -help
-help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Hi all,
I am in desperate need for a solution to HTML text fields not storing new
lines. I'm storing news articles in a database but all the text just ends up
in a big block because it ignores line breaks. Is thre a way around this
without having to upload text files?
Thanks,
Mat
--
PHP
Hello,
I am in the need to do the following:
A web form in which A user clicks on a timer button. The after a certian
amount of time the click a end timer button and the time is logged to a
mysql dbase. ANyone know how I could go about this. I was thinking I could
store the start time in a
That sounds more client side...maybe javascript.
Tyler
- Original Message -
From: James W Greene [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 10:02 AM
Subject: [PHP] Question
Hello,
I am in the need to do the following:
A web form in which A user clicks
Have you tried putting the newline character (\n) into your html? That
works great for me. My only problem is that the output from an XSL
transformation has all the line breaks stripped out...
- Original Message -
From: Mat Marlow [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday,
I'm no expert by any means, but couldn't you set a variable=now();
then when the user clicks again, set a variable2=now();
then subtract the difference and store the result?
Clayton Dukes
CCNA, CCDA, CCDP, CCNP
(c) 904.477.7825
(h) 904.292.1881
Download Free Essays, Term Papers and Cisco
Is there a performance benefit or other reason to prefer including files or
using functions that write the same contents? For instance, on my pages I
have an number of includes for header, main nav, footer, random quote. If I
need to pass variables to one of them I just set the variable right
Hi,
Reference : May we have your permission ?
A visitor to one of our 60 Topical sites has recommended
we contact you, to include your business in the Only-Yellow-Pages Directory.
The information they have provided is :
Email: [EMAIL PROTECTED]
URL : e-gineer.com
Category :
Okay there is a file called global.inc
?php
// display a list from the DB
function list_of_maps () {
db_connect ();
$sql = SELECT mapname,rowid FROM maps;
$result = mysql_query($sql);
while ($row = mysql_fetch_row ($result)) {
return a
Hi list members!
I'm having a strange problem here regarding cookies. First let me explain
the scenery:
I'm developing a site that have a login system. I'm using PHP , MYSQL and
APACHE under MS windows 98 SE. So, when the user login into the first page,
I set up 2 cookies, one with his name
instead of returning that line, put it into some variable... like:
while ($row = mysql_fetch_row ($result)) {
$map_list .= a href='viewonly.php3?mapid=$row[1]'$row[0]/abr; }
}
return $map_list;
- Original Message -
From: [EMAIL PROTECTED]
To: 'Php-General (E-Mail) [EMAIL PROTECTED]
http://www.fedex.com/us/ebusiness/ecommerce/shipapi.html
--- Brad Hubbard [EMAIL PROTECTED] wrote:
On Fri, 6 Jul 2001 02:10, Daniel Guerrier wrote:
The FED Es api suite says tat windows is a
requirement.
URL?
Cheers,
Brad
--
Brad Hubbard
Congo Systems
12 Northgate Drive,
Ahh, dunno about that at all
- Original Message -
From: Mike Gifford [EMAIL PROTECTED]
To: Chris Anderson [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 9:41 AM
Subject: Re: [PHP] Bibliography Profiles Directory - Looking for Existing
GPL Apps
Sorry for being so
I have to use addslashes on a string of mine so I can use it in a javascript
function, so that when a link is clicked, a html textarea box is populated
with that string.
The problem I have is that if there are line breaks in the string, the
br's seem to get created when addslashes is run on the
If you want to manipulate PNG or JPEG images, you need to make sure you have
the PNG and JPEG libraries, and recompile PHP with GD as before, and
adding --with-png-dir=/path/to/pnglib, --with-jpeg-dir=/path/to/jpeglib
For the complete list of compilation options, see
Hi,
I need to get the following working on windows with IIS:
? include(http://www.php.net;); ?
I know, it's working on unix, but it creates an error message on IIS.
Is there a patch, which enables this feature on IIS?
(I do develop my webpages on a windows system, later, they
are hosted on
The syntax to do this in Transact SQL would be,
Delete From notes where location in (select rowid from locations where map
= @MapID)
Delete From Locations Where Map = @MapID
Delete From Maps Where RowID = @MapID
I dont imagine that MySQL would be that different, although I have a nagging
on 7/6/01 11:36 AM, rick at [EMAIL PROTECTED] wrote:
while ($row = mysql_fetch_row ($result)) {
$map_list .= a href='viewonly.php3?mapid=$row[1]'$row[0]/abr; }
}
return $map_list;
Thanks Rick! This worked great.
I guess I'm right in assuming that all you can get back from a function is
Here's how I see things:
say http://mydom.com/cgi-bin/dynsite.pl is the thing that generates the
html/php code. Make http://mydom.com/index.php contain just this line:
? include (http://mydom.com/cgi-bin/dynsite.pl;) ?
This works effectively as a include-virtual SSI directive: it reads
i can't seem to access certain ports, through a nat program i have setup on the
computer here with the net, but i was thinking i could use something like socks,
because i want to setup some fsockopen() stuff...but i can't use it on the ports i
want, just frezzez...works over the lan fine, and
Hi!
Still new on PHP, converting from vb$cript, I wonder how I do a
redirect...
In vbscript:
%
response.redirect(page.extension)
%
In PHP???
Sincerely
Victor
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
sounds like a firewall issue to me -- do you have a firewall in between your
computer and your 'net connection? Might run a port scan on your default
gateway (which is likely your firewall if you have one) to see what ports
it's allowing inbound.
Alternatively, you could have a router that has
Hi!
Still new on PHP, converting from vb$cript, I wonder how I do a
redirect...
In vbscript:
%
response.redirect(page.extension)
%
In PHP???
Sincerely
Victor
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Header(Location: whereveryouwanttogo.html);
On Fri, 6 Jul 2001, [iso-8859-1] Victor Spång Arthursson wrote:
Hi!
Still new on PHP, converting from vb$cript, I wonder how I do a
redirect...
In vbscript:
%
response.redirect(page.extension)
%
In PHP???
Sincerely
Victor
--
PHP
maybe i don't undestand correctly but try:
$string = str_replace(br,\\n,$string);
i.e escape the escape character \\n
- Original Message -
From: Chad Day [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 4:38 PM
Subject: [PHP] addslashes problem ..
I have to use
look in manual for HEADER and LOCATION
- Original Message -
From: Vicor Spång Arthursson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 11:43 AM
Subject: [PHP] Redirect
Hi!
Still new on PHP, converting from vb$cript, I wonder how I do a
redirect...
In
what's the OS?
- Original Message -
From: ReDucTor [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 11:34 AM
Subject: [PHP] hey, got a question
i can't seem to access certain ports, through a nat program i have setup on
the computer here with the net, but i was
no, go away
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 9:18 AM
Subject: [PHP] Re : Recommendation for - FREE Yellow Page entry
Hi,
Reference : May we have your permission ?
A visitor to one of our 60 Topical sites has recommended
It's just a port that isn't open on the NAT, i have attempted to open it,
just isn't opening, but i want to know if it is possible to use Socks in PHP
- Original Message -
From: Kurt Lieber [EMAIL PROTECTED]
To: ReDucTor [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Saturday, July 07, 2001
Windows
- Original Message -
From: Christopher Allen [EMAIL PROTECTED]
To: ReDucTor [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 2:45 AM
Subject: Re: [PHP] hey, got a question
what's the OS?
- Original Message -
From: ReDucTor [EMAIL PROTECTED]
To:
hi Micha,
are you using the apache version 1.3.6-7? or just
1.3.6, can you tell me if you can see your
php4 load and add module in etc/httpd/conf/httpd.conf?
is that am having problems with this my php4.0.6 does not work
only when i change my php ext to php3 or php but not php4!!!
pls advise
I want to delete some lines
original:
a href=http://www.example.com/1.html; ABCD/a
gt; a href=www.example.com/title.html#1234Football/a
a href=http://www.example.com/2.html; BCDE/a
gt; a href=www.example.com/title.html#2345Tennis/a
a href=http://www.example.com/3.html; CDEF/a
gt; a
well theres your problem...winblows.lol
- Original Message -
From: ReDucTor [EMAIL PROTECTED]
To: Christopher Allen [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 11:58 AM
Subject: Re: [PHP] hey, got a question
Windows
- Original Message -
From:
nothing wrong with windows
- Original Message -
From: Christopher Allen [EMAIL PROTECTED]
To: ReDucTor [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 3:21 AM
Subject: Re: [PHP] hey, got a question
well theres your problem...winblows.lol
- Original
Doesn't work if you put ++ after the variable?
1 ?php
2 echo i'm on line $NUMBER_LINE++\n;
3 echo i'm on line $NUMBER_LINE++\n;
4 ?
Or maybe:
echo i'm on line
.$NUMBER_LINE++
.\n;
--
Julio Nobrega.
A hora está chegando:
http://sourceforge.net/projects/toca
I was curious if there was any custom tag support like jsp or cold fusion in
php (or outside libraries). I'm looking at trying to make re-usuable
components and want to use something more than including simple classes or
function calls.
Thanks for your time,
--
PHP General Mailing List
Hi, I don't know what is exactly what you want to do, but I have a page with a
textarea tag, and a mySQL database with a TEXT field, that way I can use newline
breaks.
Bye.
On Fri, Jul 06, 2001 at 04:06:58PM +0100, Mat Marlow wrote:
Hi all,
I am in desperate need for a solution to HTML text
I just installed a fresh RH 7.1 server with compiled apache and php 4.0.6
--
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 PROTECTED]
Sorry...
I just installed a fresh RH 7.1 server with compiled apache 1.3.16 and php
4.0.6
if I make a change on a page it doesn't show
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
Hi Victor!
On Fri, 06 Jul 2001, Victor Spång Arthursson wrote:
Hi!
Still new on PHP, converting from vb$cript, I wonder how I do a
redirect...
In vbscript:
%
response.redirect(page.extension)
%
In PHP???
$response-redirect(page);
where:
class Response {
function
Hi,
I'm trying to write data to a file but for some reason it will not store numbers in
the file...Here's the code I'm using...(as an example)
?php
$fp = fopen(./data.txt, w+);
$counter = 0;
while ($counter 6)
{
fwrite($fp, $counter . \n);
$counter = $counter +1;
}
fclose ($fp);
?
Thanks
I'm trying to pull a string from a database to use in a javascript
function.. but it's doing line breaks on me, which in turn messes up the
javascript.
The string in the mysql db is like:
kjdsakjadkbrskjdksbrbrkjkdfjdfkjfd
When I pull it out, it becomes:
kjdsakjadk
br
skjdks
br
br
kjkdfjdfkjfd
check the browser cache settings.
for some bizarre reason, almost every browser i've seen
has the default option set to cache everything and never
look for updates
-Original Message-
From: David OBrien [mailto:[EMAIL PROTECTED]]
Subject: [PHP] Something weird
Sorry...
I
I don't see anything wrong with the code. Does this work:
?php
$fp = fopen(./data.txt, w+);
$counter = 0;
for($counter = 0; $counter 6; $counter++)
{
fwrite($fp, $counter . \n);
}
fclose ($fp);
?
- Original Message -
From: James Bartlett [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
nope...
The 'new line' tages are printed inside the file but not the values produced by the
counter...
- Original Message -
From: Chris Anderson
To: James Bartlett ; [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 7:25 PM
Subject: Re: [PHP] Problem writting to file...
I
Half the message didn't get sent ...
If I manually do a apachectl restart the page updates with the correct
changes on it
the other 3 apache / php servers I have all work correctly just this one on
7.1 the rest are 6.2 redhat installs.
-Dave
At 02:04 PM 7/6/2001 -0400, David OBrien wrote:
Any errors being given to you?
Tyler
- Original Message -
From: James Bartlett [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 1:15 PM
Subject: [PHP] Problem writting to file...
Hi,
I'm trying to write data to a file but for some reason it will not store
numbers
Maybe:
$array = explode(br, $string);
foreach ($array as $key = $value) {
echo $value;
}
Would separate the string by br's and print all in one line.
--
Julio Nobrega.
A hora está chegando:
http://sourceforge.net/projects/toca
Chad Day [EMAIL PROTECTED] wrote in message
[EMAIL
for some bizarre reason, almost every browser i've seen
has the default option set to cache everything and never
look for updates
Connection speed. Cached pages load faster
--
Julio Nobrega.
A hora está chegando:
http://sourceforge.net/projects/toca
--
PHP General Mailing
No errors at all...
- Original Message -
From: Tyler Longren
To: php-general ; James Bartlett
Sent: Friday, July 06, 2001 7:29 PM
Subject: Re: [PHP] Problem writting to file...
Any errors being given to you?
Tyler
- Original Message -
From: James Bartlett
What happens when the code is
?php
error_reporting(15);
$fp = fopen(./data.txt, w+);
$counter = 0;
while ($counter 6)
{
fwrite($fp, Counter is = . $counter . \n);
$counter = $counter +1;
}
fclose ($fp);
?
- Original Message -
From: James Bartlett [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
try this
?php
$fp = fopen(./data.txt, w+);
$counter = 0;
while ($counter 6)
{
$counter++;
fwrite($fp, $counter . \n);
}
fclose ($fp);
?
Jerry Lake
Interface Engineering Technician
Europa Communications - http://www.europa.com
Pacifier Online - http://www.pacifier.com
-Original
When I use that code I get the following...
Counter is = 0
Counter is = 1
Counter is = 2
Counter is = 3
Counter is = 4
Counter is = 5
However if you remove the Counter is = part then once again no numbers are written,
only the 'new line' symbols...
- Original Message -
From:
I get the same result...
- Original Message -
From: Jerry Lake
To: [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 7:48 PM
Subject: RE: [PHP] Problem writting to file...
try this
?php
$fp = fopen(./data.txt, w+);
$counter = 0;
while ($counter 6)
{
$counter++;
Oooo, then make it
fwrite($fp, $counter\n);
-Original Message-
From: James Bartlett [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 06, 2001 11:46 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Problem writting to file...
When I use that code I get the following...
Counter is = 0
Counter
When using sessions with forms, a user presses the back button and gets the
message: Page has Expired. How can I get around this happening? I have to
use sessions because I store many different variables at a time for a
shopping cart. Forms are submitted depending on what item the user is
It doesnt like that either...
- Original Message -
From: Chadwick, Russell
To: '[EMAIL PROTECTED]'
Sent: Friday, July 06, 2001 7:51 PM
Subject: RE: [PHP] Problem writting to file...
Oooo, then make it
fwrite($fp, $counter\n);
-Original Message-
From:
maybe it's just me, but caches drive me nuts...
i know... but IMO, i'll take a slight performance
hit any day to make sure i get the most recent page...
-Original Message-
From: Inércia Sensorial [mailto:[EMAIL PROTECTED]]
Subject: Re: [PHP] Something weird
for some bizarre
1 - 100 of 141 matches
Mail list logo