es
Of course thats not really a good thing to do anyways...
--
Shane
On Tuesday 22 Jan 2002 4:27 pm, Jimmy wrote:
> Hi list,
>
> I do a small test on mysql_connect() and mysql_pconnect(),
> and discover a strange behaviour.
>
> $cid1 = mysql_pconnect($host,$user,$pass) or d
Hi Jason
You have set the form's ENCTYPE attribute to 'multipart/form-data' haven't
you?
--
Shane
On Friday 25 Jan 2002 2:08 pm, Todd Cary wrote:
> Jason -
>
> Using the recommended HTML, everything works *except* the file does not
> become part of the d
I am trying to write software that will allow me to pass variables to a php
script like:
index.php/option=contact/step=view
When I do this, I get the varibal PATH_INFO which contains
"/option=contact/step=view". Now, what I want is to have the following:
$option = "contact"
$step = "view"
I
ith the assigned values
> of "contact" and "view", respectively.
>
> ~Chris /"\
> \ / September 11, 2001
> X We Are All New Yorkers
>
Is there a way to add an ftp user and assign them to a directory when the
host server does not and will not load the ftp module?
Shane McBride
RDI Technologies
www.rditech.net
Office: 410-575-6326
Fax:410-575-6327
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
agine that if this is true I could write my own session save/load
handlers to install with session_set_save_handler() and handle
locking/concurrency issues - if so would these work if written in C as a php
extension?
Any info appreciated,
Thanks
--
Shane
--
PHP General Mailing List
s to warn about uninitialised variables (which, if register_globals is
on, could be used by an attacker to make your scripts to bad things...)
- --
Shane
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
sorry, didnt get that that was your prefered method - didnt mean to step on
your toes :)
S
On Sunday 31 March 2002 2:50 am, Lars Torben Wilson wrote:
> On Sat, 2002-03-30 at 17:43, Shane Wright wrote:
> > -BEGIN PGP SIGNE
es.
Any ideas on this?
Shane McBride
RDI Technologies
www.rditech.net
Office: 410-575-6326
Fax:410-575-6327
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, etc..)
sorry aint got any URLs but some googling should get you somewhere...
Shane
On Wednesday 31 October 2001 6:23 pm, Michael Hall wrote:
> I apologize for the only-vaguely-PHP-related nature of this, but I'm
> endlessly impressed with the knowledge here.
>
> I'm lookin
o achieve the result another way. A
Java applet would do the job - although you will need to sign it and users
will need to grant it permission to read their hard drives (I think this is
how it works, it's been a while...)
Good luck
Shane
On Friday 02 November 2001 3:01 pm, fitiux wrote
Hi Michael
How about explode()ing it using '/' as the seperator, then finding the
element in the resulting array that begins with '~', strip that first
character using substr() and bod's your uncle...
I'd write the code but I've had a long day...
Shane
with '~', strip that first
> > character using substr() and bod's your uncle...
> >
> > I'd write the code but I've had a long day...
> >
> > Shane
> >
> > On Friday 02 November 2001 6:11 pm, [EMAIL PROTECTED] wrote:
> > > I
Hi
Have a look at the PHP tests on Brainbench.com - they're of a different ilk
but may be useful (I think they're still free)...
[dunno about the copyright though - but it should say on the site, if nothign
else it might help with some pointers]
--
Shane
On Sunday 18 Nov 200
Hi
Nope, this is fine
[not necessarily good programming practise mind, but thats a different
story...]
--
Shane
On Sunday 18 Nov 2001 6:13 am, phantom wrote:
> Is there any inherit danger or taboos against changing the value of a
> variable from an integer to a string?
>
> exa
Hi
You could have a look at the GTK+ bindings for PHP - AFAIK they let you write
standalone apps.
There's info on the PHP web site ( www.php.net ).
--
Shane
>
> I'm looking for information on using PHP for standalone applications.
> Specifically, I need to create a PH
mm, thats true - there is no compiler as such. PHP probably isnt the right
language for you in this case :(
--
Shane
On Sunday 18 Nov 2001 11:43 pm, John Monfort wrote:
> I just got it.
> So far, it doesn't look like it lets convert your code to a .exe code.
> My client
Hi Kris
Thats because you've wrapped the time() call and the addition inside a pair
of doublequotes.
Remove those and it'll work fine...
Regards
--
Shane
On Saturday 29 Dec 2001 6:35 pm, Kris Wilkinson wrote:
> Just recently I've noticed an issue with setcookie. My scrip
eated from browser with
session' methods, if that makes any sense, ]
--
Shane
On Saturday 29 Dec 2001 6:35 pm, Kris Wilkinson wrote:
> Just recently I've noticed an issue with setcookie. My scripts which
> normall ran :
>
> setcookie ("myCookie","Blah&q
Hi Urb
Can you not just set the cookie again [using the updated expiry date].
If I remember correctly, this should work..
--
Shane
On Tuesday 27 Nov 2001 5:45 pm, Urb LeJeune wrote:
> Speaking of cookies, is there a way using session control
> to modify the expiration date of a coo
oblem remained.
It happened in both the shm and mmap modes. the versions are PHP 4.0.5 as an
apache DSO and APC 1.1.0pl1.
Has anyone seen this before? Is there anything else thats likely to ceuse
problems with APC?
Any help appreciated,
Regards
Shane
--
PHP General Mailing List
Addslashes() is probably getting called twice on the data on the insert...
if you have magic_gpc on, any inputted data already has the necessary escapes
- so you shouldnt need to call it again...
Hope that helped :)
--
Shane
On Saturday 01 Dec 2001 1:14 pm, Daniel Alsén wrote:
> Hi,
&g
Hi
> i think that php sends out headers showing that the page is html.not
> sure bout this, but you might have to send a diff header..
This is true - you should send a content type of either text/x-wap.wml or
text/vnd.wap.wml (for WML 1.0 and 1.1 respectively)...
header('Content-Type:
p > /dev/null
(also, I tend not to have PHP direct output to /dev/null, but to configure
cron not to send emails on completion - that way you get the info when you
run the script on the command line but dont get overrun with pointless emails)
Hope that helps :)
--
Shane
On Monday 10 Dec 2001 5
Actually, this is in PHP 4.1.0 which has just been released...
..here's the line from the changelog:
"Added 'W' flag to date() function to return week number of year using ISO
8601 standard. (Colin)"
--
Shane
On Tuesday 11 Dec 2001 3:37 pm, Nick Ward wrote:
>
this
(search the list archives for details).
2 - automatic refresh. There's an HTML meta tag that does this, check out an
HTML reference.
Hope that helps
--
shane
On Wednesday 12 Dec 2001 9:17 pm, DigitalKoala wrote:
> hi folks,
>
> i'm trying to display something like &q
ut Linux/Apache/PHP]
Hope that helps
--
Shane
On Thursday 13 Dec 2001 1:13 pm, sunny AT wde wrote:
> I also forgot to ask:
>
> are messageboards really big bandwidth suckers?? I get about 2000
> messages posted a day on my messageboard and I use up nealry 20 gigs
> with that.
another resounding YES vote on this corner
[anything so I dont have to do it all myself]
--
Shane
On Thursday 13 Dec 2001 5:45 pm, Jim Lucas wrote:
> the site that I design for has converted all of the echo""; print() and
> any other printing function of php into a
but it can understand
[ive never had any problems anyways...]
--
Shane
On Thursday 13 Dec 2001 6:14 pm, l0t3k wrote:
> Sunny,
> AFAICR, is for Netscrape, which apparently cant understand
> for some reason..
>
> Sunny At Wde <[EMAIL PROTECTED]> wrote in messa
aking the connection from
(most likely localhost)?
--
Shane
On Thursday 13 Dec 2001 6:14 pm, pong-TC wrote:
> Hello All
>
> I am trying to connect MS SQL, but got the error message as follows:
>
> Warning: MS SQL message: Login failed for user 'pong'. (severity 14) in
>
points at your dynamic page...
Hope that helps...
--
Shane
On Thursday 13 Dec 2001 7:56 pm, Jon Shoberg wrote:
> Any ideas on how to pull this off.
>
> I would like to have http://mydomain.com and http://www.mydomain.com
> resolve to my /index.html page. When a user typ
make your own login scheme using an HTML form for username/password
and setting a cookie to flag that the user is 'logged in'. Then, when the
user wants to log out, clear the cookie and job done :)
--
Shane
On Saturday 15 Dec 2001 5:37 am, J.F.Kishor wrote:
> hello all,
>
&
e the
users is likely to visit (while the user is sitting there reading the page...)
It isnt appropriate in all situations, but it can be a useful trick... :)
--
Shane
On Saturday 15 Dec 2001 7:39 pm, René Fournier wrote:
> What you're saying makes sense--that loading ALL the nav button imag
l' on them?? I cant access
them by name because of the square brackets, and I cant access them by going
through all form elements in case there are other checkboxes that dont want
to be included.
Is there a tidy way around this, does any of the above make sense?
Thanks
--
Shane
--
PHP G
Hi Charles,
As a button, ideally two in fact - 'select all' and 'unselect all'.
I've done it easily with ASP sites - where the '[]' is not required to have
the values passed back as an array.
(I know I could find a non-array way of doing it but its a pain...
Hi Martin,
Excellent, thanks for your help :)
Regards
--
Shane
On Monday 17 Dec 2001 10:15 pm, Martin Towell wrote:
> you _can_ reference it by name - try this:
>
>
> function my_select(type)
> {
> frm = document.forms.test;
> ele = frm["mycheckbox[]
r than the weakest part of standard
40bit SSL yes?
If I'm wrong, arent a lot of people putting a lot of confidence in something
that really isnt secure (i.e. all SSL sessions...)??
--
Shane
On Thursday 20 Dec 2001 9:07 pm, TD - Sales International Holland B.V. wrote:
> On Thursday 20 D
't be any problem theoretically.
I imagine mod_gzip would help in this respect - but I'd like it to be
switched on and off within PHP.
Anyone know a nice way of doing this?
Thanks
--
Shane
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
Hi,
You dont have the book field in the asv_bible table indexed. Use this to
index it
CREATE INDEX myindexname ON asv_bible(book);
(the primary key fields are ok because PostgreSQL creates a unique index to
implement the PRIMARY KEY constraint).
Hope that helps :)
--
Shane
> I hav
Hi Nick,
No, this isnt possible - but the constructs in PHP should allow you to do
anything you can do with SSI just as easily.
--
Shane
On Friday 21 Dec 2001 5:45 pm, Nick wrote:
> Is it possible to have a .php file parse SSI's? I tried adding .php as a
> SSI file but it overwr
vars
I've registered -- shouldn't the values be there as well?
This code was all working, now it's busted, any ideas? Might I have missed a
compile options? I've been taking blind stabs at workarounds with no luck.
Thanks in advance . . .
-- Shane
--
PHP General Mailing List (htt
Running the cgi-module trying to execute a perl script, dug through the
archives found something that would at least return something:
exec("/full/path/to/file.cgi", $results, $errorCode);
while (list(,$line) = each($results)){
echo $line, "\n";
}
if ($errorCode){
echo "OS Error: $errorCode\n
thing like is in the C API where you can
feed it many buffers in a while loop and it will construct
the uncompress stream.
If this is possible, I'd appreciate hearing from someone
who knows how to do it.
Thanks in advance,
Shane
--
Shane Wegner: [EMAIL PROTECTED]
http://www.cm
searching for some help with
a simple login form and cookies, this thread would be useless.
peace,
-Shane
On Wed, Jul 8, 2009 at 12:23 PM, Bob McConnell wrote:
> From: Tony Marston
>
> > I do not follows rules which cannot be justified beyond the expression
> "It
> &
but usable and will get better and better :)
if anyone wants to help out let me know. I hope the community finds this
useful.
peace,
-Shane
de and technologies that phpdfs is
built upon are very very familiar to the php community already. just php
and your favorite flavor of web server and away you go.
thanks for the note,
-Shane
>
>
> /Per
>
> --
> Per Jessen, Zürich (16.1°C)
>
>
> --
> PHP General Mai
2009/7/22 João Cândido de Souza Neto
> You made a mistake in your code:
>
>
>
> must be:
>
>
also works.
-Shane
>
>
> --
> João Cândido de Souza Neto
> SIENS SOLUÃÃES EM GESTÃO DE NEGÃCIOS
> Fone: (0XX41) 3033-3636 - JS
> www.siens.c
attention from the folks at the Storage
Systems Research Center at UC Santa Cruz. http://www.ssrc.ucsc.edu/
if anyone has questions or wants to get involved please let me know.
you can download phpdfs here:
http://code.google.com/p/phpdfs/downloads/list
peace,
-Shane
can anyone tell me why the cURL code below produces a POST request as
expected on linux, but the same code on freebsd is forced to be a GET
request?
the linux box is running php 5.2.11
the freebsd box is running 5.3.2
is there a bug in 5.3.2? a search does not turn anything up.
On Mar 30, 2010, at 19:50, Tommy Pham wrote:
On Tue, Mar 30, 2010 at 7:36 PM, Shane Hill
wrote:
can anyone tell me why the cURL code below produces a POST request as
expected on linux, but the same code on freebsd is forced to be a GET
request?
the linux box is running php 5.2.11
the
On 23/03/2011 17:46, Jack wrote:
Hello All,
I'm having a problem with this line of code which worked fine for years:
$l_url2 = ".".$_GET[SERVER_NAME];
Here is the error:
[Wed Mar 23 13:33:49 2011] [error] [client 16.139.201.61] PHP Notice: Use
of undefined constant SERVER_NAME - assumed
I don't think you can send a POST to a .html page. Maybe your page
(register_new_member.html) should be .php instead? Either that or you might
have to change your :
> When I click the submit button (after completing a [member registration]
> form), I get the following error message:
>
> Me
I would highly recomend filezilla:
http://filezilla.sourceforge.net/
It's open source, it works great and it doesn't have any ads or spyware like
some of the other 'free' windows ftp programs.
>
> "Nathan McIntyre" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Hello!
> >
ient to see how they do
it. filezilla is opensource:
http://filezilla.sourceforge.net/
Good luck.
Shane
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t!
Thanks,
Shane
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
To read this list I use thunderbird:
http://www.mozilla.org/projects/thunderbird/
It's an email client instead of a newsgroup reader. Just filter the
php-general messages into a separate folder and sort it by thread.
Super easy to use and a very nice piece of software.
Shane
Zhang
I have a form variable I want to increment by a value of 1 each time the
page loads. Here's what I have so far:
if(!isset($correct)) {
$correct = 0;
} else {
$correct = $correct++;
}
Seems like it should work?
Thanks!
Shane
--
PHP General Mailing List
It doesn't seem to work either way for me.
Shane
-Original Message-
From: Jake McHenry [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 12:01 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Simple: Whats wrong with this?
> No.
>
> $correct++;
>
> Is all you
$correct++
}
Shane
-Original Message-
From: Adam Voigt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 12:06 PM
To: Shane McBride
Cc: PHP
Subject: RE: [PHP] Simple: Whats wrong with this?
Well I accidentally deleted your original email, but I didn't see where
you were gett
No, the value still is not incrementing.
-Original Message-
From: Chris W. Parker [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 12:25 PM
To: Shane McBride; PHP; [EMAIL PROTECTED]
Subject: RE: [PHP] Simple: Whats wrong with this?
Shane McBride <mailto:[EMAIL PROTEC
How about passing the form variables to a hidden field on the next page? I
used this for several page forms before. Also, sessions work well.
Shane
-Original Message-
From: Firman Wandayandi [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 3:43 PM
To: [EMAIL PROTECTED]
Cc: PHP
Gotcha. I typically use javascript to validate before the form is posted to
validate.
shane
-Original Message-
From: Chris W. Parker [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 6:23 PM
To: Shane McBride; PHP
Subject: RE: [PHP] Retain form values...
Shane McBride <mai
Actually all form validation is done before the form action takes place, so
that way we do not loose input.
shane
-Original Message-
From: Chris W. Parker [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 6:38 PM
To: Shane McBride; PHP
Subject: RE: [PHP] Retain form values
Where can I find some info on integrating Oracle and PHP?
I had some PHP front ends to a MySQL database, worked great. Our DBAs
want to change the back end from MySQL to Oracle 10g. How hard would
it be to convert my PHP scripts, and where would I go to read up on
Oracle <--> PHP?
Thanks
On 6/10/05, Richard Lynch <[EMAIL PROTECTED]> wrote:
> On Fri, June 10, 2005 8:48 am, Shane Presley said:
> > Where can I find some info on integrating Oracle and PHP?
>
> http://php.net/oracle
>
> pretty much covers it.
Thanks! You're right, that looks pretty
le-discard-path' '--enable-track-vars' '--enable-trans-sid'
'--enable-yp' '--enable-wddx' '--enable-mbstring'
'--enable-mbstr-enc-trans' '--enable-mbregex'
'--with-pear=/usr/share/pear' '--with-imap=shared' '--with-imap-ssl'
'--with-kerberos=/usr/kerberos' '--with-ldap=shared'
'--with-mysql=shared,/usr' '--with-pgsql=shared'
'--with-unixODBC=shared' '--enable-memory-limit' '--enable-bcmath'
'--enable-shmop' '--enable-versioning' '--enable-calendar'
'--enable-dbx' '--enable-dio' '--enable-mcal'
'--with-apxs2filter=/usr/sbin/apxs'
However, there is a section about dbx...
dbx support enabled
dbx version 1.0.0
supported databases MySQL ODBC PostgreSQL Microsoft SQL Server
FrontBase Oracle 8 (oci8) Sybase-CT
Not sure what that is?
Shane
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e old
libphp4.so. So the Apache version was still without Oracle.
All I'm trying to do is get PHP running with Oracle support.
Thanks
Shane
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
pen shared object file: No such file or
directory
[FAILED]
Not sure how I could set that for Apache?
Shane
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thank you! That fixed it. I just had to define the Oracle env
variables on the httpd startup script.
So that was a huge help :)
Shane
On 6/15/05, Kristen G. Thorson <[EMAIL PROTECTED]> wrote:
> I ran into a similar problem trying to get ODBC working with a Progress
> database.
y_push($tableList, $row[0]);
}
return $tableList;
}
function perform_query($query, $link) {
if($link) {
$result = mysql_query($query, $link) or die('Query
failed: ' . mysql_error());
}
else {
die('No DB link');
}
I'm bin2hex'ing images from an upload script and inserting into a mysql
blob field. The php script that re-packs the hex data back to binary,
does the createimagefromstring() and streams the image to the browser is
generating a corrupted image... i.e. The image looks fine until part-way
down..
Kristen G. Thorson wrote:
MySQL blobs are actually limited to 64K. I think a MEDIUMBLOB holds
about 16 MB if you're dead-set on storing the image in the database.
You might want to check that your max_allowed_packets size is large
enough. You can find that by querying
SHOW VARIABLES LIKE '
TIA- Shane
I thought PHP would only run as CGI on IIS? Right now I'm trying to config
Apache.
- Original Message -
From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
To: "Shane McBride" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, January 27,
I am getting a whole lot closer to getting IIS to work with PHP loading as ISAPI.
Now, when I try to get authorized, it never works. It's probably a varialbe in the
.ini file I have not set. I keep getting the user prompt box, and the realm changes
after the first login failure
NT5
PHP 4.0.4pl
option I can think of. The script
works fine on Win98, Xitami, and PHP.
Any ideas?
Shane
Here's my input:
Get Xitami for Windows. You can not do any version of IIS on win98. Xitami
is VERY easy to configure. Then you of course will need PHP.
First, install Xitami, then PHP. The PHP installer will ask you what type
of
web server you run and configure PHP and the web server for
t-end is going to be rather dynamic since the data content depends
largely on the previous choices of the end-user. One or two tables with 20-30 fields.
5-6 pages of html and PHP.
I'm just scouting this out, and am VERY confident with the contributors to this list
and their opinions.
TIA,
Shane
It looks like your not assigning the arrays correctly. Here's a long piece
of code I use: (it has alot of extra code that you don't need.)
Couldn't get list!");
} else {
while ($row = mysql_fetch_array($sql_result)) {
$title = addslashes($row["title"]);
$price = $row["price"];
$image
I have loaded PHP according to the install file but I can not see any .php file in a
browser.
When I look under the ISAPI properties in IIS is appears that the dll is not loading.
It has a red arrow pointing down.
Any ideas?
shane
Yea I had to move the php4ts.dll dile to the winnt directory. Thanks.
Have you every tried to get authentication to work using PHP as isapi?
- Original Message -
From: "Chris Fry" <[EMAIL PROTECTED]>
To: "Shane McBride" <[EMAIL PROTECTED]>
Cc: &l
OK, I loaded PHP with the ISAPI filter, but still no luck with authentication..
Here's the basic script that works on Apache/Linux:
:
http://www.php.net/manual/en/function.setcookie.php
-Shane
- Original Message -
From: "phpLover" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 03, 2001 11:25 PM
Subject: [PHP] Session With Cookies
> How can I maintain a user session using cookies?
>
OK, I'm not sure if the file is getting uploaded or not, and it certainly is not
getting copied to the permanent directory.
Here's what I have:
This creates the upload form:
This is the action from that form:
// Creates the image file with a timestamp
$timestamp = time();
$image= $timestamp
Any ideas?
Apache
win2k
php 4.0.4pl1
- Shane
Unless I am mistaken, I am pretty sure you need to have sometype of .php
extension. Unless you could put a line in the httpd.conf file like:
AddType application/x-httpd-php .html
BUT, I HAVE NEVER DONE THIS SO PLEASE WAIT FOR A MORE EDUCATED
ANSWER.
- Shane
- Original Message
I tried for days to get IIS to authorize a user with $PHP_AUTH_USER and never got
anywhere, so I used apache and it works fine.
I wish I just knew why. I loaded PHP as ISAPI, like the manual indicated, but no luck.
I would like to use some of the functionality of IIS/NT5.0
Any ideas
ut no luck...
To: "Shane McBride" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, February 06, 2001 4:49 AM
Subject: Re: [PHP] I wish: IIS and ISAPI $PHP_AUTH_USER
> >I tried for days to get IIS to authorize a user with $PHP_AUTH_USER and
> never got anywhere
Phil,
Did you happen to copy the php4ts.dll into the winnt directory? I am not
sure of the error you are getting, but it may help?
- Original Message -
From: "Phil Driscoll" <[EMAIL PROTECTED]>
To: "Shane McBride" <[EMAIL PROTECTED]>; <[EMAIL PRO
Phil,
Hey check out this thread:
http://www.phpbuilder.com/forum/read.php3?num=3&id=100242&thread=100047
- Original Message -
From: "Phil Driscoll" <[EMAIL PROTECTED]>
To: "Shane McBride" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: T
How can I ensure that a file is transferred in ascii mode using the following:
File to Upload:
emplresults.txt
applresults.txt
I think it may be how you specify the enctype?
- Shane
Nick,
I'm not sure were you are getting the value of $PHP_AUTH_USER from, so you
might want to try this snippet. This causes a dialog box to open and ask for
a username/password.
Also, in your code: you do not need to escape the quotes in the header.
- Original Message -
From: "Nick K
is, or any other, topic....
- Shane
- Original Message -
From: "John Huggins" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 07, 2001 12:10 PM
Subject: [PHP] PHP as Scripting Language
>
> Well, I have compiled a php binary for use as ye
Hum, maybe the count() function. Works with mysql_fetch_array() too. Here's
a sample:
$a[0] = 1;
$a[1] = 3;
$a[2] = 5;
$result = count ($a);
//$result == 3
Here's a link:
http://php.net/manual/en/function.count.php
DISCLAIMER: I am by no means well-versed in this, or any other, topic..
Yea, I guess I should have stripped out some of the special code before I
posted. The ^ replaces \ when the user inserts the windows path, than I
replace the ^ with \\ so the path works correctly.
I did get this to work. I was sure fighting it though...
- Shane
DISCLAIMER: I am by no means an
!
You sent: , a
byte file with a mime type of .
This is taken from Julie Meloni's website. She writes GREAT books. "PHP
Essentials" is essential.
http://www.thickbook.com/extra/php_fileupload.phtml
Thanks Julie!!!
- Shane
DISCLAIMER: I am by no means an expert on this, or a
Look into addslashes() and stripslashes()
Are you getting $text from a database query?
- Shane
DISCLAIMER: I am by no means an expert on this, or any other, topic...
- Original Message -
From: "Floyd Baker" <[EMAIL PROTECTED]>
To: "Floyd Baker" <[EMAIL PROT
my webserver has the POST data stored in a variable, i jsut need to know
how to tell PHP the post data.
On the webserver GET support works perfectly, as does POST support, all
i need to do is tell PHP what the data is.
Any help would be appreciated.
-Shane
--
PHP General Mailing List (htt
That works on a normal webserver yes.
However, I am programming my own, and I have the Posted Data stored in
the memory of the webserver, and when i execute the PHP.exe i need to
tell it what the PostData is somehow.
- Shane
John Nichel wrote:
Shane Mc Cormack wrote:
Hi
I'm trying to inte
I have my own reasons for wanting to write my own webserver, but thats
not the point here. I just need/want to know how to tell the PHP.exe
what the POST variables are.
- Shane
Travis Conway wrote:
Why reinvent the wheel by writing your own webserver? Apache allows for
it to be used within
101 - 200 of 200 matches
Mail list logo