[PHP] Session for creating a unique shopping cart for each user

2003-10-31 Thread Tore E. Mackay
Hi, I am creating a shopping cart but experiensing some difficulty in creating unique shopping carts for each user. When I try to create a session I get this error message: Warning: session_start(): Cannot send session cookie - headers already sent This is the code: if(isset($_COOKIE["cartId"]))

Re: [PHP] Session for creating a unique shopping cart for each user

2003-10-31 Thread Tore E. Mackay
TECTED] > Have you already sent anything to the browser? Once the first echo has > been performed, you can't send header information, as the header is > sent with the first bit of text. > > > On Friday, Oct 31, 2003, at 15:47 Europe/Amsterdam, Tore E. Mackay > wrote: > > &g

Re: [PHP] recursive acronym - PHP

2003-11-01 Thread Larry E . Ullman
Why PHP is a recursive acronym?, I know that before was called Personal Home Page, I now is Hypertext PreProcessor, but why is recursive?, I person told me that it could be wroten as Pre Hypertxt Processor, thanks. PHP stands for "PHP: Hypertext Preprocessor". It's called a recursive acronym be

Re: [PHP] Re: PHP SESSION DURATION.....

2003-11-25 Thread Larry E. Ullman
Correction: I meant to say: Are session variables stored server-side or client-side like cookies? The session data is stored on the server. The session cookie (if there is one) is stored in the browser. How do I go about making a session last longer that the duration of the browser? Set the expi

RE: [PHP] Add Reply-To to this list(s)

2003-11-25 Thread Glenn E. Sieb
that behaviour in any of those. So, care to tell us which M$-Windows mail program supports this? Thanks, Glenn -- Glenn E. Sieb System Administrator Lumeta Corporation +1 732 357-3514 (V) +1 732 564-0731 (Fax) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] (0t) SSH cp (copy help)

2003-12-11 Thread Glenn E. Sieb
Or go up to http://winscp.vse.cz/ Great little program :) G. -- Glenn E. Sieb System Administrator Lumeta Corporation +1 732 357-3514 (V) +1 732 564-0731 (Fax) > -Original Message- > From: Pablo Gosse [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 11, 2003 10:50 AM &

[PHP] Php Windows server

2003-12-19 Thread E. Ricardo Santos
Somebody could say to me if something special exists to form for the treatment of the sessions in a Php Windows server? I have a code that works perfectly in Apache, nevertheless, when executing it in a Windows server the sessions do not activate. I am using php 4.3.3 like ISAPI. There

[PHP] server behavior menu/list in windows server

2003-12-19 Thread E. Ricardo Santos
I have a dynamic table to update registries. In this table there are fields to relate to other tables.Therefore, I create "select" to show them. These behaviors of server, perfectly work in the servant apache but in the one of Windows, simply n shows nothing to me in the pagina. When exemp

[PHP] HELP!! ISS does not load the ISAPI of PHP

2003-12-19 Thread E. Ricardo Santos
Good, I follow with Windows ISAPI PHP Server: Now the IIS, in the card: " ISAPI FILTERS " show me "php" with arrow red and downwards. It says NOT LOADED. Somebody knows so that this can happen? The archives and declarations is correct, just as route a "phpîsapi.dll". I have returned to form the

[PHP] Re: HELP!! ISS does not load the ISAPI of PHP

2003-12-19 Thread E. Ricardo Santos
32 > 3 . Copy php4ts.dll to c:\windows\system32 > 4 . Copy php.ini to c:\windows\system32 > 5. go ISAPI Filters and add .php (c:\windows\system32\phpisapi.dll) > 6. go Application Configuration select Mappings tab and add new extentions > mapping .php (c:\windows\system32\phpisapi.dll) >

[PHP] html or php to pdf whith pdflib?

2003-12-19 Thread E. Ricardo Santos
Hello, somebody knows like turning a file HTML or php to pdf by means of pdflib but without having to write line to line? that is, a file already existing php or HTML, can be turned with pdflib? This I ask it because to where it studies pdflib, exit pdf is due to write line by line and

Re: [PHP] onChange

2003-12-22 Thread Larry E . Ullman
I have 2 list fields in a form. The second is populated basing on selection in field 1. Can anyone pls tell me how to do this in PHP ? You can't do this with PHP. PHP is server side which means it only reacts after a request has been made to the server (by loading a Web page or submitting a form

[PHP] dynamic list/menu in php

2004-01-15 Thread E. Ricardo Santos
I have a php page to update records of a table. There are two fields that are used to relate to other tables reason why they are like list/menu. The problem is that these "select" must show the list to me of elements of the table that contains the data but the selected value must update the t

[PHP] php dinamic list/menu

2004-01-15 Thread E. Ricardo Santos
I have a php page to update records of a table. There are two fields that are used to relate to other tables reason why they are like list/menu. The problem is that these "select" must show the list to me of elements of the table that contains the data but the selected value must update the t

[PHP] Re: dynamic list/menu in php

2004-01-15 Thread E. Ricardo Santos
thanks you very much -- - "Are you still wasting your time with spam?... There is a solution!" Protected by GIANT Company's Spam Inspector The most powerful anti-spam software available. http://mail.spaminspector.com "Justin

[PHP] i can't show two dinamic lit/menu

2004-01-15 Thread E. Ricardo Santos
i can't show two dinamic list/menu per page. the server say: too many server behaviors -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Segmentation fault problem

2004-01-21 Thread E. Stuart Hicks
I can't get onto bugs.php.net right now for some reason so I will post this in here and hope someone finds it. I've recently installed and set up Horde / IMP to access my email from remote. I'm running the Courier mail system and its IMAP daemon. I also have UW IMAP 2002e built into PHP v4.3.4 a

RE: [PHP] Segmentation fault problem

2004-01-22 Thread E. Stuart Hicks
I still can't access anything on bugs.php.net so I'm not sure exactly what you need. I grabbed all of the execute() frames, though, and ran that print function and got this: (gdb) print (char *)(executor_globals.function_state_ptr->function)->common.function_name Attempt to extract a component of

RE: [PHP] Segmentation fault problem

2004-01-22 Thread E. Stuart Hicks
php-4.3.4/main/main.c:1729 1729retval = (zend_execute_scripts(ZEND_REQUIRE TSRMLS_CC, NULL, 3, prepend_file_p, primary_file, append_file_p) == SUCCESS); Stu -----Original Message- From: E. Stuart Hicks [mailto:[EMAIL PROTECTED] Sent: Thursday, January 22, 2004 2:07 PM To: &#

RE: [PHP] Segmentation fault problem

2004-01-23 Thread E. Stuart Hicks
AIL PROTECTED] Sent: Friday, January 23, 2004 5:34 AM To: [EMAIL PROTECTED] Cc: E. Stuart Hicks Subject: RE: [PHP] Segmentation fault problem the function who is causing the seg fault is preg_match_all maybe this helps (http://bugs.php.net/bug.php?id=20698): [28 Nov 2002 6:26am EST] thingol at mail do

RE: [PHP] Segmentation fault problem

2004-01-23 Thread E. Stuart Hicks
Didn't help. I did, however, narrow it down to one line, though. This consistently crashes PHP with a seg fault. Stu -Original Message- From: E. Stuart Hicks [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 11:46 AM To: 'Martin Luethi'; [EMAIL PROTECTED] Su

RE: [PHP] Why we love Microsoft (0t)

2004-01-23 Thread E. Stuart Hicks
Between Amazon.com, SCO, UCITA, the Microsoft antitrust case, and many other 'incidents' thus far, there are many other collective groups of people that understand trademark and copyright law better than us geeks. Our field is growing fast and promises to be lucrative as it matures and redefines l

RE: [PHP] Why we love Microsoft (0t)

2004-01-23 Thread E. Stuart Hicks
Oops. Make that 'there *aren't* many other collective groups...'. My typing's a bit off today. -Original Message- From: E. Stuart Hicks [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 6:26 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Why we love Mic

Re: [PHP] How to attach files with mail

2001-01-22 Thread Ernest E Vogelsinger
come >each time... [snip] Have you checked the rights the PHP-User has on the directory and file? ...ebird >O Ernest E. Vogelsinger (\)http://www.1-at-web.at/ ^ ICQ# 13394035 -- PHP General Mailing List (http://www.php.net/) To unsubs

Re: [PHP] Netscape caching problem

2001-01-22 Thread Ernest E Vogelsinger
Pragma: no-cache"); [snip] You're missing a double quote at the gmdate phrase. Use header("Expires: " . gmdate("D, d M Y H:i:s") . " GMT"); ...ebird >O Ernest E. Vogelsinger (\)http://www.

RE: [PHP] Search Engines and PHP

2001-01-23 Thread Ernest E Vogelsinger
d will be passed to the 404 handler. Within the 404 handler, parse the url, extract the session id and parameters, and execute the .php file. Just as an example, ...ebird >O Ernest E. Vogelsinger (\)http://www.1-at-web.at/ ^ ICQ# 13394035 -- PHP General Mailing

Re: [PHP] Date/Time from Unix timestamp

2001-01-24 Thread Ernest E Vogelsinger
all I can find are methods >to convert the current date/time to a Unix timestamp. > >Can anyone give me an example? iewhat date/time does 977676902 come >out to? [snip] Perl says it is "Sun Dec 24 17:55:02 2000" ...ebird

Re: [PHP] Genuine Opportunity

2001-01-25 Thread Ernest E Vogelsinger
ive. Have you ever tried or consideredmaking money >using the >medium of the internet? Are you marketing or promoting a business >opportunity or product [trash] ...ebird >O Ernest E. Vogelsinger (\)http://www.1-at-

Re: [PHP] whois

2001-01-25 Thread Ernest E Vogelsinger
information for Internet # sites. Specifically this is registered for "ba": Top-level domain : ba Description : Bosnia and Herzegowina NIC handle : ba6-dom WHOIS server : RWHOIS server : Web-based query : E-mail query : Last updated : 21 Jun 2000 12:54:00 -0400 More about "

Re: [PHP] isset()

2001-02-22 Thread Ernest E Vogelsinger
t; returns true unset($myvar); isset($myvar) => returns false empty($myvar) => returns true My advice: avoid comparing to false or true (and since these are constants, don't put them in quotes ;->). // bad way if (isset($myvar) == false) // better way if (!iss

Re: [PHP] isset()

2001-02-22 Thread Ernest E Vogelsinger
At 19:07 22.02.2001, Joe Stump said: [snip] >I'll take an extra bazillionth of a second to know for sure >I have what I need [snip] Do you really know _how_ right you are? ...ebird >

Re: [PHP] Sessions and naming a file with SID

2001-02-22 Thread Ernest E Vogelsinger
.ebird >O Ernest E. Vogelsinger (\)http://www.1-at-web.at/ ^ ICQ# 13394035 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

php-general@lists.php.net

2001-02-22 Thread Ernest E Vogelsinger
nction for any value. Example: "; echo $time; echo "gettime = $gettime"; ?> ...ebird >O Ernest E. Vogelsinger (\)http://www.1-at-web.at/ ^ ICQ# 13394035 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTE

RE: [PHP] good ide?

2001-02-27 Thread Ernest E Vogelsinger
[snip] Visit PHPEd home page at http://www.soysal.com/PHPEd ...ebird >O Ernest E. Vogelsinger (\)http://www.1-at-web.at/ ^ ICQ# 13394035 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] Pulling my hair out over Netscape...

2001-02-28 Thread Ernest E Vogelsinger
using a random value as SEARCH parameter, e.g. http://www.myhost.com/myapp.php?rv=0987412&...other parameters Your application must ensure that the random value is as random as possible. This makes the URL "unique" and will bypass any ill-behaved cache (it won't help if the use

Re: [PHP] Need an array parser(CONT)

2001-02-28 Thread Ernest E Vogelsinger
t;, "blah2", "some_value2"))); print(showArray(null, $a); ?> this should recursively go into multi-dimensional arrays and construct an output similar to your requirements. ...ebird >O Ernest E. Vogelsinger

Re: [PHP] Restrict Access per IP Addresses

2001-02-28 Thread Ernest E Vogelsinger
[snip] is not contained in , mask Enter Address: Enter Network: Enter Subnetmask: [snip] ...ebird >O Ernest E. Vogelsinger (\) http://www.1-at-web.at/ ^ ICQ# 13394035 -- PHP Gener

Re: [PHP] changing the .ini file

2001-03-01 Thread Ernest E Vogelsinger
isapi.dll) you need to down and restart the IIS Admin service (Web Publishing Service is not sufficient). Reason: the ISAPI reads the ini file once upon being loaded, and it remains loaded with IIS until shutdown. Hth, ...ebird >O Ernest E. Vogelsinger (\)http://www.1-at-web

Re: [PHP] Restrict Access per IP Addresses

2001-03-01 Thread Ernest E Vogelsinger
low him >and redirect in 403 Page. [snip] Anthony, given the function contains_ip from my earlier post, you would code: Access ForbiddenYou may not come here from outside our domain"; exit(); } process_domain_app(); ?> ...ebird >O Ernest

Re: [PHP] session_destroy() fails...

2001-03-01 Thread Ernest E Vogelsinger
and thus deleting the session data returns an error code. Try this - it should work: "; echo "input type=submit>"; session_start(); session_register($value); } ?> ...ebird >O Ernest E. Vogelsinger (\)http://www.1-at-web.at/ ^ ICQ#

RE: [PHP] HREFs that can't be

2001-03-02 Thread Ernest E Vogelsinger
try to explicitly start it - receiving an (old or outdated) PHPSESSID cookie from the browser? Maybe Php decides it's not necessary to rewrite the URLs ...ebird >O Ernest E. Vogelsinger (\)http://www.1-at-web.at/ ^ ICQ# 13394035 -- PHP General Mailing L

Re: [PHP] length limit of URL?

2001-03-03 Thread Ernest E Vogelsinger
lient or proxy implementations might not properly support these lengths. ...ebird >O Ernest E. Vogelsinger (\)http://www.1-at-web.at/ ^ ICQ# 13394035 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] passing variables

2001-03-03 Thread Ernest E Vogelsinger
f you start a session and register the data to be remembered with the session, it will be available when the browser comes back again (and presents the appropriate PHPSESSID value, of course). ...ebird >O Ernest E. Vogelsinger (\)http://www.1-at-web.at/ ^ ICQ# 13

Re: [PHP] Converting String to Variable

2001-03-03 Thread Ernest E Vogelsinger
] RTFM ;-> $$str = "blah"; print $monday; ...ebird >O Ernest E. Vogelsinger (\)http://www.1-at-web.at/ ^ ICQ# 13394035 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Re: [PHP] Problems with IIS4 (Win2k)

2001-03-03 Thread Ernest E Vogelsinger
--- Make sure the entry is correct for .php extensions: Executable: %phppath%\php.exe %s %s Both "%s" must exist, or PHP will do nothing at all. ...ebird >O Ernest E. Vogelsinger (\)http://www.1-at-web.at/ ^ ICQ# 13394035 -- PHP

[PHP] Rounding to strange results

2001-03-06 Thread Martin E. Koss
fine, as does all other prices, this is the same with and without rounding. Anything I should look for to solve this problem? Martin. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

[PHP] GD Image failure on WindowsNT - Unable to Open temporary File

2001-03-06 Thread John E. Haag
orary file in c:\inetpub\wwwroot\jhaag\outreach\image_test.php on line 11 Any ideas? Is this a configuration thing? Thanks. -John Haag O N E P O W E R F U L C L I C K All4one Search Machine http://www.all4one.com All4one Submission Machine http://www.all4on

Re: [PHP] are sessions single threaded?

2001-03-06 Thread Ernest E Vogelsinger
multiple session keys, and you won't "hang" ...ebird >O Ernest E. Vogelsinger (\)http://www.1-at-web.at/ ^ ICQ# 13394035 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] session_start

2001-03-07 Thread Ernest E Vogelsinger
ar as I know, all syntax in manual talks about php4 syntax only. How am I going to do that? [snip] do nothing, PHP will assign the value for you. ...ebird >O Ernest E. Vogelsinger (\)http://www.1-at-web.at/ ^ ICQ# 13394035

Re: [PHP] MySQL problem - stumped

2001-03-10 Thread Ernest E Vogelsinger
[snip] Try "AND" instead of "&&", this should work as intended... ...ebird >O Ernest E. Vogelsinger (\)http://www.1-at-web.at/ ^ ICQ# 13394035 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

[PHP] Request for input...

2001-03-15 Thread Mary E Tyler
---- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Dynamically build a form from mySQL table

2001-03-20 Thread Martin E. Koss
PRINT ""; How do I get all this info from the table? Thanks for any help. Martin E. Koss M: 07946-706459 E: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] session

2001-04-14 Thread E K L
ve me your hands, thank you.... E K _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

[PHP] Interbase 'wait / no wait' support

2001-04-23 Thread E. Stuart Hicks
Do the current Interbase functions support allowing the programmer to choose whether he/she wants to open a transaction in 'wait' or 'no wait' status? If not, which status are transactions opened as? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

[PHP] FTP

2001-05-02 Thread E K L
Hi all, I'm facing this serious problem where i can not ftp to my server. Any idea to help to solve the problem? It could be possibly caused by the ownership of the ftp folder. But, i don't know which folder is the right ftp folder for me to change mode. Please h

[PHP] Zip support

2001-05-08 Thread E. Stuart Hicks
I see that there is support for bzip2 and gzip in PHP, so I was wondering if there was any standard zip support that I'm not seeing. Stuart Hicks Senior Programmer / Systems Administrator The Affinity Group -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [

Re: [PHP] Zip support

2001-05-08 Thread E. Stuart Hicks
>news:[EMAIL PROTECTED]... > On Tue, 8 May 2001, E. Stuart Hicks wrote: > > > I see that there is support for bzip2 and gzip in PHP, so I was wondering if > > there was any standard zip support that I'm not seeing. > > > I looked and couldn't find any. The be

[PHP] myODBC from Access to mySQL (Failing)

2001-05-09 Thread Martin E. Koss
ious updates that I must have done to get Access 97 on Win 95 to work and also to do the same from Access 2K on Win 98. On both I have installed myODBC and MDAC2.5 but I'm still pulling my hair out. Any help will save my hair. Thanks. Martin E. Koss M: 07946-706459 E: [EMAIL PROTECTED] --

[PHP] Question re: JOIN statement PHP/MySQL

2001-05-11 Thread John E. Haag
little helpful code? Thanks a lot to everyone. - John Haag O N E P O W E R F U L C L I C K All4one Search Machine http://www.all4one.com All4one Submission Machine http://www.all4one.com/all4submit (614) 575-9897 -- PHP General Mai

[PHP] Urgent:Mysql read only, please help?

2001-05-18 Thread E K L
7;s very urgent. _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] RegEx Question

2001-05-20 Thread George E. Papadakis
it, yet when it wont work when special chars such \n exist between 'testing' and 'blah'. Any ideas? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] include() in a file incuded()

2001-05-20 Thread George E. Papadakis
ng? How can I get $open's value > from this file? > > Thanks! > > Jaime > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administra

Re: [PHP] generating thumbnails

2001-05-21 Thread George E. Papadakis
hanks for your advice > venome > > -- > GMX - Die Kommunikationsplattform im Internet. > http://www.gmx.net > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To c

Re: [PHP] Max execution time for exec()?

2001-05-22 Thread George E. Papadakis
Can anyone verify this? > > chuck > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP G

[PHP] Running two scripts from HTML

2001-05-22 Thread Luis E. Suarez
neral Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] About Commit..

2001-05-23 Thread George E. Papadakis
Use Oracle if you want transactions. Yet, it's going to be slow. Mysql is said to support transactions soon. - Original Message - From: "Hassan Arteaga" <[EMAIL PROTECTED]> To: "Php (E-mail)" <[EMAIL PROTECTED]> Sent: Wednesday, May 23, 2001 4:55 PM

Re: [PHP] outputting lines from file(file.php)

2001-05-23 Thread George E. Papadakis
k lines. > > do I have to pass the lines through something like chop(), or > html_spec_chars? > > How do you guys display php files to the screen in the HTML stream? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECT

Re: [PHP] select the most repeated value in a field

2001-05-24 Thread George E. Papadakis
w do i query to select the most repeated values in a field, say if I hacve list of values as a,b,c,d,e to be submitted to a field call "result" in a table. And I want to know which value appear most in that "result" field amoung all records. cheers Jack [EMAIL PROTECTED] "Th

[PHP] Image Fields and PHP...

2002-01-14 Thread Gonzalez, Zara E
there any way to pull an image out of a database using php? (i.e. store it in a different type of field not image.) Any help is appreciated, Thanks, Zara -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

RE: [PHP] Re: Image Fields and PHP...

2002-01-16 Thread Gonzalez, Zara E
on", "joeyscon"); session_register("consultantid"); $consultantid = $consultantid; # create query statement -- update image field in db using path $sqlr = "UPDATE CONSULTANT SET image= '$patharola' WHERE consultantid=" . $consultantid; # execute the sql statem

RE: [PHP] Re: Image Fields and PHP...

2002-01-16 Thread Gonzalez, Zara E
There are probably more elegant ways of doing this, but it works. :) - Original Message ----- From: "Gonzalez, Zara E" <[EMAIL PROTECTED]> To: "'Lerp'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, January 16, 2002 1:52 PM Subject:

[PHP] More image questions...

2002-01-17 Thread Gonzalez, Zara E
If I have a user input a file in an html form for uploading, is there any way that I can pull the name of the file that was uploaded out some how? For example, I have this code for my form: Upload a file: NOTE: Max file size is KB Whe

RE: [PHP] More image questions...

2002-01-17 Thread Gonzalez, Zara E
A little more looking and I found my solution :) Apparently php automatically makes some variables if you have track_vars turned on. http://php3.de/manual/en/html/features.file-upload.html If anyone is interested. Zara -Original Message- From: Gonzalez, Zara E Sent: Thursday

[PHP] Addslashes not working correctly?

2002-01-18 Thread Gonzalez, Zara E
Hi all, I am having a problem with one of my forms. I was testing to see if it would except data with apostrophes, and it doesn't. I thought maybe I had forgotten to addslashes to the variables...but I had the addslashes in my code... I was reading the manual page about addslashes to see if mayb

[PHP] Memory usage with Apache

2002-01-23 Thread Thomas E. Ruth
, but memory just climbs and climbs until the script ends (if I run it with arguments that yield smaller results). Thanks, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list ad

[PHP] Question: $_* etc or $HTTP_*_VARS etc

2002-01-25 Thread Gonzalez, Zara E
x27;d be happy. (Oh I'm using php 4.1.1 if that makes a difference since I believe the manual said the $_* syntax started at 4.1.0?) Thanks, Zara -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

RE: [PHP] Question: $_* etc or $HTTP_*_VARS etc

2002-01-25 Thread Gonzalez, Zara E
but they aren't showing up there. Help is appreciated, Zara -Original Message- From: Gonzalez, Zara E Sent: Friday, January 25, 2002 10:02 AM To: 'PHP-General' Subject: [PHP] Question: $_* etc or $HTTP_*_VARS etc I am going through some code that I wrote recently and try

RE: [PHP] Question: $_* etc or $HTTP_*_VARS etc

2002-01-25 Thread Gonzalez, Zara E
ables registered by the session module (no $_FILES) Ahh well. Now I know. Thanks. -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 1:11 PM To: Gonzalez, Zara E Cc: 'PHP-General' Subject: RE: [PHP] Question: $_* etc or $HTTP_*_

RE: [PHP] Cheap, PHP, mySQL hosting!

2002-02-14 Thread Gonzalez, Zara E
I use http://www.phpwebhosting.com they're pretty good and cheap too. Zara -Original Message- From: Rick Emery [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 11:07 AM To: 'Thomas Edison Jr.'; [EMAIL PROTECTED] Subject: RE: [PHP] Cheap, PHP, mySQL hosting! http://www.nomo

RE: [PHP] What Do You Think?

2002-02-15 Thread Gonzalez, Zara E
I'd love a site like this. Let's do it quick before I go off traveling in May (so I can find some great pubs to visit ;) Seriously though, I haven't done much with GD (nor do I have a great deal of freetime) but I'd be willing to help out as much as I could on this project if anyone is serious ab

[PHP] Nasty DoS in PHP

2002-04-17 Thread Dustin E. Childers
what I used: We have tested this on apache 1.3.22, and apache 2.0.35, using php 4.1.2 and 4.2.0RC4. It was able to completly kill our servers (not apache, the entire server). The loads of the server will reach 50+. I have contacted apache about this and they said that it is PHP related. Dus

Re: [PHP] Nasty DoS in PHP

2002-04-17 Thread Dustin E. Childers
php.ini: memory_limit = 8M ; Maximum amount of memory a script may consume (8MB) That is in there, I execute the code from a browser. ps aux: nobody 60155 84.6 16.8 88644 87424 ?? R 5:15PM 0:23.23 /www/bin/httpd using 84.6% of CPU and 16.8% of Memory. Dustin E. Childers

Re: [PHP] Nasty DoS in PHP

2002-04-17 Thread Dustin E. Childers
It does not stop after its execution time. We have let this run for 10+ minutes to see if it would crash the server, and it did. It does not affect the person that loads the code in the browser, just affects the server running the code. Dustin E. Childers Security Administrator. CEO, Digitux

Re: [PHP] Nasty DoS in PHP

2002-04-17 Thread Dustin E. Childers
It's a default PHP installation. We aren't calling set_time_limit(). I know its an infinite loop, the point is that if a user wanted to attack a server (happens every day) they would be able to use this method to take the server down. Dustin E. Childers Security Administrator. CE

Re: [PHP] Nasty DoS in PHP

2002-04-17 Thread Dustin E. Childers
"If the user has enough access to the server to place files on it" ? There are hosting places that have PHP and you can just upload the PHP script through FTP and access it in your browser. Dustin E. Childers Security Administrator. CEO, Digitux Security, Inc. http://www.d

Re: [PHP] Nasty DoS in PHP

2002-04-17 Thread Dustin E. Childers
. The most you could probably do is take out your own server, but you never know what script kiddies are willing to do in order to take down a server. Dustin E. Childers Security Administrator. CEO, Digitux Security, Inc. http://www.digitux.net/ - Original Message - From: "James Co

Re: [PHP] Images don't save

2002-04-18 Thread Gunther E. Biernat
; > >Greetings, > Manu > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php > Regards, Gunther E. Biernat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Regex: catchall function to validate Last and First names

2002-04-22 Thread Carl E Shmidt
I have a guest book , and I want to make sure that those people who sign the guest book can't impersonate a member of the web site. the code below checks the input string, which is the guestbook signer's name, against a list of defined web site members. Is there any way to circumvent the code as

[PHP] MS SQL problem

2002-04-29 Thread Joshua E Minnie
m_rows($result); echo "Query returned $rows row(s) of data.\n"; return $rows; } ?> Any help that anyone can provide would be a big help. Thanks in advance. -- Joshua E Minnie/CIO [EMAIL PROTECTED] Phone: 616.276.9690 Fax: 616.342.8750 Nextel: 616.862.2847 "Don't wo

[PHP] Deleting from a SQL db

2002-04-29 Thread Joshua E Minnie
Can anyone help me understand why this code is not deleting the row from the MS SQL db like it should. = 0) echo "User successfully deleted.\n"; ... ?> I am running PHP 4.1.2 binary on Windows NT 4.0 with MS SQL Server 2000 running on Windows 2000. -- Joshua E Minnie/CIO [EM

Re: [PHP] Deleting from a SQL db

2002-04-29 Thread Joshua E Minnie
ry() function. I am not seeing it ever throw an error. It just doesn't delete. Here is the URL of the running script: http://www.acsurf.net/php_db/sql_test.php. I am trying to delete the username josh. -- Joshua E Minnie/CIO [EMAIL PROTECTED] Phone: 616.276.9690 Fax: 616.342.8750 Nextel: 616.

Re: [PHP] Deleting from a SQL db

2002-04-29 Thread Joshua E Minnie
is the URL of the running script: > http://www.acsurf.net/php_db/sql_test.php. I am trying to delete the > username josh. -- Joshua E Minnie/CIO [EMAIL PROTECTED] Phone: 616.276.9690 Fax: 616.342.8750 Nextel: 616.862.2847 "Don't work for recognition, but always do work worthy of recognition." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Looking for an easier regex check...

2002-04-29 Thread Joshua E Minnie
Does anybody know of a good way to make sure that a string contains ONLY certain characters. I tried using ereg("[~`!@#$%^&*(){}-+=|\\/.,<>'\":;\[\]]", $string); but I get parse errors. Besides that I only want the characters A-Za-z0-9_ in $string. Is there is simpler way to ensure this rather

[PHP] Looking for an easier regex check...

2002-04-29 Thread Joshua E Minnie
pler way to ensure this rather than checking to see if any of the characters I don't want are in there? Thank you for your help in advance. -- Joshua E Minnie/CIO [EMAIL PROTECTED] Phone: 616.276.9690 Fax: 616.342.8750 Nextel: 616.862.2847 "Don't work for recognition, but alwa

Re: [PHP] Looking for an easier regex check...

2002-04-29 Thread Joshua E Minnie
Worked great only you forgot to escape the carat character. Thanks for the help. Josh "Miguel Cruz" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Mon, 29 Apr 2002, Joshua E Minnie wrote: > > Does anybody know of a go

Re: [PHP] PHP 4.2.0 on win2k, can't use mysql_fetch_* functions

2002-04-29 Thread Joshua E Minnie
Do you have some sample code that we could look at? -- Joshua E Minnie/CIO [EMAIL PROTECTED] Phone: 616.276.9690 Fax: 616.342.8750 Nextel: 616.862.2847 "Don't work for recognition, but always do work worthy of recognition." "1lt John W. Holmes" <[EMAIL PROTECTED]>

[PHP] Checking to see if a DELETE was successful from MSSQL

2002-04-30 Thread Joshua E Minnie
. 0) echo "User successfully deleted.\n"; else echo "User does not exist\n"; } ?> *Running PHP 4.1.2 on Windows NT 4.0 with MS SQL Server 2000 -- Joshua E Minnie/CIO [EMAIL PROTECTED] Phone: 616.276.9690 Fax: 616.342.8750 Nextel: 616.862.2847 "Don't work for rec

Re: [PHP] Checking to see if a DELETE was successful from MSSQL

2002-04-30 Thread Joshua E Minnie
not there. So how do I detect that situation. -- Joshua E Minnie/CIO [EMAIL PROTECTED] Phone: 616.276.9690 Fax: 616.342.8750 Nextel: 616.862.2847 "Don't work for recognition, but always do work worthy of recognition." "Steve Bradwell" <[EMAIL PROTECTED]> wrote: >

Re: [PHP] Checking to see if a DELETE was successful from MSSQL

2002-04-30 Thread Joshua E Minnie
That was exactly what I needed. Thanks, this group has been so helpful. .:. Josh .:. "Miguel Cruz" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Tue, 30 Apr 2002, Joshua E Minnie wrote: > > I tried that already, it al

[PHP] Hex2Bin??

2002-04-30 Thread Joshua E Minnie
I know that there is a built-in function for bin2hex(), but does any body know have any code to do just the opposite, convert hex2bin? -- Joshua E Minnie/CIO [EMAIL PROTECTED] Phone: 616.276.9690 Fax: 616.342.8750 Nextel: 616.862.2847 "Don't work for recognition, but always do work

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