RE: [PHP] Generating RTF on the fly

2002-06-29 Thread John Holmes
Search before you post. I don't know the answer, but this turned up on google when searching for "generate rtf with PHP" http://paggard.dlight.ru/rtf_gen/ Yeah, it costs, but it looks good. Help a programmer out! I'm sure there are others. Look on hotscripts.com and sour

RE: [PHP] Newbie Q: Fetching vs. Looping

2002-06-29 Thread John Holmes
Depends what you're after. Your query should always return exactly the data you are after. Your tables should be arranged so that is possible. ---John Holmes... > -Original Message- > From: Jed Verity [mailto:[EMAIL PROTECTED]] > Sent: Saturday, June 29, 2002 5:10 P

RE: [PHP] bug in sessions

2002-06-30 Thread John Holmes
e the documentation. ---John Holmes... > -Original Message- > From: Michal Dvoracek [mailto:[EMAIL PROTECTED]] > Sent: Sunday, June 30, 2002 7:37 AM > To: [EMAIL PROTECTED] > Subject: [PHP] bug in sessions > > Hello, > > i discovered bug in sessions: > > w

RE: [PHP] [Session] SID automatically add on all pages?

2002-06-30 Thread John Holmes
you could do something like , which may be easier for someone with an HTML background to understand. It's up to you. ---John Holmes... > -Original Message- > From: Justin French [mailto:[EMAIL PROTECTED]] > Sent: Sunday, June 30, 2002 12:15 PM > To: Tim Stoop; [EMAIL PRO

RE: [PHP] checking date is not greater than today

2002-06-30 Thread John Holmes
Time Functions of the MySQL manual. ---John Holmes... > -Original Message- > From: Timothy J. Luoma [mailto:[EMAIL PROTECTED]] > Sent: Sunday, June 30, 2002 10:31 PM > To: PHP Mailing List > Subject: [PHP] checking date is not greater than today > > > I am tryin

RE: [PHP] Why is this code hanging?

2002-07-02 Thread John Holmes
You're not incrementing $count within your while loop. So it's staying at zero the whole time... ---John Holmes... > -Original Message- > From: Leif K-Brooks [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 02, 2002 4:31 AM > To: [EMAIL PROTECTED] > Subjec

RE: [PHP] A question

2002-07-02 Thread John Holmes
n likely a register_globals problem. You need to update your code or tell them to turn on register_globals in php.ini, since it now defaults to off in new versions of PHP. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] does a form submit from a http page to a https ensure secure data?

2002-07-02 Thread John Holmes
27;re serving a smarter crowd, they may be hesitant to submit their form data, thinking it's going over an unsecured link... ---John Holmes... > -Original Message- > From: B.C. Lance [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 02, 2002 1:13 PM > To: [EMAIL PROTECTED]

[PHP] Help!

2002-07-04 Thread John Lazos
Hi, I installed apache with support of php as i found on the online manual at php.net. I created a simple php file named hello.php PHP Test Page "; ?> and i put the file in my htdocs directory i restarted apache and when i'm trying to access the page http://localhost/hello.php as a res

[PHP] Thanx!!!

2002-07-04 Thread John Lazos
Thanx all for your help it worked..!!! :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HTML & Java script doubt..

2002-07-04 Thread John Legg
e(n<i) { document.form1.OptionList[n].checked=true; n=n+1; } } Option 1 Option 2 Option 3 /This is error line Regards John - Original Message - From: "Balaji Ankem" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 04, 2002 12:04 PM Sub

Re: [PHP] Is there an easy way to divid up HTTP_USER_AGENT?

2002-07-05 Thread John Legg
ay = split(";", $HTTP_USER_AGENT); $ie_version = subStr($agent_array[1], 6,7); } Regards John - Original Message - From: "JJ Harrison" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 05, 2002 3:25 PM Subject: Re: [PHP] Is there an easy wa

Re: [PHP] strange behaviour of unset()

2002-07-08 Thread John Legg
Hi Liviu You also need to unregister the session var using session_unregister - unset will just unset the global. http://www.php.net/manual/en/function.session-unregister.php Rgds John - Original Message - From: "Liviu Andrei" <[EMAIL PROTECTED]> To: <[EMAIL PROTE

Re: [PHP] regex for emoticon codes

2002-07-08 Thread John Legg
Hi Roger Try this: $str = "sometext sometext [emoticon01] sometext [emoticon23] sometext"; $new_str = preg_replace("/\[emoticon(\d\d)\]/", "/image/emot/\\1.gif", $str); print $new_str; Seems to work? Rgds John - Original Message - From: "R

RE: [PHP] shtml & php in the same file?

2002-07-10 Thread John Holmes
> >ending in .php and add the same thing for .shtml. Then, both will be > >parsed by PHP first. > > But then will it be parsed by SSI second, as we would like? Doesn't seem > to... If you're using PHP, you don't need SSI. PHP can do whatever you are doing i

RE: [PHP] How do I import tables into MySQL from web page ...

2002-07-10 Thread John Holmes
Try using backticks, and you don't need spaces after -u and -p $result = `MySQL -uuser -ppassword databasename < filename.sql` Note that if it succeeds, nothing will be returned. Same as when you run the command on the command line. ---John Holmes... > -Original Message- &g

Re: [PHP] Where is the Error

2002-07-11 Thread John Legg
millwOrm There shouldn't be "." (full stop) before $strChar on line 10: $function_ret=ConvertBin(.$strChar); You also have issues on line 30 (the for loop). Rgds John - Original Message - From: "millw0rm" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED

RE: [PHP] HELP!!! Word count

2002-07-11 Thread John Holmes
k you'd be best off with a human deciding these things, though, maybe with a little PHP help. If you make it all automated, what's stopping me from posting 1997_White_Chevy_S10_Loaded_Power_Everything_$2000_Call_555-1212_for_inf o and only being charged 1 cent for it?? ---John Holmes

RE: [PHP] REminder APllication

2002-07-11 Thread John Holmes
> DOes anyone know how to build a reminder application on: > > a) identified users > b) Sorting users' reminders?? Yes. ---John Holmes... http://homepages.tesco.net/~J.deBoynePollard/FGA/questions-with-yes-or-n o-answers.html -- PHP General Mailing List (http:/

RE: [PHP] mysql question

2002-07-11 Thread John Holmes
> ðÒÉ×ÅÔ! Gesundheit > 1LT John W. Holmes wrote: > > How about > > > > SELECT * FROM table WHERE $current_shot BETWEEN start_shot AND end_shot > > *if* that was on Oracle *and* the table was big you'd notice that your > performance goes down. Don't as

RE: [PHP] Benchmarking a site...

2002-07-11 Thread John Holmes
you've got how long it took the page to be created I think PEAR has a module that provides a nice interface for doing this and I'm sure there are others. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] how to know upload progress status

2002-07-11 Thread John Holmes
Not possible with HTTP, as far as I know. The file is simply sent, there's no communication back and forth. ---John Holmes... > -Original Message- > From: S. [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 11, 2002 2:45 AM > To: [EMAIL PROTECTED] > Subject: [PHP

RE: [PHP] Re: 1 Form, 2 Submit-Buttons

2002-07-12 Thread John Holmes
x27; like the example above, then you'll have $Next_x and $Next_y (or the equiv. in the _GET or _POST array). The variables will hold the x/y value of where the image was clicked. You can just check to see if one of those variables is set. ---John Holmes... -- PHP General Mailing List

RE: [PHP] Displaying Database Results

2002-07-12 Thread John Holmes
Put quotes around your value -Original Message- > From: Mark Colvin [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 12, 2002 6:10 AM > To: Php (E-mail) > Subject: [PHP] Displaying Database Results > > I have a php script that queries a MySQL database and I loop through the > results dis

RE: [PHP] PHPDiscuss.com

2002-07-12 Thread John Holmes
> I have started a new website devoted strictly to discussing development > with > PHP. If anyone is interested, you can see it at > http://www.phpdiscuss.com. Wow...a forum. Is that vBulletin your using? Shouldn't you be giving them credit somewhere?? ---John Holmes...

RE: [PHP] checkboxes / form elements

2002-07-12 Thread John Holmes
s them in my PHP script? I know I have to use the > $_POST[] array, but this creates a multidiminsional array, yes? do i > access > it like $_POST[checkbox[1]]?? or $_POST[checkbox][1]?? Yes, the second one, only with single quotes. $_POST['checkbox][1] Note that arrays start at

RE: [PHP] Connecting LocalHost & Remote mySQL DB

2002-07-13 Thread John Holmes
ter to the Tables on my Website mySQL. Just use mysqldump, like someone else suggested. Dump your local database, upload it, and import it. Any PHP solution isn't going to be 100% dependable, because you will run into the 30 second time limit on scripts. You can't really get that many queri

RE: [PHP] Can this be done with mail()?

2002-07-13 Thread John Holmes
emailed to someone? If so, how would > this be done? Instead of using print or echo to display the HTML table, just assign it all to a variable. Then you can print it out later, or mail it, or whatever. Or use output buffering... ---John Holmes... -- PHP General Mailing List (http://www.php

RE: [PHP] PHPDiscuss.com

2002-07-14 Thread John Holmes
I > guess not Exactly, it's the small things that count. Even though it's small, not giving credit to the free program you're using and didn't write, is enough to make me not want to use the site... Give credit where credit is due... ---John Holmes... -- PHP General

RE: [PHP] Variables aren't being passed to php page

2002-07-14 Thread John Holmes
e'. Do you always upgrade programs without reading to see what changes have been made? If so, I have this update program that I'll send you...just run it for me, okay? Check your register_globals setting, like the others said, and read the changelog for your new installation of PHP. ---

RE: [PHP] You are about to leave the secure conexion

2002-07-14 Thread John Holmes
Is the new window your opening secure? Is it an HTTPS URL? Either way, sound like a client side issue to me... ---John Holmes... > -Original Message- > From: Pedro Garre [mailto:[EMAIL PROTECTED]] > Sent: Sunday, July 14, 2002 9:13 AM > To: [EMAIL PROTECTED] > Subject

RE: [PHP] ob_start

2002-07-14 Thread John Holmes
else { > ob_start(); > } > but the compression is never used.. > obstart is always used withouth the gz_handler > is there a way around this? or am I doing something > wrong here? ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: BREAK into the DB

2002-07-15 Thread John Lim
Also see wordwrap( ). "Blue Presley" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > the function you are looking for is called nl2br(). Translated it means > 'new line to .' when you pull you text from your database run it > through this and it will be corr

RE: [PHP] MSSQL and NT

2002-07-15 Thread John Holmes
h variables are available. ---John Holmes... > -Original Message- > From: Gabor Niederlaender [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 15, 2002 8:39 AM > To: [EMAIL PROTECTED] > Subject: [PHP] MSSQL and NT > > Hi all! > > > I went after my problem with the

RE: [PHP] Re: NMTP server and db

2002-07-15 Thread John Holmes
. Set that at whatever and IE will shutdown after that many minutes. Seems to work well if you can't get AT working... ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Installing MYSQL on Windows

2002-07-15 Thread John Holmes
> Hi, > Can anyone tell me steps for installing MYSQL on > windows ?? Umm...download, unzip, run the setup program. How hard is that? ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Date () Help please

2002-07-15 Thread John Holmes
You could use mktime() with date, too... $first_day = date("w",mktime(0,0,1,$month,1,$year)); Set your $month and $year accordingly. ---John Holmes... > -Original Message- > From: Attila [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 15, 2002 8:07 PM > To: [EMAI

RE: [PHP] Online Document

2002-07-15 Thread John Holmes
to update it, she just updates the word document, and resaves it as HTML format in the web root... ---John Holmes... > -Original Message- > From: Glenn Antoine [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 15, 2002 5:19 PM > To: [EMAIL PROTECTED] > Subject: [PHP] On

RE: [PHP] OOH Forms ?

2002-07-15 Thread John Holmes
om/search?sourceid=navclient&q=OOH+forms ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] IIS5 and PHP4 problems

2002-07-16 Thread John Holmes
How about a little reading of the manual... Use $_GET for the URL or $_REQUEST if you want it to cover get, post, and cookie data... ---John Holmes... > -Original Message- > From: Peter Stöcker [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 16, 2002 7:15 AM > To: [EMA

RE: [PHP] Newbie Question on Efficiency : Follow-up Question

2002-07-16 Thread John Holmes
PHP loads everything up before it starts doing anything. It's only going to execute the code it needs to, though, of course. I asked this question a while ago and got that answer. The process of loading all of the code is minimal, though, compared the actually executing the code. ---John H

RE: [PHP] calling a cgi script from php

2002-07-16 Thread John Holmes
How about using the virtual() function? www.php.net/virtual ---John Holmes... > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 16, 2002 7:57 PM > To: php-general > Subject: [PHP] calling a cgi script from php > > Hel

RE: [PHP] Sessions / logins / cookies / security

2002-07-16 Thread John Holmes
w the uid AND md5()'d pwd. Or steal it. :) I hope you have checked your site for any cross-site scripting vulnerabilities. This is exactly where vulnerabilities like this come into play... ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Sessions / logins / cookies / security

2002-07-16 Thread John Holmes
t%3E Now, how about instead of just executing alert("Hi"), I do a location.href='www.myserver.com?var='+document.cookie; and send myself your cookie. Then I just simply make my cookie match yours, and poof, I'm you. :) It all comes down to validating user input and never showin

RE: [PHP] Sessions / logins / cookies / security

2002-07-16 Thread John Holmes
ed to the username and password. Just use uniqid() and md5() to create a unique id for the use, save it in their table, and use that in the cookie. If you base it off of something, it makes it easier to crack... ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Sessions / logins / cookies / security

2002-07-16 Thread John Holmes
gt; > > You don't, if you have anything to protect. If it's just for a forum or > > convenience and might just cause a little headache is someone's user is > > hijacked, then you can do it with a cookie. > > What about if the cookie was set under https / SSL It

RE: [PHP] Require some help about the date comparison

2002-07-17 Thread John Holmes
like that. You can use strtotime() instead of mktime() if you want... ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Sessions / logins / cookies / security

2002-07-17 Thread John Holmes
reated and make me an admin... Like I said, I haven't tested it though. Safe mode might protect against this, not sure. Anyone have any experience here? ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Sessions / logins / cookies / security

2002-07-17 Thread John Holmes
environment to actually test this out with, though...and it would require a lot of work from the hacker...but what else do they have to do. Get a dedicated server...they really aren't that expensive anymore. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Someone Help please

2002-07-17 Thread John Holmes
//now you have an array, $part[], //that holds each element of the //current line, do what you will } ---John Holmes... > -Original Message- > From: Chris Crane [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 17, 2002 1:17 PM > To: [EMAIL PROTECTED] > Subject:

RE: [PHP] Restart process from code?

2002-07-17 Thread John Holmes
You can use exec(), as long as the user PHP is running as has permission to execute the program... ---John Holmes... > -Original Message- > From: Noah Spitzer-Williams [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 17, 2002 1:20 PM > To: [EMAIL PROTECTED]; [EMA

RE: [PHP] Restart process from code?

2002-07-17 Thread John Holmes
So? Use exec(). Use it twice if you have to. If you can run a command on the command line, then you can run it through exec. Only difference is if the user PHP is running as can run the command. ---John Holmes... > -Original Message- > From: Noah Spitzer-Williams [mailto:

[PHP] Installing 4.0.6 to 4.1.1 patch

2002-07-17 Thread John Wulff
I've downloaded the 4.0.6 to 4.1.1 patch but how do i install it? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] missing function? array_change_key_case()

2002-07-17 Thread John Holmes
Works fine for me on 4.2.1 You have to have at least 4.2.0, do you? ---John Holmes... > -Original Message- > From: Jimmy Brake [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 17, 2002 8:53 PM > To: [EMAIL PROTECTED] > Subject: [PHP] missing function? array_change_key

RE: [PHP] postnuke / geekware?

2002-07-18 Thread John Holmes
> hi, > > anyone have an opinion on postnuke versus geekware for a php-based CMS? > > cheers, > jaxon No...I kind of prefer GeekLog... geeklog.sourceforge.net ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Refreshing session variables

2002-07-18 Thread John Holmes
session value is going to take precedence over your local value you just calculated for $secretstring because you call session_start() after it's been set. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Searching...

2002-07-18 Thread John Holmes
is there any better way i dont > know of? or does the 2 queries not mka emuch of a difference You have to use two queries, so there's no getting around that. You should be using count(*) in your first query, it'll make it faster. SELECT COUNT(*) FROM table WHERE ... ---John Holmes.

RE: [PHP] postnuke / geekware?

2002-07-18 Thread John Holmes
t, including modules, blocks and > themes. Yeah, the Nukes do have a lot of development for them and a lot of modules, but it makes them big and bloated. I like geeklog because it's still small and clean. You can still mold it into something that works for you... ---John Holmes... -- PHP

[PHP] Why won't this work?

2002-07-19 Thread John Wulff
Any ideas on why this won't work? It will only include("inc/entrance.php") It never, no matter what the value of $mode, displays collection.php. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Drop Down Box Question

2002-07-21 Thread John Holmes
confusing. There's no way to get "Spock" from the code. You only get the number in the value attribute. If the user were to choose Spock and McCoy, then you'd have: $_POST['ineeddatacaptain'][0] --> 2 $_POST['ineeddatacaptain'][1] --> 4 It's up to the programmer to associate 2 with Spock, and 4 with McCoy. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Problem with sessions.(Again Sorry :)

2002-07-21 Thread John Holmes
d to use session_register() or the like. I would imagine that the older method would be depreciated eventually. It's a whole lot easier to just treat sessions like a variable without that whole register/unregister stuff. The manual actually cautions against using session_register/unregister if regist

RE: [PHP] No text in form submission

2002-07-21 Thread John Holmes
tp://www.php.net/manual/en/configuration.php ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Sessions vs passing variables

2002-07-21 Thread John Holmes
by the same name in the session? If register_globals is on, the session value could be overwriting the GET value. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Sessions vs passing variables

2002-07-21 Thread John Holmes
How are you testing whether the variables were passed or not? What version of PHP are you using and is register_globals ON or OFF? ---John Holmes... > -Original Message- > From: Mike Mannakee [mailto:[EMAIL PROTECTED]] > Sent: Sunday, July 21, 2002 10:57 PM > To: [EMA

RE: [PHP] Faster: Includes or DB Queries??

2002-07-21 Thread John Holmes
files. Includes are faster overall. If you already have a database connection open for other things, then there won't be as much of an overhead for using the database. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Sessions vs passing variables

2002-07-21 Thread John Holmes
$_GET['prod_ids'][0] --> 9 and $_GET['prod_qtys'][0] --> 1. Or, $prod_ids[0] --> 9, etc, since register_globals is on. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Inline Images ?

2002-07-21 Thread John Holmes
e later... > You need to have a separate file that creates your images. Where file.php should create your image headers and send the data. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Session Tracking

2002-07-22 Thread John Holmes
using $variablename ? You just have to call it once. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Simple question I guess.

2002-07-22 Thread John Holmes
etc... Put it into a function and the possible values into an array to make it easier... ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Open-source browser-based POS system?

2003-09-02 Thread John Almberg
Anyone know of an open source, browser-based Point of Sale system? -- John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Open-source browser-based POS system?

2003-09-02 Thread John Almberg
erent items?" -- John Chris Sherwood wrote: a quick search on google revealed a few things http://www.google.ca/search?q=browser+based+POS&ie=UTF-8&oe=UTF-8&hl=en&meta= try that and see if any of those meet your requirements Chris - Original Message - From: "

[PHP] Session var read by form C++ CGI prog ?

2003-09-02 Thread John Bryan
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

Re: [PHP] Session var read by form C++ CGI prog ?

2003-09-02 Thread John Bryan
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

RE: [PHP] Session var read by form C++ CGI prog ?

2003-09-02 Thread John Bryan
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

[PHP] opening remote tar.gz files

2003-09-02 Thread John Ryan
is it possible with PHP to download and open a remote tar.gz file?? I read in the manual that it is, but it never seems to work for me. I tried opening the file with fopen fopen("zlib://http://www.site.com/update.tar.gz";, "r"); but it didnt work Then I tried using the zlib functions but they jus

Re: [PHP] Session var read by form C++ CGI prog ?

2003-09-02 Thread John Bryan
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

Re: [PHP] Session var read by form C++ CGI prog ?

2003-09-02 Thread John Bryan
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 >

Re: [PHP] Session var read by form C++ CGI prog ?

2003-09-02 Thread John Bryan
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

Re: [PHP] Session var read by form C++ CGI prog ?

2003-09-02 Thread John Bryan
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

Re: [PHP] opening remote tar.gz files

2003-09-02 Thread John Ryan
it definately always only contains one file "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > * Thus wrote John Ryan ([EMAIL PROTECTED]): > > is it possible with PHP to download and open a remote tar.gz file?? I read > > in the manual th

[PHP] Front Page User Logout

2003-09-04 Thread John Welty
How can I provide a link which will log the current user out so that they will be prompted again to login. I'm using frontpage authentication on an apache server. I'm using PHP4 to build the pages. Thanks, --John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

Re: [PHP] Front Page User Logout

2003-09-04 Thread John Welty
h usernames by clicking a link that would accomplish the same thing that closing the browser does. Perhaps I need clientside scripting for this? Thanks, --John "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [snip] How can I provide a link which will

[PHP] Opening Zip Files in Linux

2003-09-05 Thread John Ryan
This is kinda off topic, well.. depending on the answer. I downloaded a ZIP file to my server, and want to open it. My version of PHP wasnt compiled with the Zip uncompressing functions, otherwise Id do it with php, so I was wondering if there was a linux-x86 binary that just opens zip files!

[PHP] Re: Opening Zip Files in Linux

2003-09-05 Thread John Herren
John Ryan wrote: This is kinda off topic, well.. depending on the answer. I downloaded a ZIP file to my server, and want to open it. My version of PHP wasnt compiled with the Zip uncompressing functions, otherwise Id do it with php, so I was wondering if there was a linux-x86 binary that just

[PHP] Re: Opening Zip Files in Linux

2003-09-05 Thread John Ryan
ive spent the last 2 hours looking for a solution. i was going to recompile php with zip support for one file. THANK YOU! "John Herren" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > John Ryan wrote: > > This is kinda off topic, well.. depending on the answe

[PHP] curl and sent headers

2003-09-08 Thread John Ryan
is there any way of seeing exactly what headers cURL sent in a transfer, with PHP? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: curl and sent headers

2003-09-08 Thread John Ryan
i found out myself if anyone wants to know... "John Ryan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > is there any way of seeing exactly what headers cURL sent in a transfer, > with PHP? -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] Re: curl and sent headers

2003-09-08 Thread John Ryan
sent to the site, i saw my problem straight away, and modified the PHP script. "Chris Shiflett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > --- John Ryan <[EMAIL PROTECTED]> wrote: > > is there any way of seeing exactly what headers cURL sent in a >

[PHP] site with linux binaries??

2003-09-08 Thread John Ryan
hi, i wanna upgrade php, but i dont have, and can never have root access on my server, plus no gcc or anything, so is there any site with binaries of php for linux-x86, with pretty much, all extras and modules! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

Re: [PHP] Re: URGENT BUSINESS RELATIONSHIP

2003-09-11 Thread John Howard
No! That $15 million is mine! I feel so honoured that you have picked me! Send me the details! Address them to The Lodge Canberra ACT Australia Perhaps I can fly over to meet you and your money. I have no suspicions that you will kill me or anything! Regards, Bob Irwin Server Admin & Web A

[PHP] accept/type

2003-09-12 Thread John Ryan
Is it possible with an Apache confiugartion file to redirect users, if their browser sends a certain accept/type header, and somewhere else if not?? I dont want to do it with PHP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] For Loops and Variables??

2003-09-13 Thread John Ryan
When I use for loops, at the start of each iteration, the variables hold the values from the last loop. First, is there an elegant way of clearing variables at the start of each loop rather than using unset???! It just seems wrong. Also, all my problems would be solved if variables in a for loop

Re: [PHP] Re: PHP|Con insane pricing

2003-09-16 Thread John Coggeshall
your goal, a good book and mostly practice will get you there. Consider that many of these "good books" you speak of are written by people whom are speaking at the conference :) John -- -~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~- John Cogges

[PHP] update password cookie

2003-09-18 Thread John Kaspar
password cookie without having to ask whether or not they want to remember it again? How can I find out when the current cookie expires? Thanks, John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] update password cookie

2003-09-18 Thread John Kaspar
I'm just storing its hash. Then comparing it to the database hash. Is that bad? Is there a good write-up somewhere discussing authentication techniques that you could recommend? Yahoo makes you reenter your password every time you reopen your browser. I'll check other sites though. Thanks

Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread John Nichel
Frank Tudor wrote: It worked like a charmbut guess what. I can't create a connection string to my database. Now I have to find a solution to get this website to work with globals on and mysql. Register globals has nothing to do with making a connection to MySQL. Post your code for the conne

Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread John Nichel
Frank Tudor wrote: I can run mysql from a command line. What I create a connection string using my php.ini file I get failure. mysql_connect() errors My connection string code is very simple: $link_id = mysql_connect("localhost", "username", "password"); $result = mysql_list_dbs($link_id); $nu

Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread John Nichel
e with the php_value "register_globals" "1" or php_flag "register_globals" "on" it failes when i restart my web seerver in the httpd-perl.conf file Frank --- John Nichel <[EMAIL PROTECTED]> wrote: Frank Tudor wrote: It worked like a charmb

Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread John Nichel
Frank Tudor wrote: Yes to the php-mysql rpm, But listen I think it was the way it built the initial appach php mysql configurations I don't think the php.ini refects an accurate setup of my php mysql setup. Frank Let's get away from the php.ini for a moment. Being that you did everything from R

Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread John Nichel
Frank Tudor wrote: Thanks for the response. Ok with php.ini in the ect directory I get a Call to undefined function: mysql_connect() Without the php.ini file all my functions fail, because Mandrake linux has all the latest and greatest apache php and mysql stuff. so during that build (which d

<    4   5   6   7   8   9   10   11   12   13   >