Re: [PHP] phpSearch

2002-06-06 Thread Miguel Cruz
On Thu, 6 Jun 2002, millw0rm wrote: Hi, I m looking for a Search Engine kinda application which can search content inside my own website, which includes files like php, text, html as well as mySQL db... do u guys hav ne idea where i can find the application or r there ne1 who can develop it

[PHP] dumb guy needs smart answer

2002-06-06 Thread Doug
I get the following error statement from a PHP insert I am trying at http://www.solomonsporch.org/test.php Warning: Failed opening 'http://www.gospelcom.net/mnn/includes/pubNewsTease.php?li=yeslimit=4' for inclusion (include_path='c:\php4\pear') in e:\solomonsporch.org\test.php on line 12 I

Re: [PHP] dumb guy needs smart answer

2002-06-06 Thread Justin French
It can't find the file you asked to include on line 12 of test.php. Post the code and we may be able to pin-point it. The first half of the error is to do with the default include path... in addition to the include path you set with include(), there is a default that PHP also checks (in your

[PHP] PHP CGI cannot be accessed directly

2002-06-06 Thread MindHunter
Yes I have set cgi.force_redirect=0 in my php.ini file. I have trippled checked this! I am running PHP 4.2.0 on Win2K IIS5 as CGI. What am I missing? Any known bugs? Tx MH -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP version 4.2 and above

2002-06-06 Thread Opere, James
I'm working on a windows2000 platform and i need to use php version =4.2 for my graphics.How do i go about solving the problem of gd that can be supported by the above php version? The gd in phpdev 4(php version 4.06) cannot be supported by the bove php version. -Original Message- From:

Re: [PHP] phpSearch

2002-06-06 Thread Ali Reza Sajedi
Hello, try this: http://www.digitalgenesis.com/software/dgssearch.html --- Ali Reza Sajedi Webentwicklung und -betreuung BUP Goettingen 0551/54707-41 [EMAIL PROTECTED] http://www.bupnet.de

[PHP] Using checkboxes

2002-06-06 Thread Dirk Beijaard
Hey all, I have a form, generated in php, with a lot of checkboxes on it. They are initialized from the db. All checkboxes are in a 2d array and they come through to my processing script fine. The only problem is that the ones that are unchecked do not come through. I know that the post

[PHP] oracle again!!!!

2002-06-06 Thread Michael P. Carel
Hi, I've tried installing php with oracle support to my RedHat Linux server. Im recieving this error when executing a sample Ora fucntion to connect to the oracle database.My oracle database works fine but my script canot connect. I've tried this sample script with my AIX server but it works

[PHP] RE: [PHP-DB] cookies and Global variables

2002-06-06 Thread Niklas Lampén
1. Cookies _has_ to be sent before anything else, that just is the case. 2. Sessions are the answer for thisone. Niklas -Original Message- From: Dib, Walid (MED, Stagiaire GEMS) [mailto:[EMAIL PROTECTED]] Sent: 6. kesäkuuta 2002 10:06 To: '[EMAIL PROTECTED]' Subject: [PHP-DB] cookies

Re: [PHP] OOP Question in PHP

2002-06-06 Thread Ilker Cetinkaya
Scott Hurring [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Depends ;-) yea, really depnds, but as you mentioned, having parameterless constructors are more generic, especially when it comes to derive the classes. instead (with option #2), you could do

[PHP] PHP and SSI

2002-06-06 Thread Jerry
Is it possible to use SSI with PHP? If so, where can I learn how to do this? TIA, Jerry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sessions on clustered machines

2002-06-06 Thread Tom Rogers
Hi Have a look at http://www.mohawksoft.com/phoenix/msession.html I just started playing with it and seems to be ok, except when I try my own session handler it chucks a core dump now, but if it is as good as they reckon I wont need my own handler :) Tom At 03:17 PM 6/06/2002, Cameron Just

[PHP] phplib, sessions and multiple dirs

2002-06-06 Thread christopher levine
greetings. i have a website running that has multiple user directories setup as HOST/username. Each username subdirectory has its own subdir named admin where i'm using phplib to do the session/user management and authentication. the problem i'm seeing is that when i login to

Re: [PHP] phpSearch

2002-06-06 Thread millw0rm
We do all that with mnogosearch (http://www.mnogosearch.ru/). gr8 it worked... thnx alot enjoy ;-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Secure File Upload

2002-06-06 Thread Christoph Starkmann
Hi Jim! ok, here are a few questions for you to clarify things. A) Do you want to place a limit on the size of a single file being uploaded? Yes. In fact, i would like to prevent having users upload too big files. There are two reasons: First, I don't want my server space to be consumed by

[PHP] Re: PHP CGI cannot be accessed directly

2002-06-06 Thread MindHunter
I got the problem! php.ini is not saved in c:\winnt by default! Make sure your php.ini is in c:\winnt and NOT in your profile as saved by the installer! Mindhunter [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Yes I have set cgi.force_redirect=0 in my

RE: [PHP] Secure File Upload

2002-06-06 Thread Dan Hardiker
A) Do you want to place a limit on the size of a single file being uploaded? [...] Second, I want to be able to prevent my (limited) traffic to be exhausted. Simple reason: I pay for anything above let's say 10 GB of traffic. So what PHP offers to me AFAIK enables me to protect my space,

Re: [PHP] oracle again!!!!

2002-06-06 Thread Chris Hewitt
Michael, I have not used Oracle from PHP but I may be able to provide some pointers/questions. You do not say where the Oracle database is. If it is on the AIX computer then to connect you will need the system@tnsname form of user name to specify which connection in your tnsnames.ora file to

[PHP] if() statements

2002-06-06 Thread Justin French
Hi, I'm working on a 350+ line message board script with multiple SQL queries, etc. It's starting to get a noticeable (although not major) lag. It's probably the multiple MySQL queries, which I'm going to attempt to minimise and optimise, but it also brings me to a question about if(). does

RE: [PHP] Secure File Upload

2002-06-06 Thread Christoph Starkmann
Hi Dan! A) Do you want to place a limit on the size of a single file being uploaded? [...] Second, I want to be able to prevent my (limited) traffic to be exhausted. Simple reason: I pay for anything above let's say 10 GB of traffic. So what PHP offers to me AFAIK enables me to

Re: [PHP] Secure File Upload

2002-06-06 Thread Jason Wong
On Thursday 06 June 2002 17:53, Christoph Starkmann wrote: I know this, not this new to CGI... ;) The only thing I thought/hoped was that maybe there's a way to recieve the file size information before upping the entire file. It is possible with some browsers:

Re: [PHP] Secure File Upload

2002-06-06 Thread Dan Hardiker
I know this, not this new to CGI... ;) The only thing I thought/hoped was that maybe there's a way to recieve the file size information before upping the entire file. It is possible with some browsers: http://marc.theaimsgroup.com/?l=php-generalm=102079018906224w=2 But you still have

Re: [PHP] global variables without sessions on apache

2002-06-06 Thread Zac Hillier
Thanks Jason, Works great in htaccess Zac - Original Message - From: Jason Wong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 06, 2002 4:08 AM Subject: Re: [PHP] global variables without sessions on apache On Thursday 06 June 2002 06:05, Zac Hillier wrote: Miguel,

RE: [PHP] Secure File Upload

2002-06-06 Thread Christoph Starkmann
Hi again, Dan! But you still have to rely on your visitors as they could simply use another web browser should they wish to DoS your site. Security measures such as logging in before allowing a file upload can come in useful here. I think I have to agree at this point. I was just hoping

RE: [PHP] date problem

2002-06-06 Thread John Holmes
So what did you get? Did it work? (No. I doubt it...) Don't just post a question like Here's what I'm doing...fix it Anyway, your really wasting your time by not using a date or timestamp column. If you don't understand why or realize how easy it is to change it, you've got a lot of learning to

RE: [PHP] date problem

2002-06-06 Thread Dan Hardiker
SELECT COUNT(*) AS c FROM users_table WHERE UNIX_TIMESTAMP( user_regdate ) '1022882400' The only way you can do it with a char column is to select the entire database, load it into a PHP array, using strtotime() to (hopefully) convert May 29, 2002, etc, into a unix timestamp, and then

RE: [PHP] date problem

2002-06-06 Thread John Holmes
SELECT COUNT(*) AS c FROM users_table WHERE UNIX_TIMESTAMP( user_regdate ) '1022882400' The only way you can do it with a char column is to select the entire database, load it into a PHP array, using strtotime() to (hopefully) convert May 29, 2002, etc, into a unix timestamp, and

Re: [PHP] Need some suggestions about community :)

2002-06-06 Thread Hawk
Sorry, my bad, meant a table for each user, not a database :) But I'll go with the shared tables then :P Håkan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Modifying the sort order of a query

2002-06-06 Thread Jay Blanchard
[snip] I've just tried the sub-select approach. Works great on the first page - shows names listed alphabetically sorted by country. However, once I click on 'Next 20' both sorts go bye-bye (neither by name nor country). [/snip] I am late to the thread but I wanted to offer another suggestion.

Re: [PHP] Modifying the sort order of a query

2002-06-06 Thread Andre Dubuc
Thanks Jay, Well, I went back to work on it, and with the combined suggestions from the list, it's working now. I just had to insert the sub-select on the called page as well. That seemed to be the problem. Thanks for your suggestion -- I used part of it. Regards, Andre On Thursday 06 June

RE: [PHP] Sessions question (-enable-trans-sid)

2002-06-06 Thread Jeff Field
Thanks to all for their help on this. As a follow-up, and after a bunch of playing around with this yesterday, here's what I've come to learn. Perhaps it will be helpful to others: With enable-trans-id compiled into PHP and the following directives in php.ini: session.use_cookies = 0(PHP

[PHP] Stripping illegal characters out of an XML document

2002-06-06 Thread Daniel Pupius
Hi there. I'm working with RDF/XML that is strict on what characters are allowed within the elements and attributes. I was wondering if anyone had a script that processed a string and replaced all illegal-characters with their HTML code, for example is converted to and to . It should also work

[PHP] Re: Can't Connect to INFORMIX DB

2002-06-06 Thread Gastón
Thanks for the answer.. But this is the story now.. I've finally made Informix PHP work using ODBC. That's working fine now. And about native functions, i've downloaded the manual instalation of PHP, and now i have the extensions, dlls, and all that stuff. But still can't make it work. I've

[PHP] array_walk

2002-06-06 Thread Chris Boget
If you use array_walk with an associative array, the only arguments that PHP automatically passes to the defined array are the numerical/element keys. Is there any way you can force it to pass the associative keys? For example, I have an array: $bob = array( this = other ); Instead of passing

[PHP] Re: Using checkboxes

2002-06-06 Thread Dan Koken
This always works for me.. == /* *\ ** chk[] is the list of check boxes sent to browser. ** If chk[$i] equals $i as as you loop ** through the array.. then it was checked. ** But first

[PHP] Number formatting

2002-06-06 Thread Scott
Hi gang- I am trying to format a number coming from a csv file that I am importing then sending to a database. Being the wonderful program that Excel is there is a column that contains a number that only has a decmimal if there is a value. So 3.05% will display, 3% will display as 3. It is

[PHP] Re: Can't Connect to INFORMIX DB

2002-06-06 Thread Michael Davey
Remove the semi-c0lon from the following line in php.ini: ;extension=php_ifx.dll And then restart your web-server if your run PHP as a module... Mikey GastóN [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Thanks for the answer.. But this is the story now..

Re: [PHP] Is this possible

2002-06-06 Thread Analysis Solutions
On Thu, Jun 06, 2002 at 05:32:45AM -, James Edgar wrote: class myClass { function myFunc($var) { include(xml.inc); $obj = new xml($data,xml); And what happened when you ran this? Why not tell us? In the future, please post

Re: [PHP] array_walk

2002-06-06 Thread Dan Hardiker
Instead of passing this and other to your array, PHP passes 0 and other. Is there any way I can make it so that it passes this? [pulled from the manual directly] Example 1. array_walk() example $fruits = array (d=lemon, a=orange, b=banana, c=apple); function test_alter ($item1, $key,

[PHP] Retrieving text from a URL using PHP

2002-06-06 Thread Anthony Ritter
Is there any way to retrieve data (for example - the text *within* a table) from another URL so that only the text appears and not the html (tables, cells, colors, etc.) Below is a script which opens and reads a URL and then outputs the complete URL. I am just looking for the text output.

Re: [PHP] Retrieving text from a URL using PHP

2002-06-06 Thread Jason Wong
On Thursday 06 June 2002 23:43, Anthony Ritter wrote: Is there any way to retrieve data (for example - the text *within* a table) from another URL so that only the text appears and not the html (tables, cells, colors, etc.) strip_tags() -- Jason Wong - Gremlins Associates -

RE: [PHP] Retrieving text from a URL using PHP

2002-06-06 Thread Leotta, Natalie (NCI/IMS)
In theory, I would guess you could use combinations of explode and strstr to maybe explode on , then run strstr on so you get everything after the but before the next . Then you'd probably have to implode it or something. There might be a better way to do it with just substr and strstr so you

RE: [PHP] Retrieving text from a URL using PHP

2002-06-06 Thread Leotta, Natalie (NCI/IMS)
I wish I'd seen this before I sent my message! -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06, 2002 10:46 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Retrieving text from a URL using PHP On Thursday 06 June 2002 23:43, Anthony Ritter wrote: Is

Re: [PHP] long PHP array and HTML forms question

2002-06-06 Thread Steven Jarvis
Jason Wong wrote: Page 2: I want the user to be able to use none, some, or all of the fields, so I don't know how many elements will be in the array. $color[] = $_POST[color]; That should be: $color = $_POST[color]; Actually from your results below it seems like you've enabled

Re: [PHP] Retrieving text from a URL using PHP

2002-06-06 Thread Anthony Ritter
Thank you Jason. I'm still trying to figure out how to implement the strip_tags() function on the script below so that the output of the URL is straight text. Please advise if you get a chance. TR . html head titleRetrieving text from a

Re: [PHP] if() statements

2002-06-06 Thread Analysis Solutions
On Thu, Jun 06, 2002 at 07:52:28PM +1000, Justin French wrote: It's starting to get a noticeable (although not major) lag. It's probably the multiple MySQL queries, which I'm going to attempt to minimise and optimise, but it also brings me to a question about if(). does the process of PHP

[PHP] Mail routing/reply to woes

2002-06-06 Thread Dennis Gearon
I am the webperson for a couple of sites, new ones. I've set up several addresses, some I get and respond to. What I would like, for all the addresses on the box, is for someone to be able to run their browser's mailere to be able to download the mail, and also send mail from the server th3e

Re: [PHP] Stripping illegal characters out of an XML document

2002-06-06 Thread Analysis Solutions
On Thu, Jun 06, 2002 at 12:47:57PM +0100, Daniel Pupius wrote: Hi there. I'm working with RDF/XML that is strict on what characters are allowed within the elements and attributes. I was wondering if anyone had a script that processed a string and replaced all illegal-characters with their

Re: [PHP] Stripping illegal characters out of an XML document

2002-06-06 Thread Daniel Pupius
Thanks, I've created a delimited file of all the HTML Character references. I then loop through and do a replace as previously suggested. However, IE's XML Parser still doesn't like the eacute; which represents é For all intents and purposes it's ok and works with the RDF processor. However,

[PHP] Anyone?

2002-06-06 Thread Jas
I posted this yesterday and did not get any response at all? Just wondering if someone can give me some insight into some security measures for a content management application... Posted 06/05/2002 Ok, I am not a security expert so I would like to know if my security measures I have implimented

[PHP] Fwd: Worm Klez.E immunity - a public service by Jess Ragaza of Internet Architecture, Inc.

2002-06-06 Thread Jess Ragaza
From: mmcree [EMAIL PROTECTED] Subject: Worm Klez.E immunity Date: Thu, 06 Jun 2002 04:53:27 -0400 Klez.E is the most common world-wide spreading worm.It's very dangerous by corrupting your files. Because of its very smart stealth and anti-anti-virus technic,most common AV software can't

RE: [PHP] Secure File Upload

2002-06-06 Thread Miguel Cruz
On Thu, 6 Jun 2002, Christoph Starkmann wrote: Yes. In fact, i would like to prevent having users upload too big files. There are two reasons: First, I don't want my server space to be consumed by files too big. Second, I want to be able to prevent my (limited) traffic to be exhausted.

Re: [PHP] Retrieving text from a URL using PHP

2002-06-06 Thread Miguel Cruz
echo strip_tags($contents); miguel On Thu, 6 Jun 2002, Anthony Ritter wrote: I'm still trying to figure out how to implement the strip_tags() function on the script below so that the output of the URL is straight text. Please advise if you get a chance. TR

Re: [PHP] Fwd: Worm Klez.E immunity - a public service by Jess Ragaza of Internet Architecture, Inc.

2002-06-06 Thread Sqlcoders.com Programming Dept
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Great... along with bieng infected with the klez virus, everyone on php.net now has the address book of someone from the Department of Juvenile Justice. This is the best advertisment so far for why uncle sam should switch to linux. Vive le

Re: [PHP] Stripping illegal characters out of an XML document

2002-06-06 Thread Analysis Solutions
Heya: On Thu, Jun 06, 2002 at 04:54:15PM +0100, Daniel Pupius wrote: Thanks, I've created a delimited file of all the HTML Character references. I then loop through and do a replace as previously suggested. However, IE's XML Parser still doesn't like the eacute; which represents é For

Re: [PHP] Retrieving text from a URL using PHP

2002-06-06 Thread Anthony Ritter
Thanks Miguel! TR -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] NEED HELP (passing variable to new page)

2002-06-06 Thread Igor Portnoy
Hello, I am having hard time passing the variable to the next page. May be you can help me. Let me explain: I am using mySQL database to store information about images (ID, name, author, description, etc). I am pulling some of the information to create this (look at the example here:

[PHP] Returnpath for mail

2002-06-06 Thread andy
Hi there, I am wondering if it is possible to send email via the mail function with lets say adress_1 and then if the recipient clicks on return he will adress his email automaticly to adress_2. I found this in my docs, but does not work though: $mailHeaders .= Return-Path: .$adress_return.\n;

[PHP] Trying to list a directory content HELP PLEASE

2002-06-06 Thread webmaster mbtradingco
I know my doubt is probable odd, but I would ask your help please. I need a user to be able to select an image from a directory, from a drop down box. For this I need to list all the images available on the directory, hence, I have this code: select size=1 name=normal1 ?php

Re: [PHP] Returnpath for mail

2002-06-06 Thread Adam Voigt
You mean like the Reply-to:[EMAIL PROTECTED] header? Adam Voigt [EMAIL PROTECTED] On Thu, 2002-06-06 at 13:08, andy wrote: Hi there, I am wondering if it is possible to send email via the mail function with lets say adress_1 and then if the recipient clicks on return he will adress his

[PHP] Arrays: Please help before I go insane?

2002-06-06 Thread Chris Boget
To see what I'm working with, go here: http://www.melancholy.org/test_tree.php You may want to copy the source and the (mySQL) db structure and set it up on your system there to test it out. Though, if you don't want to do that, I show the output at the very bottom of the page. One note: I

Re: [PHP] Returnpath for mail

2002-06-06 Thread Pushkar Pradhan
I think you have to use a Reply-To header when sending your mail. The recipient's mail program will prompt him to use the reply to address rather than the from address. Hi there, I am wondering if it is possible to send email via the mail function with lets say adress_1 and then if the

[PHP] multiple selects and $_POST['vars']

2002-06-06 Thread Chris Knipe
Lo all, How do you manage multiple selects and the data returned by the form? All my attempts at doing this, only returned one variable from the selected options, not all of them?? My test... form method=post action=blah.php select multiple name=bleh option value=11/option option

RE: [PHP] multiple selects and $_POST['vars']

2002-06-06 Thread Jay Blanchard
[snip] form method=post action=blah.php select multiple name=bleh option value=11/option option value=22/option option value=33/option option value=44/option option value=55/option /select /form [/snip] Change this like follow; form method=post action=blah.php select

Re: [PHP] multiple selects and $_POST['vars']

2002-06-06 Thread 1LT John W. Holmes
form method=post action=blah.php select multiple name=bleh option value=11/option option value=22/option option value=33/option option value=44/option option value=55/option /select /form form method=post action=blah.php select multiple name=bleh[]

[PHP] Re: Returnpath for mail

2002-06-06 Thread Manuel Lemos
Hello, On 06/06/2002 02:08 PM, Andy wrote: I am wondering if it is possible to send email via the mail function with lets say adress_1 and then if the recipient clicks on return he will adress his email automaticly to adress_2. I found this in my docs, but does not work though:

RE: [PHP] multiple selects and $_POST['vars'] MORE

2002-06-06 Thread Jay Blanchard
[snip] The value selected is now in $a_name [/snip] Or $_POST['a_name'] HTH! Jay Give a man a program, frustrate him for a day. Teach a man to program, frustrate him for a lifetime. It's hip to snip! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] multiple selects and $_POST['vars']

2002-06-06 Thread Ray Hunter
Or you can added the bleh as an array... example: select multiple name=bleh[] Thank you, RAY HUNTER -Original Message- From: Chris Knipe [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06, 2002 5:56 AM To: [EMAIL PROTECTED] Subject: [PHP] multiple selects and $_POST['vars'] Lo

[PHP] Re: Anyone?

2002-06-06 Thread Jas
I cannot believe that no one with alot of PHP and MySQL experience has not replied to this post yet. Is PHP not a secure scripting language? I would really like a little insight into this question, anyone? Jas [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I

Re: [PHP] Re: Anyone?

2002-06-06 Thread Adam Voigt
Yes, PHP is a secure programming language. On Thu, 2002-06-06 at 13:18, Jas wrote: I cannot believe that no one with alot of PHP and MySQL experience has not replied to this post yet. Is PHP not a secure scripting language? I would really like a little insight into this question, anyone?

Re: [PHP] Returnpath for mail

2002-06-06 Thread Chris Hewitt
Andy, I stand to be corrected, but I think you mean the user hits reply rather than return, in which case it is Reply-To you need. I think Return-Path is for error messages for undeliverable mail. Now someone is probably going to tell me I'm quite wrong... Regards Chris andy wrote: Hi

[PHP] Help on Session and cockies

2002-06-06 Thread Marcos Lois Bermúdez
A have two webs made in php, both uses a authentication based on session suport. I use in every page a session_start(); and a session_name( name); to get different name for the sessions but when i get login i one web, and then go to the other i get the same login. what happend? What means the

[PHP] am i just a session tracking idiot?

2002-06-06 Thread dan radom
I can't seem to get session tracking to work to save my life. The end result I'm after is to store the value of the single column returned from this query .. SELECT user_id from users WHERE user_name = '$user_name' AND user_password = '$user_password' .. for use throughout the site. The

RE: [PHP] Re: Anyone?

2002-06-06 Thread Jay Blanchard
[snip] I cannot believe that no one with alot of PHP and MySQL experience has not replied to this post yet. Is PHP not a secure scripting language? I would really like a little insight into this question, anyone? [/snip] [rant warning!] I'll bite! ;-( A. You gave so much code that those of us

[PHP] Re: Help on Session and cockies

2002-06-06 Thread Jas
With sessions, the session_start(); function will initiate a session in the severs tmp directory with a file name such as 55abhc8a83kqk etc. The session_name(name_of_var); function allows you to create a unique name for your session vs. the 55abhc8a83kqk. A good way to check your sessions is to

Re: [PHP] Re: Anyone?

2002-06-06 Thread Jas
Ok, so you have pointed out an problem, now that you have been so kind to do this could please recommend how to resolve this? Thanks, Jas Jay Blanchard [EMAIL PROTECTED] wrote in message 002201c20d80$552be430$8102a8c0@niigziuo4ohhdt">news:002201c20d80$552be430$8102a8c0@niigziuo4ohhdt... [snip]

RE: [PHP] Re: Anyone?

2002-06-06 Thread Jay Blanchard
[snip] Ok, so you have pointed out an problem, now that you have been so kind to do this could please recommend how to resolve this? [/snip] You may want to do some research on securing plain text transmission. http://www.ariadne.ac.uk/issue5/securing-forms/

Re: [PHP] Fwd: Worm Klez.E immunity - a public service by Jess Ragaza of Internet Architecture, Inc.

2002-06-06 Thread Sqlcoders.com Programming Dept
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - From http://www.snopes2.com/computer/virus/immunity.htm (Urban myths) Claim: A free immunity tool will protect your PC from the Klez.E virus. Status: False. Sample message: Klez.E is the most common world-wide spreading worm.It's

Re: [PHP] Number formatting

2002-06-06 Thread Shane Wright
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi $aprTemp = number_format($apr, 2); which in the case of 3.05 will return 305.00 and 300.00 for 3%. Anyone have a snippet to test and display properly so that 3% would be 3.00, etc. you could try this... $val = sprintf(%0.02f, $val); Cheers

RE: [PHP] multiple selects and $_POST['vars'] MORE

2002-06-06 Thread Philip Olson
This is not how they work, the name goes under select not within option. And as others have suggested, using an array is key here: name=bleh[]. http://www.php.net/manual/en/faq.html.php#faq.html.select-multiple Regards, Philip Olson On Thu, 6 Jun 2002, Jay Blanchard wrote: [snip] The

Re: [PHP] Fwd: Worm Klez.E immunity - a public service by Jess Ragaza of Internet Architecture, Inc.

2002-06-06 Thread Sqlcoders.com Programming Dept
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, Yes this is a virus, a Trojan horse to be precise. I was commenting that it's nice enough to publish the contents of the senders address book (see the mail To: cc: headers)... See my other email for details. HTH, Dw. - - Original

RE: [PHP] Re: Anyone?

2002-06-06 Thread Ray Hunter
The whole idea is that we offer help after you have exhausted all other resources... If security is an issue then I suggest getting on a security mailing list and post your questions. Plus, it would be better if you found out how to solve the problems that are associated with security... check

Re: [PHP] Arrays: Please help before I go insane?

2002-06-06 Thread Chris Boget
Now, what I'm trying to do is build a tree based on the data in the DB. It's working relatively ok if I uncomment the code that is on line 48 and comment out line 49. However, what I really want to do is build a fully associative array doing this and now** an array that has string keys

Re: [PHP] multiple selects and $_POST['vars']

2002-06-06 Thread Chris Knipe
Thanks everyone!! Appreciate it - Original Message - From: 1LT John W. Holmes [EMAIL PROTECTED] To: Chris Knipe [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, June 06, 2002 7:18 PM Subject: Re: [PHP] multiple selects and $_POST['vars'] form method=post action=blah.php

RE: [PHP] multiple selects and $_POST['vars'] MORE

2002-06-06 Thread Jay Blanchard
[snip] This is not how they work, the name goes under select not within option. And as others have suggested, using an array is key here: name=bleh[]. [/snip] You're right, my bad...just fired off a reply quickly without reading thoroughly. I was too engrossed in a lengthy code bit about

Re: [PHP] multiple selects and $_POST['vars'] MORE

2002-06-06 Thread Chris Knipe
Yeah, agreed there!!! You're not supposed to specify a name on a option, just on the select itself. I've changed it now to use the array bit, and the form results return it as a array as expected. Thanks for all the help... I think it's time to download a new copy of the manual again... :)

Re: [PHP] am i just a session tracking idiot?

2002-06-06 Thread Shane Wright
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi This may sound silly - but is there enough free disk space on whatever partition /tmp is mounted on? Alternatively, as a workaround, you could create a new directory and give the web server user permission to write to it and tell PHP to

Re: [PHP] Re: Anyone?

2002-06-06 Thread Jas
Sorry, never thought about using a search on forms to check my existing security measures... I am currently employing the use of SSL, however I am not that familiar with securing forms in the traditional sense so I do appreciate your comments. And also, I am not trying to show off my code,

[PHP] FW: NEED HELP (passing variable to new page)

2002-06-06 Thread Igor Portnoy
So can anybody help me with my problem? -Original Message- From: Igor Portnoy Sent: Thursday, June 06, 2002 9:36 AM To: '[EMAIL PROTECTED]' Subject: NEED HELP (passing variable to new page) Hello, I am having hard time passing the variable to the next page. May be you can

Re: [PHP] am i just a session tracking idiot?

2002-06-06 Thread dan radom
I've just tried that. /foo is owned by nobody and is mode 777. there's 135M available on that partition. * Shane Wright ([EMAIL PROTECTED]) wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi This may sound silly - but is there enough free disk space on whatever partition /tmp

RE: [PHP] FW: NEED HELP (passing variable to new page)

2002-06-06 Thread Igor Portnoy
It passes the wrong value to the next page. Click on first or the second image on the first page. In the new window the ID is set to 4, however the ID of first image is 2 not 4 (look at the source code). -Original Message- From: Ray Hunter [mailto:[EMAIL PROTECTED]] Sent: Thursday, June

Re: [PHP] am i just a session tracking idiot?

2002-06-06 Thread dan radom
what's weird is that if i set session.save_handler = mm, i obviously don't get the file error, but it still won't work. here's another example of what i've tried... mars:~/apache/htdocs/test.radom.org$ cat test.php ? // create a new session session_start(); // register a session-variable

[PHP] [PLEASE HELP] Passing variable to new page.

2002-06-06 Thread Igor P.
Hello, I am having hard time passing the variable to the next page. May be you can help me. Let me explain: I am using mySQL database to store information about images (ID, name, author, description, etc). I am pulling some of the information to create this (look at the example here:

[PHP] Download Page?

2002-06-06 Thread Nick Richardson
Hi all, I was wondering how i could make a download 'landing' page, that once a user has filled out the download form and submitted it, it will send the file they are requesting as a download (not display a link to it, or display it in the browser) and also render a page that says something like

Re: [PHP] FW: NEED HELP (passing variable to new page)

2002-06-06 Thread 1LT John W. Holmes
Asking twice doesn't help, bud. It's just going to piss people off. If someone has an answer they'll let you know, otherwise look for other resources. ---John Holmes... - Original Message - From: Igor Portnoy [EMAIL PROTECTED] To: [EMAIL PROTECTED] '[EMAIL PROTECTED]' Sent: Thursday,

Fw: [PHP] [PLEASE HELP] Passing variable to new page.

2002-06-06 Thread Kevin Stone
Question.. why are you opening up a full sized new window with the javascript popup script? I susspect the problem has something to do with the javascript, although I'm not going to take the time to test it myself. You can open a new page in an HTML link by setting target=new. You shouldn't

Re: [PHP] Download Page?

2002-06-06 Thread Kevin Stone
Common question becuase of it's somewhat unintuitive nature, but it is very simple. Do a search for keywords header and Content-disposition. That should reveal what you want. Good luck. -Kevin - Original Message - From: Nick Richardson [EMAIL PROTECTED] To: PHP General [EMAIL

Re: [PHP] am i just a session tracking idiot?

2002-06-06 Thread Chris Knipe
Have you tried using $_SESSION['bgcolor'] = bleh It might work... who knows... - Original Message - From: dan radom [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 06, 2002 8:36 PM Subject: Re: [PHP] am i just a session tracking idiot? what's weird is that if i set

Re: [PHP] [PLEASE HELP] Passing variable to new page.

2002-06-06 Thread Chris Knipe
echo script language=\JavaScript\; echo function pop1() {; echo window.open(\info.php?prod_id=$result[0]\); }; \\ $result[0] is variable that stores id of the image in database echo /script; I am calling this function in the following manner: echoimg onclick=\pop1();\;

RE: [PHP] Download Page?

2002-06-06 Thread Ray Hunter
Kevin, You will need to send the header information for the file...then you can do a new header so that you show the thank you for downloading page... Thank you, RAY HUNTER -Original Message- From: Kevin Stone [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06, 2002 12:49 PM To:

  1   2   >