my webspace, it ran OK for 18 months on both. Looking at
php.ini on my PC I note magic_quotes_gpc is set to on and
magic_quotes_runtime is set to off. On my webspace I note
magic_quotes_gpc is set to on as is magic_quotes_runtime, I assume
this is what's screwing up the PHP generated html.
uldn't care. I mean, the burden of proving it would be on
them. And who's to say that you didn't get it elsewhere.
Just my $.02...
Bryan
On Tue, 22 Mar 2005 19:54:27 -0500, C Drozdowski <[EMAIL PROTECTED]> wrote:
> Hey,
>
> I used a single line of code (ver bat
VEN THOUGH the inserts were ACTUALLY made. I
have seen posts to the PHP site with users of php v.4.x.x complaining
about this problem, and so far no answers on what to do to fix the
problem(s). Any help would be greatly appreciated.
Thanks!
--Bryan
--
PHP General Mailing List (http://www.ph
IDE's?
thanks!
--Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I've asked this question in 4 different places and in each place i've not
received a single response...is that because its too hard or too esoteric?
I need to get this resolved and i'm stumped...
Please help!
thanks again
-bryanw
-Original Message-----
From: Bryan Waters
I have an Apache 1.3.27 server configured with SSL, PHP and so on...
My problem is that PHP doesn't work under the SSL virtual host...it works
under other named virtual hosts and the main site, but it simply doesn't
work under the _default_:443 virtualhost for some reason...on any other
non-ssl pa
This does not work:
require('languages/' . $language . '/' . basename($PHP_SELF));
This does:
require('languages/' . $language . '/' . basename($_SERVER['PHP_SELF']);
Why
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
images can be downloaded as binary files with
no problem..
I now have over 3000 images I cannot download or view
on our website. What about rename caused this?
Thank you,
Bryan Henry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Browser and FTP client act as if the image
files do not exist, even though the directory
contents can be views via FTP...
What did I do?
Bryan
On Thu, 26 Feb 2004 17:56:25 -0600, Bryan Henry <[EMAIL PROTECTED]>
wrote:
Hello all,
I wrote a small script to rename a few thousand images
Looking throught my FTP client it seems that the
permission are the same? Could this be incorrect?
Should I chmod or chown through a shell? or using PHP?
~ bryan
On Fri, 27 Feb 2004 00:01:47 +, Michael Nolan
<[EMAIL PROTECTED]> wrote:
Check the permissions and ownership of the
Here is the script I used to rename images.
foreach ($config as $line) {
if ( $line == "" ) next($config);
elseif ( $line == "\n" ) next($config);
elseif ( strstr($line,"#")) next($config);
else {
$value = split(Chr(9),$line);
$imgs[$value[0]] = $value[1];
Chmod and file_exists report that the file does not exist,
even though I can view the files via the FTP client.
bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I realized that I did not trim the end line characters off of the file
extensions
after I grabbed all the file names from a text file. Now all the images
have
end of line chracters as part of the extension. I cannot access/edit the
files
through SHH, PHP or FTP...
Oh well...
bryan
On
ow to fix this?
Regards,
Bryan Simmons
Network Systems Engineer
General Physics
410.379.3710
[EMAIL PROTECTED]
__
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
--
PHP General Mailing List (http://www.ph
and post it.
Ben,
I've just tried setting that. I get absolutely no errors whatsoever. Could
this be more of an Apache error?
Thanks,
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t fine.
I don't see any errors or an increased cpu/memory load. It isn't always on
this specific page (well its a livehelp program) and has done it elsewhere
but I forget what I was using.
What could be causing this, or how should I diagnose it?
Thanks,
Bryan
--
PHP Genera
Hi,
I was just curious, how much longer are globals going to be supported? I
had heard awhile back that they wouldn't be around for too long.
Thanks,
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tuesday, September 02, 2003, at 05:12PM, Chris Shiflett <[EMAIL PROTECTED]> wrote:
>--- John Bryan <[EMAIL PROTECTED]> wrote:
>> So looks like I can't have it both ways, i.e. POST and GET
>
>Yes, you can.
>
>
>
>
>
>The script blah.php can re
On Tuesday, September 02, 2003, at 02:04PM, Raditha Dissanayake <[EMAIL PROTECTED]>
wrote:
>Hello,
>If you use yes they will be part of the input
>stream. What i suggested was you have
> then you can
>retrieve the query string variable from the env. (at least this works
>with perl cgi and i
On Tuesday, September 02, 2003, at 01:55PM, CPT John W. Holmes <[EMAIL PROTECTED]>
wrote:
>From: "John Bryan" <[EMAIL PROTECTED]>
>
>> If so, the problem is that this file that is being uploaded
>> via the form to the program MyCppProg.exe gets sent
>
On Tuesday, September 02, 2003, at 02:04PM, Raditha Dissanayake <[EMAIL PROTECTED]>
wrote:
>Hello,
>If you use yes they will be part of the input
>stream. What i suggested was you have
> then you can
>retrieve the query string variable from the env. (at least this works
>with perl cgi and i
On Tuesday, September 02, 2003, at 01:32PM, Ford, Mike [LSS] <[EMAIL PROTECTED]> wrote:
>On 02 September 2003 19:22, Raditha Dissanayake wrote:
>
>> Hi,
>>
>> Had a similar problem when building upload progress bar. Initially i
>> used cookies but that had a few minor hiccups. What you can do i
very quickly.
>
>oh and btw the correct way to set a cookie is with session_register(),
>$_SESSION is used for retrieval.
>
>John Bryan wrote:
>
>>I need to use something like a session variable to make a variable available to an
>>existing form-invoked C++ progra
I need to use something like a session variable to make a variable available to an
existing form-invoked C++ program which takes as input a file being uploaded. Is this
even do-able ??If so, what am I missing here ???
The C++ prog used to use the REMOTE_USER env var set by the web server b
n a PHP page to load the data.
It's web based, uses PHP to do everything. Pretty cool setup.
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Just out of curiosity, how are you doing this? I've wanted something like
this as well as tracking information. I've only looked around their sites
for something but didn't find it.
Fedex would be even better if anyone has any ideas on that :)
Thanks,
Bryan
On Wed, 20
On Tue, 15 Jul 2003, David Nicholson wrote:
>
> You could compile PHP with the IMAP functions and use them:
> http://uk2.php.net/imap
That is what I was referring to looking for examples using these
functions as a whole.
Bryan
--
PHP General Mailing List (http://www.php
have this in a page that refreshes every 20-30 seconds or
so, will there be any problems with this?
Thanks in advance,
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
thing?
I know http is not an always open type protocol, but I still thought there
was a way. Meta refresh just won't work correctly..
Thanks,
Bryan
> > I'm wondering what the best way to go about this would be. I will be
> > opening a URL that outputs a csv. This cs
will
have a gap where it won't be update.
Is there someway to hold it open, and when it changes refresh itself? This
is all on a LAN, so the traffic isn't that big of a deal.
Thanks,
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
In a php file I can just include the connection information and reduce
the overhead that comes with fopen. Still gives me one central spot for
changing connection information as necessary.
There is always more than one way to do it.
-Bryan
-Original Message-
From: Dan Joseph [mailto
Put the connect info into a php file (i.e. connect.php).
If it is ever directly accessed by the client the PHP engine will render
a blank page.
If your ini file is ever accessed by the client it will render the
contents of the ini file.
Wonder if removing rwx would adversly affect includes to th
the world has come to an end :-P
- Original Message -
From: "Chris Edwards" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 01, 2003 3:35 PM
Subject: [PHP] whats this
> read: http://php.weblogs.com/
>
> --
> Chris Edwards
> Web Application Developer
> Outer Banks
Yes, an excellent book.
-Original Message-
From: Kenn Murrah [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2003 2:14 PM
To: Mike; [EMAIL PROTECTED]
Subject: Re: [PHP] Is there a PHP for Dummies?
oh, and that reminds me ... another O'Reilly title, "PHP Cookbook" is
REALLY helpful if,
Use the Zend Beauford.
http://www.zend.com
For beginners: http://www.zend.com/interest/beginners.php
Using Google:
http://www.phpbuilder.com/manual/function.get-magic-quotes-gpc.php
-Original Message-
From: Beauford.2002 [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2003 1:54 PM
T
Anything in the apache error_log?
-Original Message-
From: Tom Tsongas [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 10:58 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Stupid question perhaps?
I just recently upgraded to PHP 4.3.1 and Apache 2.0.44. I had been
previously running
On 27 Mar 2003, Mike wrote:
|You can't do that in PHP... just use JavaScript... do a google for it.
|
|-Michael
Didn't think so. I've been google-ing and can't find what I need, so I
thought I'd try a longshot.
Thanks,
Bryan
--
PHP General Mailing List
Hello,
I'm not sure this can be done with PHP, but I'm looking for any ideas!
I have a frames page. The top refreshes every 5 seconds, checking for if a
file exists. If that file exists, it is supposed to change the bottom
frame to another site. Basically like using an http://www.php.net/)
To uns
Daniel-
I just tried this, didn't seem to make a difference.
Thanks for the reply!
Bryan
On Tue, 25 Mar 2003, daniel wrote:
|hi , i have had similar issues its worked by doing a ob_flush before flush
|then u want a sleep statement so maybe try
|
|ob_flush();
|flush();
|sl
$mail->BCC( "[EMAIL PROTECTED]" );
- Original Message -
From: "Oden Odenius" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 24, 2003 3:44 PM
Subject: [PHP] mail() Bcc:
How can send bcc: with mail()?
--
Programmers are tools for convert coffeine into code... (c) Oden
l and quick response!
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
separated by spaces. Can
anyone give me a pointer as to how to do this? Since the rand functions
are only for numbers, maybe assign each character group a number?
Thanks in advance!
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
page (and not needing authenticate) without having to login at every page.
I'm assuming I would use something with sessions. Does anyone have a quick
sample of how to do this?
Any help would be great, I just need a step or two in the right direction.
Thanks,
Bryan
--
PHP Gener
download and install the apache web server. that along with php should do
the trick. if you're doing any database work you may want to pick up the
windows version of that too.
some decent instructions are here:
http://www.thesitewizard.com/archive/php4install.shtml
-Original Message-
Fr
Trying to setup PHP with cURL support... I run this configure command:
./configure --with-mysql --with-apxs --with-openssl=/usr/local/ssl
--with-curl --with-mcrypt --enable-sockets
and receive this error:
/usr/local/lib/libcurl.so: undefined reference to `UI_OpenSSL'
Help!!
--
PHP General
Try: header("Cache-control: private");
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks.. I feel stupid, I wasn't paying attention. *sigh* seems to work
now :)
Bryan
On Fri, 7 Mar 2003, Adrian Ciutureanu wrote:
|you close the input file in while loop ( fclose($fp); )
|
|"Bryan Koschmann - Gkt" <[EMAIL PROTECTED]> wrote in message
|news:[EM
;);
fclose($fp);
fclose($fout);
}
}
Please help! I keep re-reading the docs at php.net for fopen fgets and all
that with no luck!
Thanks,
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
'];
$pais = $_POST['$pais'];
$comentario = $_POST['$comentario'];
$sql = "INSERT INTO agenda (nombre, direccion, telefono, email, pais,
comentario) VALUES ('$nombre', '$direccion', '$telefono', '$email',
'$pais', '$comentar
>Is the number by second, minutes, etc?
session.gc_maxlifetime specifies the number of seconds after which data
will be seen as 'garbage' and cleaned up.
http://www.php.net/manual/en/ref.session.php
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Try
echo $sql;
To check your sql before execution.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The problem
is the " from the text is closing the " from the
html.
>
> --- Bryan Lipscy <[EMAIL PROTECTED]> wrote:
> > Look up magic quotes in the docs.
> >
>
http://www.php.net/manual/en/ref.info.php#ini.magic-quotes-gpc
> >
> >
> >
> >
Look up magic quotes in the docs.
http://www.php.net/manual/en/ref.info.php#ini.magic-quotes-gpc
The docs are mmm mmm good.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>What's e.g. mean?
Latin: exempli gratia
Translated: for example
i.e.
Latin: id est
Translated: that is
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Shouldn't that be:
while($data=mysql_fetch_array($result))
{
//SSLT
}
NOTE: Added ) and changes $query to $result
-Original Message-
From: Van Andel, Robbert [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 3:21 PM
To: [EMAIL PROTECTED]
Subject: [PHP] MySQL Query Result Que
ld be wrong, as I don't completely
understand how he has it setup. I'm a linux server only type of guy.
However, I'll take a look at it. Maybe I was incorrect in my research, or
the programmer didn't look fully into the specs for PHP.
Thanks,
Bryan
--
PHP Gener
See isset() and empty()
-Original Message-
From: Steve Buehler [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 10:29 AM
To: PHP
Subject: [PHP] testing for < 0
I have a form that has input for minutes. My problem is that I am
trying
to test to see if the field is blank or not
yes
- Original Message -
From: Karl James
To: [EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 11:11 PM
Subject: [PHP] Read
Hey does anyone know if you can use PHP and ASP 3.0 or I.I.S on the same hard
drive on XP pro?
I need to know for school, because I'm tak
fget, then explode to
get the data.
He is planning on releasing it for free (maybe GPL with source if he can)
so if anyone is interested let me know.
Thanks,
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t;));
} else {
$rendate = date("l, F jS Y", strtotime("$expdate +1 day"));
}
I'm not sure if it would be more inefficient or what, but it seems to work
(so far). I'm not too worried about efficiency because it will only run
once a month.
Thanks to everyone wh
e().
Thats great, worked perfectly! Thank you very much :)
Heres a tough one, is there such a say to now get the date of the first
weekday after that date?
Thanks again,
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
Does anyone know a way to do this easily? I have a script that pretty much
says "this is due on the first of next month" but I would like it to
actually use the correct date.
Thanks,
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
== PHPSESSID=aed42b1e8e514e2b28e630729edfa24b
Server: Apache/1.3.27 (Unix) PHP/4.3.0
www.domainname.net maps to hostname. They are the same server, just
accessed differently.
Maybe I missed it but I didn't see anything in the docs, archives or
bugs about this.
Anyone know why this happens?
Funny thing about online manuals.
include() http://www.php.net/manual/en/function.include.php
include_once() http://www.php.net/manual/en/function.include-once.php
Please read: http://www.catb.org/~esr/faqs/smart-questions.html
-Original Message-
From: Kenneth Suralta [mailto:[EMAIL
RTM: http://www.php.net/manual/en/ref.session.php
Tutorial: http://www.zend.com/zend/tut/session.php
-Original Message-
From: php [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 4:40 PM
To: [EMAIL PROTECTED]
Subject: [PHP] no session id
this code doesn't ouput a session-
Create a user with appropriate privledges for the database. DO NOT use
root.
You did not mention where the $nombre, $direccion, $telefono, or $email
variables are being initialized.
To capture the values from a form use $_POST['name'] where name is the
name of the field on the form.
HTH
-
://babel.altavista.com
Bryan
-Original Message-
From: Luis A [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 2:16 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] how___??
i need to do this
$link = mysql_connect("remote host", "mysql_user", "mysql_password&qu
RTM first please:
http://www.php.net/manual/en/function.mysql-connect.php
$link = mysql_connect("localhost", "mysql_user", "mysql_password") or
die("Could not connect: " . mysql_error());
Replace localhost with the hostname of your mysql server.
-Original Message-
From: Luis A [mailto:
HTML:
JS:
Function DoThis(){
frmMain.method = "POST";
frmMain.action = "admin.php";
frmMain.submit();
}
Where frmMain is the name for the FORM:
Read all about it in: http://www.oreilly.com/catalog/jscript4/
Bryan
-Original Message-
From:
Ok, my problem of the day. I need to take a field from a form that has either a first
name, last name or both and then search the database for all records that match one of
those items. The problem, the database only has one field for the name.. where both
the first and last name are stored.
Chris.. you are 100% correct, that took care of it.
Thanks for the help,
Bryan
-Original Message-
From: Chris Cook [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19, 2003 10:44 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] Skipping Image Upload if Filename is blank
efile']['tmp_name']) {
copy ($_FILES['imagefile']['tmp_name'],
"../images/".$_FILES['imagefile']['name']) or die ("Could not copy");
}
**snip**
Thanks,
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tried) functions to parse the
required values out of the Posted field.
HTH,
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
worthy of further investigation.
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
another script.
Still looking for a better way. What concerns me the most is if a code
disclosure bug is later discovered in 4.3.0 or another version.
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
another script.
Still looking for a better way. What concerns me the most is if a code
disclosure bug is later discovered in 4.3.0 or another version.
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Did you check google?
http://ozu.arecom-sa.com/~marms/phpedit.net/
-Original Message-
From: Al [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 16, 2003 8:39 AM
To: [EMAIL PROTECTED]
Subject: [PHP] What happened to phpEdit???
Their site no longer responds.
Surely, we haven't lost one
a.I click "next" or something, and it either advances to
another page, or to another picture, and so on.
I know you can kind of do a live output using flush, but what about
forcing it to another page?
Any ideas would be great!
Thanks,
Bryan
--
PHP General Mailing List
I have been playing with this at home.
Perhaps this makes it a bit easier.
boolean setcookie ( string name [, string value [, int expire [, string
path [, string domain [, int secure])
boolean setcookie (name, value, expire, path, domain, secure)
Fwiw, a solution from another project:
>From your code snip it looks like you are missing ?> after the if
contruct.
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You may want to wait a few days on this book. The 2nd edition is due out
tomorrow.
Search on 0-672-32525-X
-Original Message-
From: Brent Baisley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 9:19 AM
To: Greg Luce
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Learning PHP
N
Belay that one. I figured it out. My err.
I will shut up and go back to lurk mode.
So sorry, please don't flog me.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Env: Slackware 8.1, Apache 1.3.27, PHP 4.3.0
Bugs: None found for these issues.
I am running to this same problem. The isset() function appears to have
problems with the empty text value. The empty() function sees the value
of $_POST['q1'] as expected.
So why is both isset() and empty() retur
Slackware box.
Thanks again for your help.
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
with PHP 4.3.0 exists on a Slackware 8.1 box.
All parameters are correct.
Boxes can see each other.
All php scripts work when run on the Win2k box.
Any ideas why connecting to php/mysql would throw this error?
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
put your password in the mysql_connect. mysql_connect("localhost", "root",
"yourpassword");
or create a new user in mysql that has no password and minimal permissions.
> -Original Message-
> From: Gibbs, Liam - SXIA [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 29, 2003 9:46 AM
>
are all your email duplicated? if people are replying to a message you sent
you are probably getting one copy from them and one from the list.
> -Original Message-
> From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 29, 2003 9:31 AM
> To: [EMAIL PROTECTED]
> S
Have you tried echo'ing out the variable before and after the mysql_query?
> -Original Message-
> From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 29, 2003 6:20 AM
> To: Sunfire; [EMAIL PROTECTED]
> Subject: Re: [PHP] php and sql problem with mysql_query and i
undefined function:
socket_create() in
/home/bryan/php/php-radius-1.2/radius_authentication.inc on line 69
But it was configured with --enable-sockets...
Any thoughts?
Thanks,
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
undefined function:
socket_create() in
/home/bryan/php/php-radius-1.2/radius_authentication.inc on line 69
But it was configured with --enable-sockets...
Any thoughts?
Thanks,
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks all for the responses.. the solution was to add single quotes around
the $Location variable.
> -Original Message-
> From: Rick Emery [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 23, 2003 10:10 AM
> To: Bryan Brannigan; Php List (E-mail)
> Subject: Re: [PHP]
I believe something like this would do it:
system('ls -l');
> -Original Message-
> From: scott [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 23, 2003 9:06 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Executing Shell Commands.
>
>
> Hello,
>
> Does anybody know how to execute a s
ect("localhost", "webapp");
mysql_select_db("helpdesk",$db);
$result = mysql_query("SELECT contactemail FROM loc WHERE
location=$Location",$db);
while($row = mysql_fetch_row($result)){
$contactemail = $row[0];
}
Thanks in advance,
Bryan
~~
I just know some very basic html. lol. ya i know i know. I just havent
had time to set down and learn the things I want to learn until now.
On Tue, 21 Jan 2003 11:00:29 -0500
David T-G <[EMAIL PROTECTED]> wrote:
> Bryan --
>
> [BTW, I could not find your key on us.php.net or eu
Could someone point me to a VERY good doc for learning PHP for a
NEWBIE!!! Something I can understand from the beginning to the end. YES
I am willing to put my time into learning and reading docs as long as
they are clear and made for what they say they are made for. I wont
waste my time with somet
atch
:)
Thanks again,
Bryan
On Wed, 18 Dec 2002, Kevin Stone wrote:
|The only way to get at HTTP_REFERER is either through getenv(),
|$HTTP_SERVER_VARS, or $_SERVER. There is no other way around it. But since
|the methods are universial there shouldn't be any harm in just usi
ation as
well)? I had the same problem with another formmail.
Any help would be great, thanks!
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Cool, thanks!
I kept trying php --help to get that, didn't try the -h.
Works great :)
Bryan
On 10 Dec 2002, Ray Hunter wrote:
|try using -q
|
|Here is the usage:
|
|Usage: php [-q] [-h] [-s [-v] [-i] [-f ] | { [args...]}
| -q Quiet-mode. Suppress HTTP Header o
52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
pre-check=0
Pragma: no-cache
Content-type: text/html
168
(the 168 is my outputted number)
Thanks,
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thank you!
I feel like an idiot, kept getting it mixed up with perl. :)
Bryan
On Tue, 3 Dec 2002, Thomas Seifert wrote:
|
|$fp=fopen("filename","a");
|fputs($fp,"text to the file");
|fclose($fp);
|
|
|Regards,
|
|Thomas
|
|On Mon, 2 Dec 2002 15:52:2
1 - 100 of 153 matches
Mail list logo