n advance.
I'm using PHP 4.0.6 on Apache/1.3.20 and
sendmail -t -i. Just in case that helps.
Vincent
--
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]
ields($db, $tbl);
$columns = mysql_num_fields($fields);
for ($i = 0; $i < $columns; $i++) {
$fld = mysql_field_name($fields, $i);
$set .= "$fld='$".$fld."', ";
}
btw: mysql_query("UPDATE ..."); works and saves a
g the single quotes should do the trick.
Vincent
--
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]
I can think of no security reason why you would want to allow anyone to
display output from a command, but wouldnt want them to be able to assign
that output to a variable. Can someone explain a situation where that would
be useful? Arent any security concerns addressed by the safe_mode_exec_dir
o
implement a "stripcomment" script, that you run when you move your script
from your development server to your production server.
And anyway, this would not be significant, unless you recompile a custom PHP
version where you remove the comment parsing. This would be intereting if
your c
I don't know if this is a known bug or it's supposed to work like this,
but after randomly trying things, this finally worked:
DocumentRoot /home/interact/public_html
ServerName interact
ServerAlias www.interact.com *.interact.*
ErrorLog logs/interact-error_log
CustomLog logs/
Hello,
I am trying to resize a png file, my autograph ;-)
Good result thanks to gimp:
http://boxfly.free.fr/test/test1.jpg
Bad result with php:
http://boxfly.free.fr/test/test2.jpg
This is my PHP code to resize the autograph:
$newAuto = imagecreatetruecolor( $widthImgAu, $heightImgAu) ;
imagec
I have a similar question/problem. However, I want to use an external
"email template" as it were, so that the sales guys can edit it as they
like and simply shuffle the three variables around that they need
$username, $password, $code (either with or without the tags).
I don't want them mucking
> complaint about it, in fact...
Have you installed the recent PostgreSQL version 7.3 already? This new
version allows the use of ALTER TABLE much like you'd want it.
Vincent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm not even sure how to classify this...
Given:
Where $Enabled is either a 0 or 1 as read from a database ( TINYINT(1)
);
And
echo "action = ".$_POST[action]."";
if ($_POST[action] == "1" || $_POST[action] == "0")
echo = "UPDATE Company SET Enabled = ".!(intval($_POST[action]))."
WHERE Com
://cal007300.student.utwente.nl/atomicboard/
cheers,
- Vincent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Can someone tell me why I keep getting that error:
Parse error: parse error, unexpected $end in D:\Program Files\Apache
Group\Apache2\htdocs\proxy\acc_new.php on line 62
line 62 refers to
Thanks for your help
Vincent
Here is the content of acc_new.php
Account Management Tools - Add a new
This might help... Put this at the top of each page:
reset ($_POST);
while (list ($key, $val) = each ($_POST)) {
//echo "$key => $val\n";
$$key = $val;
}
You could do the same for $_GET if you need to as well.
DÆVID.
> -Original Message---
Why re-invent the wheel. There are plenty of these out there...
Two I suggest are
[1] mine... http://daevid.com/photo_album.phtml
And
[2] http://www.andymack.com/freescripts/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I've posted this a few weeks ago with no response. I want to use an
external
"email template" as it were, so that the sales guys can edit it as they
like and simply shuffle the variables around that they need
$username and $password (either with or without the tags).
I don't want them mucking aro
Benjamin, you are my father! Dude! That worked perfectly...
In case you all didn't understand what I was trying to do, attached are
some examples... This worked thanks to "Benjamin Vincent" ;-)
snip 'customer_email.php' --
Untit
I just use a simple Javascript function. I figure if it's remotely
close, then good, if not then it's going to be an invalid email address
most likely anyways:
function emailCheck(str) {
var at="@"
var dot="."
var lat=str.indexOf(at)
>
> > Can someone please help me with the code?
>
>$cols = array('#ff','#00ff00');
>$i = 0;
>while(your_loop_to_output_each_row) {
> echo '$row_data';
>}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
Agreed. Sessions are much more secure and convienient to use too. Since
it's not reliant on the client to have cookies enabled, that's another
benefit. Plus it's MUCH harder for a client to spoof/alter a session
variable if you use the $_SESSION['myvar']
> -Original Message-
> From: Chris
Is there a better way to do this in PHP? It seems that a single number
(key) and single name (value) would lend itself perfectly to an (indexed
or associative) array. I would think there is some PHP API call that I'm
unaware of that will just take the whole result set and stuff it into an
array for
How come I *can* do these commands:
$row = mysql_fetch_array($result,MYSQL_ASSOC);
while(list($myVariableName,$sqlFieldName)=each($row))
{ $$myVariableName = $sqlFieldName; }
But I can't do this command?
while(list($myVariableName,$sqlFieldName)=each(mysql_fetch
tement shouldn't work just
as the first.
> - Original Message -
> From: "Daevid Vincent" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, January 23, 2003 11:38 PM
> Subject: [PHP] Strange anomolie with each() and mysql_fetch_array()
Dude. That freakin' form that asks for my email/name EVERY time has to
go.
Make that shit voluntary. It's annoying as hell, and is just forcing me
(and others) to enter bunk info everytime we want an update to this
product.
> -Original Message-
> From: Insanely Great [mailto:[EMAIL PROTECT
Fatal error: Call to undefined function: floatval() in
/home/dae51d/public_html/examples/echotest.php on line 14
> -Original Message-
> From: Chris Shiflett [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 06, 2003 2:40 PM
> To: anders thoresson; [EMAIL PROTECTED]
> Subject: Re: [PH
I'm trying to automate finding pingable domains given an IP or a domain.
The problem is that some domains don't actually return "pings", and on
Linux, it just sits there forever (ugh!). So... Can someone tell me how
to 'abort' or 'timeout' an itteration of a loop. Maybe start a timer and
then check
1 PM
> To: Daevid Vincent
> Cc: [EMAIL PROTECTED]
> Subject: [PHP] Re: How do I force a 'timeout' in a loop for
> that itteration, or conversley how to timeout a 'ping" request?
>
>
> Not sure on linux, but on freebsd ping's man page says:
>
>
How can I pass in a user/pw to an fopen() (or something similar)?
I am trying to render a dynamic db/php page into a static .html page --
or more specifically, I'm trying to email me back an html version of a
report page on remote servers. The reports are located behind an
https:// Apache user/pas
Yep, I am trying to have a php web page change the linux system
date/time, but obviously running into the snag that /bin/date, while
"chmod 775" doesn't allow a user to set the date/time. Why is that,
given the permissions? Sure it makes sense, but it's annoying. Ideas on
how to circumvent this pro
Feb12 0:01
/www/bin/httpd -D
So What is the problem? Ideas?
> -Original Message-
> From: Marek Kilimajer [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 13, 2003 3:43 AM
> To: Daevid Vincent
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] How can I have PHP s
I see tons of examples of how to read in an xml schema and use the
variables and such, but how do I then change values and re-save the
schema again? Can someone point me at a simple but function form that
simply reads a .xml file, populates the form, and allows you to change
values in the form and
Given that I have a GMT offset via the select box below, how the hell do
I turn that into a symbolic link to one of these files? How do I know
which file to link too?!!! UGH. This is such a stupid way to set the
timezone, why didn't RedHat just have a file with the offset in it?
Something like "ech
t;perm"] == "admin" ;// and others privilege checks...
$sess->delete() ;
$auth->unauth();
$auth->logout();
etc...
What do you think I should use instead of the phplib, do you think I
should change what I use at this time which works full well :-/
I do want to use a libra
I've tried all of the DB libs and I can't get any of them to
compile/work properly..
For GDBM I get :
Driver initialization failed for handler: gdbm: Bad magic number
For the rest I just get
Driver initialization failed for handler:
Where is db2 db3 etc..
Can anyone tell me what the the tric
Hello,
I didn't find in the doc how to:
- Know the full path of the current directory. Like /var/www/to/the/path
- Know under which user work apache, to know when I create a file whose
file it is...
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php
Greg Beaver wrote:
"Vincent M." <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hello,
I didn't find in the doc how to:
- Know the full path of the current directory. Like /var/www/to/the/path
try using dirname(__FILE__) or dirname($_SERVER['PATH_TRANS
image"
"Chargement de l'image en cours...Veuillez patienter" -> "Loading image
in progress...Please wait"
Have you ever seen such a good gallere browser ?
And look at my future concurent:
http://www.photopost.com/
See photopost in action:
http://www.fordf150.net/p
Valentin wrote:
Hi,
Is any way to write JavaScript code into PHP function or to send PHP's
variables values to the JScript variables?
Thanks,
Of course, you can create dynamicaly javascript via php, ie:
echo "
var yourvar = $onephpvar ;
" ;
Is that what you were asking
Valentin wrote:
Hi,
Is any way to write JavaScript code into PHP function or to send PHP's
variables values to the JScript variables?
Thanks,
Yes, I think there is a way to do so!
;-)
Vincent.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I do a lot of define like that:
define ("_LANG1", "Server options");
define ("_LANG1", "Manage your system");
etc...
And stuff like that:
if($num == 1) {
$mgs = _LANG1 ;
}else if($num == 2) {
$mgs = _LANG2 ;
}
etc...
But I do want to avoid all these if and else, is there a way
t directly, it works:
$num = "_LANG".$num ;
echo constant($num) ; //It display the constant variable.
Anyway it works :-)
Thanks,
Vincent.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Wouldn't that technically be "downgrade", since RH8 ships with Apache 2.0
*smirk*
But yes, however, keep in mind that when you do 'downgrade' you will run
into the constant annoyance that up2date will always want to install a newer
php and httpd (they don't even call it apache for the rpm grrr), s
quot; ;
...
And many others variables. And magic_quotes seems to work for global
vars too. Is there a way to modify no_magicquotes() to make this
function works with all global vars ? Another for...each...but how ?
Thanks,
Vincent.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have the same problem, and I've found that if you set
error_reporting(E_ALL); at the top of the page you're working on, you
will at least get some info.
You may also set that in the /etc/php.ini file
I also suggest you make a "phpinfo.php" page wich contains simply:
And browse that to see al
"".$i ;
} else if( ($i>9)&&($i<100)) {
$i = "000".$i ;
} else if( ($i>99)&&($i<1000)) {
$i = "00".$i ;
} etc...
Thanks :-)
Vincent.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jason Sheets wrote:
Hello,
Use str_pad, the manual page is available at http://www.php.net/str_pad,
a short example would be:
$i = 3;
$i = str_pad($i, 5, "0", STR_PAD_LEFT);
This function is described in the PHP manual in the string functions
section, the manual is an excellent place to go first w
VARS)) {
echo "$key => $val";
}
echo "Here we are...!!!..." ;
It displays, "Here we are...!!!..." but nothing at all for $key and for $val
How should I do to simulate get_magic_quotes_gpc to 0 without emptying
HTTP_POST_VARS ?
Thanks,
Vincent.
PS: If I d
Vincent M. wrote:
Hello,
I don't understand this code empty my HTTP_POST_VARS variable:
if ((get_magic_quotes_gpc() == 1)) {
switch ($REQUEST_METHOD) {
case "POST":
while (list ($key, $val) = each ($HTTP_POST_VARS)) {
$$key = stripslashes($val);
}
bre
Vincent M. wrote:
Vincent M. wrote:
Hello,
I don't understand this code empty my HTTP_POST_VARS variable:
if ((get_magic_quotes_gpc() == 1)) {
switch ($REQUEST_METHOD) {
case "POST":
while (list ($key, $val) = each ($HTTP_POST_VARS)) {
$$key = stripslashes($val);
Did you even read the docs on sessions?
http://us4.php.net/manual/en/function.session-destroy.php
http://us4.php.net/manual/en/function.session-unset.php
http://us4.php.net/manual/en/function.session-unregister.php
*sigh*
Please people, think and at least do the simplest of searching on the si
I found this in the ChangeLog of PHP5: Removed the bundled MySQL client
library. (Sterling)
What does that mean? We can't access MySQL anymore from PHP?
Vincent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Heya. I've just put up a new version of the DHCP web front end if anyone is
using it or has a need for this type of thing.
Major feature of this version:
* a bug where if the arp table showed an "(incomplete)", I ignored the entry
since the MAC is the hash key, many machines wouldn't show up as
uot;arp" to rebuild it's cache.
> -Original Message-
> From: Tom Rogers [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 29, 2003 1:51 AM
> To: Daevid Vincent
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] DHCP web interface. New version.
>
>
> Hi,
>
re for you if you want to see/play/use it.
d
> -Original Message-
> From: Chris W. Parker [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 28, 2003 10:56 PM
> To: Daevid Vincent; [EMAIL PROTECTED]
> Subject: RE: [PHP] DHCP web interface. New version.
>
>
> Daevid V
> > Pretty straight forward setup. Almost none in fact. Edit the .ini
> > file with your mac addresses and icons you want to use (if any).
>
> Does this mean it doesn't go out, search your network, and then report
> back with everything it's found? Do you mean that I have to manually
> specify eac
Add an entry to /etc/sudoers like so:
nobody ALL=NOPASSWD: /bin/date
Daevid Vincent
http://daevid.com
> -Original Message-
> From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 31, 2003 3:02 AM
> To: tirumal b
> Cc: [EMAIL PROTECTED]
>
Thanks, but I guess I forgot to mention it should be web-interface...
http://passwordms.sourceforge.net/index.php
For anyone wanting to look.
> -Original Message-
> Try PMS: Password Management System. I believe it can be found on
> sourceforge.
--
PHP General Mailing List (http://www
I'm in search of an 'enterprise level' password storage system.
I have looked at phpMyPass and it looks promising, but the demo doesn't seem
to have everything I want.
http://freshmeat.net/releases/127316/
While this one says v2.0
http://www.phpmypass.paniris.com/
Says 1.0 ??
I need it to be mul
o a single MD5 check because
I think looping 1 mysql MD5 calls will be slower automatically since
there is the connection to the db and stuff to contend with, so keep that in
mind.
Daevid Vincent
http://daevid.com
--- test ---
blah
version one: \t$time1 seconds\n";
ec
that:
ls montreal_13*
without using the passthru function, I am looking for a native php
function doing ls $mychar*
Thanks,
Vincent.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
file, I tried for exemple:
$retour =
readgzfile(dirname($_SERVER['PATH_TRANSLATED'])."/zip/zipfile.zip");
But as mentionned in the php doc it outputs the content of the zip file
in the browser :-(
How to uncompress a zip file in a directory ? I just want all the files
which ar
Marek Kilimajer wrote:
readgzfile is for *.gz files.
Either use zip file functions (rarely supported) or PclZip
(http://www.phpconcept.net/pclzip/index.en.php)
No, it works with .zip files too, I just don't know how to manage it :-(
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
You could use the exec() or shell_exec() and just do it via command line
method...
> -Original Message-
> From: Vincent M. [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 19, 2003 12:36 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Zip Way of life.
>
>
>
David T-G wrote:
Vincent, et al --
...and then Vincent M. said...
%
% Marek Kilimajer wrote:
% >readgzfile is for *.gz files.
...
% No, it works with .zip files too, I just don't know how to manage it :-(
You mentioned wanting the "files" (note the plural) in the zip file
Daevid Vincent wrote:
You could use the exec() or shell_exec() and just do it via command line
method...
Yes but gunzip does not work when there are more than one file in the
zip file and unzip is not installed by default on Unix servers. :-(
--
PHP General Mailing List (http://www.php.net
> zip file and unzip is not installed by on Unix servers. :-(
So either install it on the servers that need it, or distribute the un/zip
exe with your package in your projects local directory -- this also saves
you having to deal with different versions on different servers that may not
always do
Just an observer, but I love how you each had a different way of
accomplishing this task! ;-)
And Mike, looks like you have some re-writing to do now that Martin and
Kevin showed you a WAY simpler (and faster) way to accomplish what you did.
LOL.
http://daevid.com
> -Original Message-
>
Is there some global array or something that contains all the variable names
(not even values per se) that are used in my script.
Here's the scenario. Like most of you, I do a lot of mySQL db work. So I
tend to use this:
if (mysql_num_rows($result) > 0) {
$row = mysql_fetch_array($result,MYSQL
Hello,
Is there anyway to check these two things:
- If the server is an Unix server.
- If a command is available on the server.
For exemple, I need to test if the shell command unzip is avalaible to do:
exec("unzip ...something...") ;
So I can test if exec is available doing:
if(function_exists(
hell functions I need are available.
Vincent.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Don't know if you realize this or not, but when you pass the variables, you
DO NOT enclose them in ' marks...
So...
http://blah.com/myscript.php?date=2003-2-1%2000:00:01'%20AND%20'2003-3-1%202
3:59:59&othervar=1234
Then on your myscript.php page,
$_GET['date'] will equal "2003-1-3 00:00:01 AN
Two things come to mind...
First, make sure the file is indeed being included/required and you don't
have your paths messed up.
Second, make sure you have the PDF stuff compiled into PHP.
Make a page with as the only thing in it, then load it
in your web browser and find the words "PDF" in there
How come this function works, but the one below does not??
function clearContactVars()
{
global $contact_id; $contact_id = "";
global $contact_timestamp;$contact_timestamp = "";
global $contact_incept; $cont
dn't work right.
> -Original Message-
> From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 26, 2003 1:16 PM
> To: Daevid Vincent
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] What am I not understanding about
> $GLOBALS['myvar'] v
uot;Or, make it easy for your customers to run Zend-encoded files by
bundling your application with the Zend Optimizer freeware."
The only trouble is the price (960$), it's a little expensive for the
student I am :-/
Does anyone know any other less expensive way to protect my sourc
John Wards wrote:
On Thursday 27 Mar 2003 7:31 pm, Vincent M. wrote:
The only trouble is the price (960$), it's a little expensive for the
student I am :-/
Does anyone know any other less expensive way to protect my source code ?
http://www.ioncube.com/
They have a web based version tha
http://www.mysql.com/doc/en/CHAR.html
VARCHAR can only be 255 characters in length.
Here's some useful info:
# BIGINTUNSIGNED = 8 Byte = = 18446744073709551615
# INT UNSIGNED = 4 Byte = = 4294967295
# MEDIUMINT UNSIGNED = 3 Byte = FF = 16777215
# SMA
= "Aller à la page suivante" ;
...
And I need to extract "english" and "francais".
As it, when I will add another language such as "espanol", it will be
automatic...
Any idea ?
Thanks,
Vincent.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Anyone know if this annoying behaviour will ever be 'fixed' in future HTML
specs? I can't believe what a glaring oversight this is that the 'value'
doesn't get GET/POSTED like with a normal 'submit' button... WTF were they
thinking?
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
Not that this hasn't been coverd a million times already Bobby -- check the
archives...
function ListboxMatch($size, $name, $query, $matchtothis)
{
$items = 0;
//echo "".$query."";
if ( $qry = mysql_query($query) )
Here, try this bullshit...
I can't upgrade to a more recent version as I'm not in control of the
server, but I've tried it with both 4.1.2 and 4.2.3 on linux with a RH
install. Can anyone confirm or dispute this bug exists in later versions?
How does a parsing error like this go un-noticed for so
fails, and the other line would be (which works):
"); ?>
In my book, they're both double echoing the output if you will... Are you
with me on that?
So again, why does the second one work and the first one doesn't?
> -Original Message-
> From: Philip Hallstrom [mailt
HH! Now that makes perfect sense.
Thank you Rasmus for that indepth reply and also the , vs . "trick"
> -Original Message-
> From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 04, 2003 10:11 PM
> To: Daevid Vincent
> Cc: [EMAIL PROTE
Wow you guys are going about that way more complicated than it needs to
be:
$i = 0;
echo "";
Then it just alternates and takes care of itself (plus you get a nice
little index counter as well as a bonus if you want to use $i
DÆVID.
"A good friend will come and bail you out of jail...but a tru
I had to know... ;-)
Output:
version one:0.56761503219604 seconds
version two:0.3099730014801 seconds
version three: 0.36320495605469 secondss
So the boolean (V2)is faster:
Mine is slightly slower by a 'smidge' (0.06 seconds)
Top one is cleanest but slower.
--- test ---
\n";
$time_
It seems that it makes almost no difference if you switch in and out of
the parser or stay within it...
Does this seem like a fair test? Having said that, I would suggest
always using the first method as it's much cleaner to read and color
coding works in most editors.
-- output ---
version one:
Hello,
Is there any way to launch a download of a Zip file to the user without
a link. The user must not know where the file is on the server.
The transfert of the file must be made by a php file with special
headers, no ?
header("Content-type: zip"); or something...
Thanks.
--
PHP General
ite.com/thanks.html";) ;
I does not work :(
Does anyone know how change the location and is there is anyway to know
if the download has been perfomed 'till the end...
Thanks,
Vincent.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am writing an open source web page that I can't believe doesn't exist
already. basically i want to see all the DHCP clients on my network AND
their nice windows names -- that is the tricky part -- I can't find a
tool that does that part. GRRR...
Anyways, here is what I have so far if you want t
> Sent: Monday, June 16, 2003 2:45 AM
> To: Daevid Vincent
> Cc: 'PHP-General'
> Subject: Re: [PHP] need config file parsing code.
>
>
> On Mon, 2003-06-16 at 01:14, Daevid Vincent wrote:
> > So my question is, does anyone have some code (PHP
> preferred obv
;A dog jumped over
a ladder".
I **don't** want: "A dog jumped over a ladder" to become "A dog
jumped over a ladder".
You understand what I mean? I can't do that will str_replace, but I know it
would be quite easy with preg_replace. Can someone help me?
Thanks
Vince
I wish to use Ping to test if some IP addresses are up... Now I could run
the command and parse to find various string components like this:
[EMAIL PROTECTED] bin]# ping -n -c 3 -w 2 -q 192.168.1.60
PING 192.168.1.60 (192.168.1.60) from 192.168.1.1 : 56(84) bytes of data.
--- 192.168.1.60 ping sta
-Original Message-
From: Daevid Vincent [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 22, 2003 8:05 PM
To: 'Don Read'
Subject: RE: [PHP] How do I get the exit code of an external program?
> -Original Message-
> From: Don Read [mailto:[EMAIL PROTECTED]
> Se
Okay, my dhcp client web page is pretty much done...
http://daevid.com/examples/dhcp/
The .tgz file is linked at the bottom if you want it.
This was also an extreme amount of work just to simply see the active leases
and 'client-hostname' associated with an IP/MAC?! Seems to me there should
have b
On a 'non sarcastic' note... Perhaps the original poster should just set
up their own linux box and run it off their home cable/dsl line. I've
been doing it for years and it works wonderfully. I'm even now a
free-node on the Seattlewireless.net network for people in the hood who
need a quick bit-fi
Do this:
snip-
#!/bin/php(or wherevery you have the php executable binary stored)
>8)&0xFF;
}
?>
snip-
chmod 755 myfile.php
Then just execute "myfile.php" as any other program.
> -Original Message-
> From: Marcos [mailto:[
Additionally, you could put this in a header file or the top of your page:
reset ($_GET);
while (list ($key, $val) = each ($_GET)) {
//echo "$key => $val\n";
$$key = $val;
}
reset ($_POST);
while (list ($key, $val) = each ($_POST)) {
//echo "$key => $val\n";
$$key = $val;
With php 4.2.2 I get this when trying to compile with apache 2 support:
Making all in apache2filter
/bin/sh /usr/local/download/apache/php-4.2.2/libtool --silent --mode=compile
gcc -I. -I/usr/local/download/apache/php-4.2.2/sapi/apache2filter
-I/usr/local/download/apache/php-4.2.2/main
-I/usr/lo
algorithm attached to it...as long as it is
past the present date there's no way to consider it invalid without
cross-referencing against a database of active cards.
Sincerely,
Craig Vincent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
apply. Just a guess.
>
> - Tim
>
> > -Original Message-
> > On Thu, Aug 08, 2002 at 06:16:03AM -0700, Daevid Vincent wrote:
> >
> > I'm baffled. Using the example I found here:
> > http://www.devarticles.com/content.php?articleId=143&page=3
nID = '$sessionID'
Although if $sessionID contains an integer (which I assume is would) the
quotes aren't needed, you never know. Some OSes are quirky.
Also you may want to add an
echo mysql_error();
line after your initial mysql_query to see if perhaps there's a problem
1 - 100 of 881 matches
Mail list logo