On Thursday 18 July 2002 13:14, vins wrote:
How do i debug.
Thats why i asked
echo/print out key variables at strategic points in the code. Ensure that they
contain what you expect them to contain.
--
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems
one method that i have found works for me (albeit not
so pretty, neat, or concise) is to pass js variables
through a url request. Ok follow me for a little if
you will (it's bulky, but it works!)
1) user loads a page (e.g.
your-domain.com/index.phtml)
that page contains the javascript which
I am planning to setup a web server of using RedHat Linux. The purpose
of the web server is to provide product information for only registered
customers.
I plan to send the HASP parallel port keylock to the registered
customers.
Can I use PHP to monitor the status HASP parallel port keylock in
Has anyone had experience with imap_mail_move or imap_mail_copy?
Can they copy or move a message from one mail server to another or only
into a subfolder on the same server?
Same server - it has parameter $imapcon which can be assumed as
connection to one server only.
Imap functions is just
Simple.. just edit your php.ini file in your windows
directory. Search for register_globals .. it will
have Off in front of it.. switch it to On
T. Edison jr.
--- ram friend [EMAIL PROTECTED] wrote:
hello,
I have just installed apache+php4, but my php can
not get values from form?
what's
yeah but your check i get this funny little square in note pad.
it's a line carier... but if i take it out then everything is one line which
i don't want.
and if i take it out and then put it in again i'm back to sqaure one.
- Original Message -
From: Jason Wong [EMAIL PROTECTED]
I have a simple script that attempts to upload a file and save it on the
server. When I click send file I get this error message 'Warning: Unable to
open '' for reading: No such file or directory in /var/www/html/upload.php
on line 5
Couldn't copy the file!'. The file is being uploaded from a Win
Try using just '\n' not '\r\n' as notepad doesn't understand carriage
returns, hence the funny little square.
- Original Message -
From: Vincent Kruger [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 18, 2002 9:11 AM
Subject: Re: [PHP] Re: Binary Files :: They Keep Adding
Michael a écrit :
Well it could have been it, but it doesn't work neither trying to set
the ErrorDocument into a .htaccess file.
The problem is I am not even sure where is the trouble, and if it should
work or not (I guess it should), so I don't know exactly where to ask,
the dev
Hi
I'm doing some reading on sessions and how it works etc, and have a
concern (which is probably fed by my ignorance on the topic).
The couple of simple session examples I have found in the PHP/MySQL
book by Luke Welling Laura Thompson gives a simple 3 page session
example where the session
From: Mark Colvin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 18, 2002 10:09 AM
-- upload.php --
?php
if ('img1' != ) {
This will allways be true! 'img1' is a string and will never be empty.
You probably mean if($img1 != )
However, I'm not sure this will
Hi!
Im looking for some class that alow me to draw an histogram, or a piechar, for display
statistics.
thx!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
From: Jose Morales [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 18, 2002 11:34 AM
Hi!
Im looking for some class that alow me to draw an histogram,
or a piechar, for display statistics.
thx!
http://www.hotscripts.com/PHP/Scripts_and_Programs/Graphs_and_Charts/
Regards
Joakim
On Thursday 18 July 2002 17:33, Jose Morales wrote:
Hi!
Im looking for some class that alow me to draw an histogram, or a piechar,
for display statistics.
www.phpclasses.org
also jpgraph
--
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
*
Taken straigh from the manual:
(http://www.php.net/manual/en/ref.session.php)
[quote]
There are two methods to propagate a session id:
- Cookies
- URL parameter
The session module supports both methods. Cookies are optimal, but since
they are not reliable (clients are not bound to accept
[Snip]
Can I use PHP to monitor the status HASP parallel port keylock in the
client side?
[/Snip]
No you can't. PHP is server-side and has no access to client machines. You
could _maybe_ do it with JavaScript and then pass on the info to PHP with a
redirect or something like that.
Regards
php-general Digest 18 Jul 2002 09:48:10 - Issue 1471
Topics (messages 108172 through 108232):
Re: Classes Constructor syntax
108172 by: Rad0s-³aw Gajewski
Running a PHP Script from UNIX Command Line?
108173 by: Zach Curtis
108174 by: B i g D o g
108195 by:
On Thursday 18 July 2002 17:39, [EMAIL PROTECTED] wrote:
Joakim, please don't take offence, I know you're being helpful but ...
Taken straigh from the manual:
(http://www.php.net/manual/en/ref.session.php)
[quote]
There are two methods to propagate a session id:
[snip]
... do we really
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 18, 2002 11:46 AM
Joakim, please don't take offence, I know you're being helpful but ...
None taken.
... do we really need quotes from the manual? You've already
given the pointer
which is sufficient in itself for any
Thanks
OK, I have checked my phpinfo(); and the *session.use_trans_sid* = 1 ;
*session.use_cookies =* On, so I'm not sure if I need to turn the
cookies bit off, but I would think it not to be necessary. ; So, I can't
see why the URL's aren't changed on my pages...
Now, something to
Hello,
Can i access my paralel or USB port with PHP server side?
Thomas omega Henning
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Iam trying to use my php file in a Linux machine.
#!/usr/local/bin/snmp_guard.php -q
?
$bat = snmpget(192.168.10.8, pub_likt, .1.3.6.1.4.1.2606.1.2.12.0);
$sum = snmpget(192.168.10.8, pub_likt, .1.3.6.1.4.1.2606.1.2.13.0);
$drift = snmpget(192.168.10.8, pub_likt, .1.3.6.1.4.1.2606.1.2.10.0);
In article [EMAIL PROTECTED], [EMAIL PROTECTED]
says...
Iam trying to use my php file in a Linux machine.
#!/usr/local/bin/snmp_guard.php -q
?
$bat = snmpget(192.168.10.8, pub_likt, .1.3.6.1.4.1.2606.1.2.12.0);
$sum = snmpget(192.168.10.8, pub_likt, .1.3.6.1.4.1.2606.1.2.13.0);
$drift
Joakim,
Thank you for your reply. I tried your example and get 'Possible file upload
attack: filename.' meaning that 'if
(is_uploaded_file($_FILES['img1']['tmp_name']))' returns false. I put a
couple of echo statements in before the if statement to check '$img1_name'
'$img1_size and '$img1_type'
Well it still is in GET method because the url does still exist with the
?plop=foobar but in case I want to use POST method (which I will as my
form has huge textarea) everything disappear.
Also this is a turn around I don't like, I would first understand why it
doesn't work, and if I can
on 18/07/02 7:39 PM, [EMAIL PROTECTED]
([EMAIL PROTECTED]) wrote:
PHP is capable of doing this transparently when compiled with
--enable-trans-sid. If you enable this option, relative URIs will be changed
to contain the session id automatically.
It's worth pointing out that enable-trans-sid
Matt a écrit :
Well it still is in GET method because the url does still exist with the
?plop=foobar but in case I want to use POST method (which I will as my
form has huge textarea) everything disappear.
Also this is a turn around I don't like, I would first understand why it
Wouldnt this work?
form name=myForm action=sendPage.php action=post
script language = javascript
function myFunc(){
var myJavaScriptVar = initialValue...
Do What Ever (manipulate myVar)...
document.myForm.fieldName.value = myJavaScriptVar;
/script
input type=hidden
Only if you write your own module.
Thomas \omega\ Henning wrote:
Hello,
Can i access my paralel or USB port with PHP server side?
Thomas omega Henning
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
Chris, thanks for describing your method. The reason I really dislike
Functions in PHP is because you have to pass every variable needed by a
function, even if that variable is global in the main script, which is a
pain in the ass when a function needs a long string of variables. It makes
From: Mark Colvin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 18, 2002 12:41 PM
To: [EMAIL PROTECTED]
Joakim,
Thank you for your reply. I tried your example and get
'Possible file upload
attack: filename.' meaning that 'if
(is_uploaded_file($_FILES['img1']['tmp_name']))' returns
No.
No. PHP runs on the server. It knows nothing of the client.
=C=
*
* Cal Evans
* The Virtual CIO
* http://www.calevans.com
*
-Original Message-
From: Thomas omega Henning [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 18, 2002 5:33 AM
To: [EMAIL PROTECTED]
Subject: [PHP]
Joakim,
Thanks again. $HTTP_POST did the trick. I did look through the archives
before posting but didn't come across this solution. I obviously didn't look
hard enough!
This e-mail is intended for the recipient only and
may contain
Hey, does anyone knows of a good PHP editor for windows. I have also
heard emacs is available for windows. Does anyone know where to download
it from?
Dasmeet
http://www.einfotimes.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
Hey, does anyone knows of a good PHP editor for windows. I have also
heard emacs is available for windows. Does anyone know where to download
it from?
Dasmeet
http://www.einfotimes.com
[/snip}
There are a few, but these two are the ones I see used most;
http://www.phpedit.com/ PHPEdit --
Hi,
the following code redirects www.usersite.mysite.biz to
www.mysite.biz/users/sites/usersite
the problem is when the 'www' is left out it doesn't work.
could someone help me to fix this?
many thanks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.[^.]+\.mysite\.biz$
If you mean the ports on the server, theoretically yes, if get the right
permissions set and figure out all the device settings.
Adam
[EMAIL PROTECTED]
On Thu, 2002-07-18 at 08:29, Cal Evans wrote:
No.
No. PHP runs on the server. It knows nothing of the client.
=C=
*
* Cal Evans
*
I'm really battling with this whole session thing.
My first impressions are that cookies are OK, and really helps to make
sessions workable and efficient, YET, from a developers point of view, I
always play devils advocate, and I'm wondering about those stubbourne
individuals out there who
Before I started to read up on sessions, I simply used my own form of
session management by sending all relevant variables either via URL or
via form fields to the subsequent pages. Obviously this method leaves a
bunch of holes as well, but I KNOW that my application is always pure
and
Anyone know of a quick script I can run to test the GD setup on my servers?
I have multiple servers that I need to test where phpinfo() reveals various
versions of the GD library. I can hack something together quickly if need
be, but I was hoping that the gurus of the list would have a test that
I am trying some code and it works except I get the following errors...
Warning: Undefined offset: 5 in
c:\www\htdocs\demos\havasuinternet\havasuinternet-lib.php on line 247
Warning: Undefined offset: 4 in
c:\www\htdocs\demos\havasuinternet\havasuinternet-lib.php on line 247
Warning: Undefined
Which line in the script you had provided to us is line 247?
Chris Crane [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I am trying some code and it works except I get the following errors...
Warning: Undefined offset: 5 in
247: list($H_Date, $H_Open, $H_High, $H_Low, $H_Close, $H_Volume) =
split(,, $Line);
Scott Fletcher [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Which line in the script you had provided to us is line 247?
Chris Crane [EMAIL PROTECTED] wrote in message
At 09:20 PM 7/17/02 -0500, Michael Sims wrote:
$superglobals = array(var1, var2, var3, var4, var5, ...);
Now inside the function you can do this:
function somefunction ($somevar) {
global $superglobals;
foreach($superglobals as $varname) {
global $$varname; //resolves to $var1,
On Thu, Jul 18, 2002 at 03:38:51PM +0200, PHPCoder wrote:
What are the general feeling out there amongst developers about the use
of cookies?
Cookies rely on client side. I never rely on the client for anything.
When it comes to examples of how to do things The Right Way, I say go
take a
I don't use cookies either due to the fact that some web browser block the
cookies and some web browser's bug that affected the cookie. For example,
if Internet Explorer have a bug with the cookie then it is gurantee that
you'll never find MS to have this bug fix in a few days. It could take 6
[snip]
Anyone know of a quick script I can run to test the GD setup on my servers?
I have multiple servers that I need to test where phpinfo() reveals various
versions of the GD library. I can hack something together quickly if need
be, but I was hoping that the gurus of the list would have a
Hi! I find it to be mind-boggling to try to make xml work with php and
curl. What do anyone here think of it?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
Hi! I find it to be mind-boggling to try to make xml work with php and
curl. What do anyone here think of it?
[/snip]
More details about the problem would be nice. How exactly do you want this
to work? I have had no problems with cURL and PHP.
Jay
What was the best thing before sliced
Hi all,
I just wanted to warn all those who post to the PHP newsgroups, and/or PHP
HTML forums, that spammers are harvesting email address from these groups.
If you want to avoid ending up on some spammers list, please consider using
a SpamTrap (throwaway email address) or maybe a service like
Well, I posted it the first time and no one responded so I figured the
subject did not interest anyone. I changed it. I am not sure how the third
one started.
But hey thanks for watching and giving you unwanted opinion.
Analysis Solutions [EMAIL PROTECTED] wrote in message
[EMAIL
On Thu, Jul 18, 2002 at 11:03:10AM -0400, Scott Fletcher wrote:
Hi! I find it to be mind-boggling to try to make xml work with php and
curl. What do anyone here think of it?
Well, I can offer help on the XML:
http://www.analysisandsolutions.com/code/phpxml.htm
--Dan
--
My guess is that there is no ',' in $Line, so split returns an array
with one variable, so list() warns you
parameter No. 1, 2 ,3 4 and 5 are not asigned any value.
Chris Crane wrote:
247: list($H_Date, $H_Open, $H_High, $H_Low, $H_Close, $H_Volume) =
split(,, $Line);
Scott Fletcher [EMAIL
In article 003d01c22e58$dcb45240$6601a8c0@yourwrjlo8t8dt,
[EMAIL PROTECTED] (Adrian Murphy) wrote:
the following code redirects www.usersite.mysite.biz to
www.mysite.biz/users/sites/usersite
the problem is when the 'www' is left out it doesn't work.
snip
RewriteEngine on
RewriteCond
Phpcoder [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I'm really battling with this whole session thing.
My first impressions are that cookies are OK, and really helps to make
sessions workable and efficient, YET, from a developers point of view, I
[..snip..]
On Thu, Jul 18, 2002 at 11:06:11AM -0400, Chris Crane wrote:
Well, I posted it the first time and no one responded so I figured the
subject did not interest anyone. I changed it. I am not sure how the third
one started.
We're all here volunteering, trying to help each other out. If you want
Cool! I'm just getting started on XML. I read the documentation about XML
and it doesn't look too hard. Unfortunately, it is written for the client
side script. So, I barely am starting writing the test script for the
server side and have it work with php and curl. At least, I know how to
More detail? I have successfully make the data transmission work through
php and curl without xml. I just barely gotten started on xml. I read the
documentation about how it work, but it is only for the client side. I'm
going to have to read some documentation and figure out how to use xml in
ftp://ftp.gnu.org/gnu/windows/emacs/latest
A helpful Emacs resource:
http://www.emacswiki.org/cgi-bin/wiki.pl
Be sure to download php-mode for Emacs, too!
http://sourceforge.net/projects/php-mode/
And PSGML if you do much with HTML/XHTML/XML:
http://www.lysator.liu.se/projects/about_psgml.html
Hey thank Dan, I will try this.
Does List waste lots of time and memory?
Normally, I create a function and global a bunch of variables to be used
later on the HTML/PHP file. After I global the variables I split the string
using the List function. I do that for stock quotes from YAHOO so I can
Ha!
They can have at it! If they are stupid enough to spam a bunch of
programmers and network people they deserve what they get.
Now it's *against the law* to harass spammers by tracking their malicious
activity back to it's source and sending virus after virus : ), or hacking
into their servers
I recently upgraded Apache to 1.3.26 and am currently configurating hte
httpd.conf. I noticed that
--snip--
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
--snip--
does not exist in this version as it does in the older version.
Is it now automatic with the
Apache 1.3.26
PHP 4.2.1 staticly built as a module.
The configuration in php.ini seems not to be used by httpd.
I've traced my httpd process and it opens the php.ini file in the expected
directory, but variables set in there don't take effect (e.g. engine=On,
display_errors=Off, etc.).
I had
Instead of Cookies, I use Sessions which is run on hte server side. So, I
use the
--snip--
$salt = strtoupper(md5(uniqid(rand(;
session_id($salt);
session_start();
header(Location: https://xxx.yyy.zzz/index.php?.SID.init_login=TRUE;);
--snip--
to create the identifer for an unique
ok here is what I came up with:
How's this?
function HistoricalStock($sym) {
$row = 1;
$Data =
fopen(http://table.finance.yahoo.com/table.csv?a=7b=1c=2002d=7e=17f=20
02s=$symy=0g=dignore=.csv,r);
print 'table width=100% border=0 cellspacing=1 cellpadding=0
bgcolor=#6699cctr bgcolor=#FF';
How can I look back Business Days.
I would like to go back from a certain date, like 7 business days. Is there
a simple way other then looping and checking for the day of the week?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Adrian Murphy wrote:
Hi,
the following code redirects www.usersite.mysite.biz to
www.mysite.biz/users/sites/usersite
the problem is when the 'www' is left out it doesn't work.
could someone help me to fix this?
many thanks
RewriteEngine on
RewriteCond %{HTTP_HOST}
Andre wrote:
Apache 1.3.26
PHP 4.2.1 staticly built as a module.
The configuration in php.ini seems not to be used by httpd.
I've traced my httpd process and it opens the php.ini file in the expected
directory, but variables set in there don't take effect (e.g. engine=On,
[snip]
How can I look back Business Days.
I would like to go back from a certain date, like 7 business days. Is there
a simple way other then looping and checking for the day of the week?
[/snip]
$sevendaysago = date(Y-m-d, mktime(date(h)-168));
This will give you the date exactly seven days
Awesome Scott... That's some wicked code...
Scott Fletcher [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Instead of Cookies, I use Sessions which is run on hte server side. So, I
use the
--snip--
$salt = strtoupper(md5(uniqid(rand(;
I am running into a situation where I need some serious help. My
environment is:
Workstation - W2k, Frontpage
Server - Cobalt RaQ4i, Linux, Apache
Problem: I need to access MySQL to display inventory information on the web
page. When I have modified the httpd.conf file to parse html files
I am running into a situation where I need some serious help. My
environment is:
Workstation - W2k, Frontpage
Server - Cobalt RaQ4i, Linux, Apache
Problem: I need to access MySQL to display inventory information on the web
page. When I have modified the httpd.conf file to parse html files
I am running into a situation where I need some serious help. My
environment is:
Workstation - W2k, Frontpage
Server - Cobalt RaQ4i, Linux, Apache
Problem: I need to access MySQL to display inventory information on the web
page. When I have modified the httpd.conf file to parse html files
I am running into a situation where I need some serious help. My
environment is:
Workstation - W2k, Frontpage
Server - Cobalt RaQ4i, Linux, Apache
Problem: I need to access MySQL to display inventory information on the web
page. When I have modified the httpd.conf file to parse html files
[snip]
I am running into a situation where I need some serious help. My
environment is:
Workstation - W2k, Frontpage
Server - Cobalt RaQ4i, Linux, Apache
Problem: I need to access MySQL to display inventory information on the web
page. When I have modified the httpd.conf file to parse html
Well, I have to have to it becuase my company is a credit report reseller.
I can't image if someone can easily break in. :-) As long as I don't work
for CIA or FBI then I'll be fine!
Kondwani Spike Mkandawire [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I have just installed apache+php4, but my php can not get
values from form?
what's wrong?
Before you can use the variables, you have to make the accessible to PHP.
Try putting this at the top of your welcome.php file:
?
extract($HTTP_POST_VARS);
?
--
The Health TV Channel,
sorry about last message
I want to get a list of the last 7 business days so I would have to loop
through this and get each day correct?
Jay Blanchard [EMAIL PROTECTED] wrote in message
001701c22e78$4494c970$8102a8c0@niigziuo4ohhdt">news:001701c22e78$4494c970$8102a8c0@niigziuo4ohhdt...
[snip]
on 18/07/02 11:38 PM, PHPCoder ([EMAIL PROTECTED]) wrote:
What are the general feeling out there amongst developers about the use
of cookies?
If you want to assure that you maintain session across the whole site,
appealing to the lowest common denominator, then hard code the SID to all
Keith Roberts [EMAIL PROTECTED] wrote in message
006401c22e78$a71723e0$48b5913f@Operator1">news:006401c22e78$a71723e0$48b5913f@Operator1...
I am running into a situation where I need some serious help. My
environment is:
Workstation - W2k, Frontpage
Server - Cobalt RaQ4i, Linux, Apache
What's the best way to check for an Associative Array? There is no
is_assoc() or similiar function listed in the manual (I don't think anyway).
I'm using mysql_fetch_array() and I want to foreach only the assoc. part of
the array without using mysql_fetch_assoc():
foreach ($arr as $key=$value)
On Thu, Jul 18, 2002 at 11:35:55AM -0400, Chris Crane wrote:
Hey thank Dan, I will try this.
Does List waste lots of time and memory?
It does if you don't need to do it.
Just put the data you really need into memory. Forget about the rest.
If you already have something in memory, don't
[snip]
sorry about last message
I want to get a list of the last 7 business days so I would have to loop
through this and get each day correct?
[/snip]
Yes, testing for Saturday and Sunday ...
Jay
Vampires Suck
*
* Want to meet other PHP developers *
* in
On Thu, Jul 18, 2002 at 12:55:34PM -0300, Andre wrote:
The configuration in php.ini seems not to be used by httpd.
Make a script with phpinfo() in it and examine which php.ini file is being
used. Sounds like you may be accessing the wrong file, even though you're
saying you're not.
I've
on 19/07/02 1:19 AM, Cord Schneider ([EMAIL PROTECTED]) wrote:
A number of people have offered their opinion why cookies are a bad idea. As
a developer new to PHP, if cookies are such a big a big no-no, how does one
do effective session management without storing anything client-side?? Bear
Try this:
while($row = mysql_fetch_assoc($result)) {
// code here
}
This way, the resulting array will ONLY be associative.
HTH!
Martin Clifford
Homepage: http://www.completesource.net
Developer's Forums: http://www.completesource.net/forums/
Henning Sittler [EMAIL PROTECTED] 07/18/02
On Thursday 18 July 2002 23:58, Scott Fletcher wrote:
I recently upgraded Apache to 1.3.26 and am currently configurating hte
httpd.conf. I noticed that
--snip--
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
--snip--
does not exist in this version as
Ya, except I want the whole array to exist (index and assoc. array), not
just the assoc. array. So, for the time being, I'll just do this:
foreach ($arr as $key=$value) {
if ( !is_int($key) ) { echo $key:$value; }
}
What is HTH ??
Henning Sittler
www.inscriber.com
Try this:
while($row
On Friday 19 July 2002 01:19, Martin Clifford wrote:
Try this:
while($row = mysql_fetch_assoc($result)) {
// code here
}
This way, the resulting array will ONLY be associative.
For some unknown reason the OP specifically does not want to use
mysql_fetch_assoc()!
I'm using
Oh well. And HTH means Hope to Help.
For some unknown reason the OP specifically does not want to use
mysql_fetch_assoc()!
Martin Clifford
Homepage: http://www.completesource.net
Developer's Forums: http://www.completesource.net/forums/
--
PHP General Mailing List (http://www.php.net/)
Thank you for everyone who helped me.
The problem was a php.ini file in the root (/) directory, PHP 4.2.1 was using
that file instead of the one configured
(--with-config-file-path=/usr/local/apache/conf).
-- Forwarding --
Subject: [PHP] php.ini problem
Date: Thu, 18 Jul
foreach ($row = mysql_fetch_array($result, MYSQL_ASSOC))
{
//...
}
Is this what you need?
http://www.php.net/manual/en/function.mysql-fetch-array.php
-Kevin
- Original Message -
From: Henning Sittler [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 18, 2002 10:57 AM
If you removed the
ErrorDocument 404 /phpinfo.php
from the apache conf (or reset it to original value), what happens? Do you
get a standard 404 not found error page?
Fabien Penso [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Matt a écrit :
Well it still
ðÒÉ×ÅÔ!
PHPCoder wrote:
application useless unless I code a plan B into my code; meaning I can
just as well NOT use cookies from the start...
catch 22 dejavu...
What are the general feeling out there amongst developers about the use
of cookies?
--snip--
I gather that
the alternative
At 12:57 PM -0400 7/18/02, Henning Sittler wrote:
What's the best way to check for an Associative Array? There is no
is_assoc() or similiar function listed in the manual (I don't think anyway).
No, because AFAIK all PHP arrays are associative; there is no
distinction between arrays hashes as
Can we reboot a linux server using a php page? And is it recommended?
Regards,
Harpreet Kaur
_
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com
--
PHP General Mailing List (http://www.php.net/)
On Thu, 18 Jul 2002, Harpreet Kaur wrote:
-
-Can we reboot a linux server using a php page?
Yes.
-And is it recommended?
No.
-
-Regards,
-Harpreet Kaur
-
-
-_
-Join the worlds largest e-mail service with MSN Hotmail.
I never heard of this php function, link(). Sound like a good function,
I'm going to have to look it up!
Thanks,
FletchSOD
Justin French [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
on 19/07/02 1:19 AM, Cord Schneider ([EMAIL PROTECTED]) wrote:
A number
This can be done using the exec() function, the php.net doc will explain how
it work. There are a few known problem as I can see if someone try to
reboot the Linux/Unix.
1) If the hacker break-in and take control of hte script. Who know what
could have happen.
2) If using encryption
ðÒÉ×ÅÔ!
Is there a way I can decide where to target my output from server side?
suppose my page has two iframes
+---++---+
! A !! b !
+---++---+
while executing a script that is called by A can I spawn another script
that will output to b? And no, I cant' use any Jscript, but I do know
from
1 - 100 of 228 matches
Mail list logo