You know the retail establishment has invested alot of money, what about the
underpaid waiter/checkout person they employ?
What is that waiter doing with your credit card when he/she takes it from
the table for processing?
Is the checkout person have a photographic memory writing down name/credi
>I hope everyone is sending him one of those, too, to clutter up
> his email even more.
Well absolutely...
would not want to be rude and ignore the request
;)
- Original Message -
From: "1LT John W. Holmes" <[EMAIL PROTECTED]>
To: "Zac Hillier" <[EMAIL PROTECTED]>; "Erik Heg
In that case, the question marks are part of the PHP opening and closing tags.
There are several ways to open and close sections of PHP script, mainly being , , and <% %>. What the below equals is , since http://www.completesource.net (Now Open!)
>>> "Alexander Ross" <[EMAIL PROTECTED]> 07/09/0
just keep a note of his mail for when he final reads simple instructions and
periodically forward him any interesting posts ;)
> -Original Message-
> From: Bret L Conard [mailto:[EMAIL PROTECTED]]
> Sent: 09 July 2002 2:58 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] I am out of pleas
> Hi there;
>
> I installed Apache2.0.39 and PHP4.2.1 on RedHat Linux 7.2. The
> installation
> procedure is fine. The php installation inlcude gd and some
> extension, but I
> can't find the php-gd.so on my computer.
>
> Anybody can help?
Looks like the problem is that you haven't installed
Thomas,
Yes, I understand what you want to do, but this is a limitation of HTML
itself, rather than PHP. There are no HTML commands for doing this.
JavaScript, being client side, has much more control over the browser
and can define window size etc. If, on your submit button, you use the
onCl
I'm running windows 2000 and the latest releases of PHP and MySQL. All
database connections are made with mysql_pconnect(). Connections build
up, however. The only person connecting to this webserver at the moment
is myself. It seems that it opens connections and keeps them open, but
doesn't alway
Hey Folks:
Speaking of identity theft, here's a fun story. Involves a Hollywood
Video store. HV is a large chain of video rental stores.
http://www.nydailynews.com/2002-07-09/News_and_Views/Crime_File/a-156851.asp
--Dan
--
PHP classes that make web design easier
SQL
My advice is to use mysql_connect(). The only instance I would consider using
mysql_pconnect() would be if I had to access multiple databases and servers at the
same time.
Martin
>>> SpamSucks86 <[EMAIL PROTECTED]> 07/09/02 10:26AM >>>
I'm running windows 2000 and the latest releases of PHP a
I just moved an application from one Linux server running Apache to another
running Apache. The version of Apache on both is 1.3.12. The version of PHP on
one is 4.0.3pl1 and on the other it is 4.0.1pl2.
Here is what is baffling for me: one the second server the $HTTP_ENV_VARS array
is empty.
All,
I have a page on our intranet site that is pulling an image from our
corporate web server. The corporate server & the image I am accessing is
beyond my control. The image is generated daily and appears to be named
with a timestamp in the file name so therefore the image name changes daily.
Thanks
Marek Kilimajer wrote:
> If you can use virtual private network, it is secure. But I don't know
> about plain Samba solution.
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
instead of
$fn=fopen($filename,"rb");
while(!feof($fn)) {
echo fread($fn, 4096);
}
use
readfile($filename);
BB wrote:
>$filename = "your/file.gif";
>header("Content-Type: image/gif");
>header("Content-length:".filesize($filename));
>$fn=fopen($filename,"rb");
>while(!feof($fn)) {
> echo frea
Hi everyone,
Is there any way to hide my form submitted variables (like
passwords etc)
in the location
bar "http://somedomain.org/checkpassword.php?
password=mypassword"
or atleast show in an encypted form n the location bar.
/Chandu
Use the POST method instead of GET for submitting forms.
Bogdan
- wrote:
>Hi everyone,
>
>Is there any way to hide my form submitted variables (like
>passwords etc)
>in the location
>bar "http://somedomain.org/checkpassword.php?
>password=mypassword"
>or atleast show in an encypted form n the l
On Tue, Jul 09, 2002 at 03:37:04PM +0200, AcIDeR wrote:
> Whenn i acces a page then there will automatichly be a phpsesion id created
What's your session.auto_start setting in php.ini?
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution |
Help!
I was using FastTemplates on my local machine AND on my personal server and
it all worked well. When I am uploading the code to my client's server
today, I get this strange warning whenever using FastTemplates:
Warning: Invalid content of \{\} in
/home/httpd/includes/fasttemplate.class.
You know really anoying mailing lists that send you e-mail you don't want
Wait... thats called spam... well...
to unsubscribe all you have to do is send an email back
[EMAIL PROTECTED] with the subject "REMOVE"
PHP
===
Can this wonder process things like that
Kindest Regards
vins
--
PH
OK following from my thread 'Browser Issues' I have found that when serving the site
from apache, that the aforementioned errors go away... mostly...
OK so... What is the best way to setup so that IIS/Apache co-exist...
I'd like to keep the 'entry' to the site on IIS as we have other sites too.
I have Apache and IIS coexisting on my intranet server and the way I set
them up was to put each on a different port. (Apache serves http://intranet
and IIS serves http://intranet:8080) this appears to work fine. Hope this
helps
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authori
I will probably do this the other way round as we have a few sites...
so if i have a single file with a frame and point contents of frame to apache this
should work?
> -Original Message-
> From: Collins, Robert [mailto:[EMAIL PROTECTED]]
> Sent: 09 July 2002 4:41 PM
> To: Brian McGarvie
I'm trying to change some information in the header...lets say that User
Agent for example...but it just wont change.
putenv() will change the User Agent..but nothing else will
user agent: ";
echo getenv("HTTP_USER_AGENT");
?>
Suggestions?
--
PHP General Mailing List (http://www.php.net/)
T
I'm using a Zebra label printer in an application I have and in order to
display an image on the label, according to the ZPL II printer language,
any image must be converted to HEX code. Does anyone hvae a code snippet or
know of a free utility that will take a graphic image (BMP, GIF, JPG,
et
I am using php4.0.6, and on this page
http://twig.screwdriver.net/file.php3?file=FAQ&plaintext=1
I found a mention of this error saying that it is because of changes in
PHP4. However, I am using PHP 4 locally and on the test server and they
both work.
Do I have to ask them to upgrade to PHP 4.2.
The fix presented on the top of this page
http://www.thewebmasters.net/php/FastTemplate.phtml
Doesn't solve the problem. I have tried to replace
$key = '{'."$key".'}';½
with
$key = '\{'."$key".'\}';
still no luck!
Is there a version of FastTemplates available somewhere that just works?
thanks
Pet
Hi!
I've been using PHP to write shell scripts and was wondering how to
implement the following:
- I have a menuing system
- If a user does not give an input within a certain amount of time, I want
it to go to a default value
I checked the PHP functions page and the closest thing I found was
Hmm, I don't know about intercepting the "Save As..." option from word to
trigger a PHP URL, but you could direct people to save their edited word
files to a specific directory on a network share on a PHP-enabled server
(easy enough on a Windows network, and not too much harder with Samba on
Linux
Hello,
I have a couple of questions with respect to creating a postal /
zip code proximity search that is remotely accurate. The system I am
using now is OK for small distances, but is terrible at calculating
large distances.
What I have is a database of establishments and their correspo
One suggestion is to use the geo functionality of Postgres
We use postgres to calculate city, state, and/or country by using the geo
functions in postgresql.
I would really suggest using postgres for your calculations.
You can pass the lat and long and have postgres give you the intersectio
Hello,
I have a couple of questions with respect to creating a postal /
zip code proximity search that is remotely accurate. The system I am
using now is OK for small distances, but is terrible at calculating
large distances.
What I have is a database of establishments and their correspo
¡i ¦b [EMAIL PROTECTED] (Peter Benoit) ªº¤j§@¤¤´£¨ì: ¡j
: I've seen sites with just php as the file extension, but it doesn't work on
: my host. Is there a setting for this?
: TIA,
: Peter
What's your httpd server?
--
[m[1;33m¡° ¨Ó·½:¡ELastLoveSong lls.twbbs.org¡E[FROM: localhost.loc
http://www.totalscripts.com/pages/Perl_Scripts/Calculator/
GeoZip... only for US postcodes tho.. but is ur US fine ;)
> -Original Message-
> From: Brandon Pearcy [mailto:[EMAIL PROTECTED]]
> Sent: 04 July 2002 4:34 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Postal / Zip Code Proximity S
I would suggest a creative solution of stealing MapQuest's distance
calculations somehow. Or maybe just do a comparison query, like try and
match all digits of the postal code and this will be closest, then match
all but the last digit, then all but the last two, and so on, this will
give you a li
Well, the problem is this. I work for an all-Microsoft company that is
currently being forced to take on a number of Linux servers. They have this
framework that allows for the automated installation and configuration of
servers based on a number of Windows 2000 staging servers and a SQL server.
On 9 Jul 2002 at 10:39, Ray Hunter wrote:
> One suggestion is to use the geo functionality of Postgres
>
> We use postgres to calculate city, state, and/or country by using the
> geo functions in postgresql.
> - Original Message -
> From: "Brandon Pearcy" <[EMAIL PROTECTED]>
> >
I have installed PHP4.2.1 and when I open a browser to look at a test php
page? all I see is the php code, not the output of phpinfo(). I know it is
something small that I have overlooked. Can someone help? Please???
Thanks in advance,
RC Hopp3r
--
PHP General Mailing List (http://www.php.net
I'll assume you're using Apache. Did you add (or uncomment) the
relavent lines in httpd.conf? Check the php installation manual for the
lines to add.
--
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com
On Tue, 9 Jul 2002 12:02:27 -0500
"Hopp3r" <[EMAIL PROTECT
I've been trying and trying to get my site to work lately and all but one
part does. Of course that one part is the most important part (it always
is).
My problem is probably rather simple to most of you, but I don't know how to
get around it: My script does not have permissions to write/append
So here's what I'm trying to do:
I have a form submitting dozens of variables called var1, var2, var3, .. and on
and on.
I want to check the value of each of these variables:
for($i = 1;$i < 100; $i++) {
if($var$i > 0)
echo "Yup. $var$i is greater than 0";
}
I get a parse error whe
$hFile = fopen($PathToFile,'r');
$File = fread($hFile, $SizeOfLargestImageYouHave);
fclose($hFile);
$HexVal = bin2hex($File);
This doesn't do any error checking or stripping of image headers that
may be necessary; you'll have to use string functions (eg; substr()
or maybe regex
It's called Variable Variables.
for($i = 1; $i < 100; $i++)
{
$varname = "var" . $i;
if($$varname > 0)
echo "Yup.";
}
Adam Voigt
[EMAIL PROTECTED]
On Tue, 2002-07-09 at 14:12, Joseph Szobody wrote:
> So here's what I'm trying to do:
>
> I have a form submitting
If $this is an object, can I have the following link?
Process
Will the URL become too long? Will teh info get passed correctly? thanks
Alexander Ross
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Joseph Szobody wrote:
> So here's what I'm trying to do:
>
> I have a form submitting dozens of variables called var1, var2, var3, .. and on
>and on.
>
> I want to check the value of each of these variables:
>
> for($i = 1;$i < 100; $i++) {
> if($var$i > 0)
> echo "Yup. $var$i is gr
You would have to set up a dummy variable to hold the value of two concatenated
variable names. I'd love to write an example, but work is draggin' me down, sorry!
Martin
>>> "Joseph Szobody" <[EMAIL PROTECTED]> 07/09/02 02:12PM >>>
So here's what I'm trying to do:
I have a form submitting doz
Hello,
this will not work, but what you can do is this:
$ser = serialize($this);
echo "Bar\n";
and then do this in foo.php:
$object = deserialize($_GET['this']);
Another way could be to use sessions, which will be a lot easier to work
with in this case. (http://www.php.net/session_start)
De
You could call another script in language of your choise using $output
=exec('command');
Marek
Michael wrote:
>Hi!
>
>I've been using PHP to write shell scripts and was wondering how to
>implement the following:
>
> - I have a menuing system
> - If a user does not give an input within a ce
Hi Dave:
I have gd installed and now the configure, make and make install are working
fine. but aftere installation, I can't find any extension there.
Yang
"Dave Macrae" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Hi there;
> >
> > I installed Apache2.0
> -Original Message-
> From: Peter J. Schoenster [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 09, 2002 1:26 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Postal / Zip Code Proximity Search
>
>
> I don't know what you mean by straight line. AFAIK all of
> this will be as "the crow
This won't work, you must register it within a session, just remember to
declare the class befor session_start()
Alexander Ross wrote:
>If $this is an object, can I have the following link?
>
>Process
>
>Will the URL become too long? Will teh info get passed correctly? thanks
>
>Alexander Ross
Are you compiling php with the --with-gd=shared option?
Personally (Solaris 8, gcc 2.95.3 , php 4.1.1 and later) I've never
been able to get the gd shared object to work (gd.so load errors), so
I've always ended up compiling it into PHP.
-steve
At 1:23 PM -0400 7/9/02, Yang wrote:
>H
Thanks folks. Worked like a charm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Why not just make the form's input names "var[]" then PHP will make them
into an array:
for ($i = 1; $i < 100; $i++)
{
if ($var[$i -1] > 0)
echo "Yup. ". $var[$i - 1] ." is greater than 0.";
}
"Martin Clifford" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
ðÒÉ×ÅÔ!
Hopp3r wrote:
> I have installed PHP4.2.1 and when I open a browser to look at a test php
> page? all I see is the php code, not the output of phpinfo(). I know it is
> something small that I have overlooked. Can someone help? Please???
>
Yes, you forgot reading the instructions :) You
ðÒÉ×ÅÔ!
PeterV wrote:
>> Warning: Invalid content of \{\} in
>> /home/httpd/includes/fasttemplate.class.php on line 199
You are on windows, aren't you? I remember seeing such a thing some two
years ago. It vanished after php reinstallation. After that I did the
right thing and had microsoft
Hi all.
I have the PHP manual in my PDA but its extraordinary large to search
for a function. Does anybody know a Functions list that I can download
for my PDA? Im looking for something which shows the function and a
short description of what it works for.
function_name() = function_does_this
ðÒÉ×ÅÔ!
Chris Earle wrote:
> So my question is this: how do I get my script to have permissions to write
> or append to any file?
Ask your sysadmin (I can almost bet the answer will be NO, I have to
tell you).
Apache should be running on your system as user nobody, and most
probably does NOT
ðÒÉ×ÅÔ!
Alexander Ross wrote:
> If $this is an object, can I have the following link?
>
> Process
>
> Will the URL become too long? Will teh info get passed correctly? thanks
>
99% you are right, it will definitely be too long for a GET. Besides,
before writing the process_this.php?this=$th
On 9 Jul 2002 at 22:09, [EMAIL PROTECTED] wrote:
> Is there any way to hide my form submitted variables (like
> passwords etc)
> in the location
> bar "http://somedomain.org/checkpassword.php?
> password=mypassword"
> or atleast show in an encypted form n the location bar.
But why bother? Certai
The function shown below only functions with my
Apache on WinNT... I have tried it on my local
Server (thats the one running the Apache and
it works perfectly)... I am trying to step through
a moderately large database (4MB)... However when
I tried the example on the Server for my Work
Place it
Speaking of forms, and I'm sure lots have asked this before me, but anyone
know anywhere I can go to see some examples or existing code for
automatically generating and and validating dynamic forms?
Wait though, I'm already doing this myself. To explain further, what I
really want is an abstra
ðÒÉ×ÅÔ!
Marek Kilimajer wrote:
> This won't work, you must register it within a session, just remember to
> declare the class befor session_start()
This can be pretty risky if your object contains references to external
objects. Works okay for insulated instances, though. Yet I would suggest
On Tue, 9 Jul 2002 22:09:58 -0400 (EDT), you wrote:
>Is there any way to hide my form submitted variables (like
>passwords etc)
>in the location
>bar "http://somedomain.org/checkpassword.php?
>password=mypassword"
>or atleast show in an encypted form n the location bar.
You could use POST rather
> From: Kondwani Spike Mkandawire [mailto:[EMAIL PROTECTED]]
> Subject: [PHP] Working under Apache 1.3 but not Under IIS
>
> The function shown below only functions with my
> Apache on WinNT... I have tried it on my local
> Server (thats the one running the Apache and
> it works perfectly)... I
I'm being asked you evaluate a fairly complex web project using the MS SQL
Server 2000 back-end. A large application will be built, involving lots of
technical and financial information from multiple sources and types of sources
input daily, weekly, monthly, etc. Reports will also be run daily,
Hi,
Can anyone tell me what a cookie is in simple language
with an example??
-Varsha
__
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
Hello,
César aracena wrote:
>
> I have the PHP manual in my PDA but its extraordinary large to search
> for a function. Does anybody know a Functions list that I can download
> for my PDA? I'm looking for something which shows the function and a
> short description of what it works for.
>
> f
On Tue, 9 Jul 2002 15:05:21 -0300, you wrote:
>I have the PHP manual in my PDA but its extraordinary large to search
>for a function. Does anybody know a Functions list that I can download
>for my PDA? Im looking for something which shows the function and a
>short description of what it works fo
Hey,
for good (and funny) tutorial on cookies:
http://www.htmlgoodies.com/tutors/cookie.html
you can find some examples here:
http://www.php.net/manual/en/function.setcookie.php
Derick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I got it fixed by changing the Max Execution Time in the
php.ini file... However, this is ridiculously slow... Does
anyone else have any idea how I can run through a 4 MB+
Database checking 2 fields Without having to wait longer
than 30 seconds... If it was a simple text file it would
have bee
ðÒÉ×ÅÔ!
Varsha Agarwal wrote:
> Hi,
> Can anyone tell me what a cookie is in simple language
> with an example??
> -Varsha
A web connection is made by two machines:
1) the server, where the site is
2) the client, that is, the machine at which sits the user
Once the client sends a request fo
[snip]
I'm being asked you evaluate a fairly complex web project using the MS SQL
Server 2000 back-end. A large application will be built, involving lots of
technical and financial information from multiple sources and types of
sources
input daily, weekly, monthly, etc. Reports will also be run
On Tue, 9 Jul 2002 16:31:50 -0230, you wrote:
>> http://www.coop.mun.ca/verification.php
>>
>> Try and Type in any Name... As it should simply
>> Step through the Database not find it and Respit the Page...
>> However this does not happn...
>>
>> Please Help...
>>
>> if (function_exists(odbc_fet
Hello, I am wondering if you could help me... I can't seem to figure out how to get
sessions working.
Thank You,
Mike
Hi!
Does imap_open in PHP 4.2.1 support STARTTLS?
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
Homepage: http://www.iso-top.de |Jabber: [EMAIL PROTECTED]
iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Index your database on the name and password fields and issue this query
Select count(*) where name = '$namevar' and password = '$passvar'
If count > 0 you have a hit, proceed with rest of authentication, else send
appropriate error msg.
Whatever you do, DON'T make sequential searches through a
http://www.php.net/manual/en/ref.session.php
Start there, and then when you can tell us what the more specific problems
are with your sessions we will be able to help.
Jay
-Original Message-
From: Mike [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 09, 2002 2:20 PM
To: [EMAIL PROTECTED]
header() simply sends response headers - I.e adds/replaces server headers -
it has no effect on request headers sent by the client.
If, for some reason, you want to alter the user-agent you've received from
the client (for testing maybe?) you can do this:
echo $_SERVER['HTTP_USER_AGENT'];
$_SERV
TT
Is this retaliation ?
**DAN**
|+>
|| "Erik |
|| Hegreberg"|
|| |
|||
|| 07/09/02 03:27|
|| PM|
||
101 - 200 of 437 matches
Mail list logo