Re: [PHP] session_questions() part IV

2001-08-14 Thread Renze Munnik
On Mon, Aug 13, 2001 at 05:59:42PM +0200, Aniceto Lopez wrote: > Renze asked: > "how would you detect whether or not someone has > closed his browser? (session is over then)" > > Do I realy need to know this to let or not a registered > user navigate some restricted web pages? > > > Aniceto Lop

[PHP] Re: The secrecy of PHP code

2001-08-14 Thread Soeren Nielsen
"James Shaker" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Greetings, > [snip] calculations and I code them in PHP > for use on a website are they safe from being > viewed or taken? If your php-code is on a web-server which gives access to other than you

Re: [PHP] Re: The secrecy of PHP code

2001-08-14 Thread Ben-Nes Michael
its a problem because the code is not compiled into binary file, and then every one who can browse the directory ( using ftp for example ) can view your code. To prevent this ( as root ) I chroot every user that log to ftp to another directory so they cant go out and browse the /etc /php-director

[PHP] qwestion about %E6%E2%E0%F7%EA%E0

2001-08-14 Thread BRACK
Hi I'm doing the script for searching the mySQL db in Russian language. but output of textform http://localhost/indexr.php3?search_idea=%E6%E2%E0%F7%EA %E0 is not the same as http://localhost/indexr.php3?search_idea=%C6%C2%C0%D7%CA %C0 (this is the same word but first is lower case and second

[PHP] Re: NEXT - PREVIOUS coding

2001-08-14 Thread Boaz Amit
>Hi, >what about other possibilities to do this ? >Tom Other possibilities? Why not just utilize the second argument of the LIMIT function with a fairly simple SQL query? Here's a portion of a script I wrote, modified to be an example on this matter: = 0) { echo 'Previous' . "\n"; } /*

Re: [PHP] Re: prob with session start

2001-08-14 Thread Renze Munnik
I think I know what it is. The construction I mentioned to avoid the reloading used three pages to login: the login-page, the validation page and then some page that produces output to the user. What you do, is include that output page in the validation page (authentication.php). You shouldn't do

[PHP] Re: Strange session problems. Please help.

2001-08-14 Thread lallous
I wish someone deletes this post! It's posted with date 2002! I'm gonna see it on the top of my messages for about a year now! I'm using the news server and not mailing list! "By Proxy" <[EMAIL PROTECTED]> wrote in message 005301c23ee3$27ba1500$[EMAIL PROTECTED]">news:005301c23ee3$27ba1500$[EMAIL

[PHP] PHP: mysql_query()

2001-08-14 Thread lallous
Actually the mysql_query() seems to accept only one statement at a time. Any work around so i can do query suchs: mysql_query(" SELECT 1+1; SHOW DATABASES; USE database1; SELECT * FROM table1; "); Just multiple commands seperated with ';' ? (as if using the Mysql command prompt) -- PHP Gene

Re: [PHP] qwestion about %E6%E2%E0%F7%EA%E0

2001-08-14 Thread Ben-Nes Michael
As I recall MySQL is not case sensitive did you use --with-charset=koi8_ru ( or what ever) when you did ./configure ? snip form INSTALL-SOURCE file of mysql-3.23.40 * By default, *MySQL* uses the ISO-8859-1 (Latin1) character set. To change the default set, use the `--with-charset' opti

[PHP] Re: "location bar"

2001-08-14 Thread lallous
I don't believe such locations can't be displayed. Usually location contains: http://server/directory/file.ext The ':' used in the location denotes the port number that is used to connect to the web server. Maybe javascript can do that. Don't know exactly how. Good luck. "Wolfgang Schneider" <[

Re: [PHP] PHP: mysql_query()

2001-08-14 Thread Ben-Nes Michael
You cant do this. Its even recommended to drop the `;' from the end of the sql command. You can go around using array to store the sql statements and use foreach to run mysql_query with thee sql statement. But I don't think its right way to do thing ! If you intention was to do update one afte

[PHP] PUT method support

2001-08-14 Thread Rukhiya
Hi! How do I use a PUT method support to upload files from the client to the WEB server? Can anyone pls. help me out to find a solution to these problems. It's very urgent regards Rukhiya

[PHP] to include php file into html page

2001-08-14 Thread Jack
Hi people I have tried to include php file into html page using the syntax below and it said syntax error at this part when the page is loaded. What is wrong with calling php file this way? Or is there any other way to call php file from html page? ***

Re: [PHP] PHP: mysql_query()

2001-08-14 Thread lallous
No actually I have a .SQL file that is a complete dump of my database. All i want to do is the execute with mysql_query() the whole .SQL which will create databases and tables and fillin fields! "Ben-Nes Michael" <[EMAIL PROTECTED]> wrote in message 004701c124a0$e690c860$[EMAIL PROTECTED]">news:0

[PHP] SQL script ---------any help

2001-08-14 Thread legal
In MS SQL server, table data can be uploaded on webserver by using the Enterprise Manager by using the export option. Is there any feature in Mysql to upload the data on webserver? I understand that it can be done with the help of SQL script file. This is the only way or some another way also i

Re: [PHP] Re: The secrecy of PHP code

2001-08-14 Thread Soeren Nielsen
"Ben-Nes Michael" <[EMAIL PROTECTED]> wrote in message 022201c12498$79178ce0$[EMAIL PROTECTED]">news:022201c12498$79178ce0$[EMAIL PROTECTED]... > The problem still stays if you open php to system commands like `echo > /etc/passwd` or using system() A problem is also that other web-programer

Re: [PHP] to include php file into html page

2001-08-14 Thread Evan Nemerson
The language is php, not javascript. Plus I'm not sure if you can use an src attribute, but you can use the include or require functions... http://php.net/manual/en/language.basic-syntax.php On Tuesday 14 August 2001 14:32, you wrote: > Hi people > I have tried to include php file into html

Fw: [PHP] Re: prob with session start

2001-08-14 Thread Balaji Ankem
  Hi,Renze i tried u'r last solution first.But it is acting as same .no change.   After that i tried u'r first solution i.e removing include and adding header("Location");   It is giving the following error message. Warning: Cannot add header information - headers already sent in c:\www\a

Re: [PHP] Re: prob with session start

2001-08-14 Thread ReDucTor
header() must be before anything is writen on the page - Original Message - From: Balaji Ankem To: [EMAIL PROTECTED] Sent: Tuesday, August 14, 2001 8:10 PM Subject: Fw: [PHP] Re: prob with session start Hi,Renze i tried u'r last solution first.But it is acting as same .no

[PHP] Need people's advice on a web registration system.

2001-08-14 Thread sunny AT wde
Hi all! I'm trying to build a registration system for a community site that I'm building, and was wondering if people could give me advice or tell me about problems they've been having?? I'm planning to let people register with a username and password (encrypted), and then make them login with t

Re: [PHP] PHP: mysql_query()

2001-08-14 Thread Ben-Nes Michael
For that MySQL team designed the Mysql client to get input from file and execute it. do system ( "mysql < sql.fie"); or `mysql < sql.fie`; dont forget to use -D and -p if User is required. - Original Message - From: "lallous" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, Au

[PHP] Re: Apache/PHP File Upload problems

2001-08-14 Thread Martin Laws
Thanks for the message Richard, I've been advised to upgrade to a new version (now running 4.0.6) and it works fine. Martin Richard Lynch wrote: > > If I try to submit a file for upload using the form using Netscape I get > > > > "Document contains no data". If I do the same in IE5.0 it just w

Re: [PHP] PHP: mysql_query()

2001-08-14 Thread lallous
I can't execute MySql via system() I have no rights! "Ben-Nes Michael" <[EMAIL PROTECTED]> wrote in message 005a01c124ae$ab50e740$[EMAIL PROTECTED]">news:005a01c124ae$ab50e740$[EMAIL PROTECTED]... > For that MySQL team designed the Mysql client to get input from file and > execute it. > > do > sy

Re: [PHP] Re: How give a 'timed' online quiz?

2001-08-14 Thread pierre-yves
Hello, I did an timed online quiz using session variables for my timer. It work fine. When the user start the quiz, you check the time and calculate the duration of your quiz. exemple: 20:00 + 60 min = 21:00 So you register 2100 in a session variable Each subsequent request you make shure the cu

[PHP] session security issue

2001-08-14 Thread Christian Dechery
I have pages that uses session for security that looks something like this: so $uid tells me if the user is logged on or not... but what if somebody calls the script directly from the address bar like this: http://server/script.php?uid=10 wouldn't this be a security problem?

Re: [PHP] session security issue

2001-08-14 Thread Renze Munnik
On Tue, Aug 14, 2001 at 08:42:22AM -0300, Christian Dechery wrote: > I have pages that uses session for security that looks something like this: > >session_start(); > > if( !isset($uid) ) > { > include("include/auth.inc.php"); > auth_user(); >

[PHP] Re: inserting a remote html file

2001-08-14 Thread Boaz Amit
Re: inserting a remote html file "Minardi boy" <[EMAIL PROTECTED]> wrote: >Hello >I wanted the user to choose certain html files (one or more) via a checkbox >and then insert them into the new php site. >The checkbox thing is okay but I keep recieveing errors on the php site >Could you help me?

Re: [PHP] session security issue

2001-08-14 Thread Tim
If you test $HTTP_SESSION_VARS["uid"] instead, you'll know that it came from a session and not from a GET variable. - Tim On 14 Aug 2001 08:42:22 -0300, Christian Dechery wrote: > I have pages that uses session for security that looks something like this: > >session_start(); > >

RE: [PHP] ucwords Except 'The' 'And' etc?

2001-08-14 Thread Steve Edberg
I know, I know, I have a lot of work to do...I shouldn't be doing this. I did get to play with PCRE regexps here, though...lotsa cool features over eregs!. Anyway, here's a *** NEW!!! IMPROVED!!! *** version of smart_ucwords(), that's probably way too much overkill. I did some quick tests, see

Re: [PHP] to include php file into html page

2001-08-14 Thread Alnisa Allgood
At 4:32 PM -0500 8/14/01, Jack wrote: >Hi people >I have tried to include php file into html page using the syntax >below and it said syntax error at this part when the page is loaded. >What is wrong with calling php file this way? Or is there any other >way to call php file from html page? > >

Re: [PHP] PHP: mysql_query()

2001-08-14 Thread Alnisa Allgood
At 2:21 PM +0200 8/14/01, lallous wrote: >I can't execute MySql via system() I have no rights! > Generally ISPs either give you shell rights or access to PHPMyAdmin, if they give access to a MySQL database. Otherwise, you'd never be able to add tables, or modify data. If PHPMyAdmin is installe

Re: [PHP] Re: Storing Credit Card Numbers, etc.

2001-08-14 Thread Sean C. McCarthy
Hi, I agree completly with him. You should go through another entity for payment. You should go through some company that ensures you reliability and security. Here in Europe there are a lot of histories about company databases being hacked and loosing up to 15.000 cc numbers. By no way you could

[PHP] SQL script ------ .any help

2001-08-14 Thread legal
Hi, In MS SQL server, table data can be uploaded on webserver by using the Enterprise Manager by using the export option. Is there any feature in Mysql to upload the data on webserver? I understand that it can be done with the help of SQL script file. This is the only way or some another way

[PHP] Re: call to unsupported or undefined function mysql_connect()

2001-08-14 Thread Luis Brito (AYUDANTE)
On Tue, 14 Aug 2001, Luis Brito wrote: Hi at all. > > I get this problem, I use a sparcstation 20 and my system is debian > potato, I installed php3,php-mysql and mysql I did with the command > apt-get install. > Then I do not understand why that happen?, because I think > that I did we

[PHP] Re: mysql_query()

2001-08-14 Thread _lallous
I have made this a small script called SQL2PHP, --- SQL2PHP --- file3.sql can contain: --- DROP DATABASE t; CREATE DATABASE t; USE t; # # Table structure for table 'brands' # DROP TABLE /*!32200 IF EXISTS*/ brands; CREATE TABLE /*!32300 IF NOT EXISTS*/ brands ( id int(10) unsigned NOT

Re: [PHP] qwestion about %E6%E2%E0%F7%EA%E0

2001-08-14 Thread BRACK
I can do this on my local server but I can't do it on provider's server, can I do anything else? Youri On 14 Aug 2001, at 12:03, Ben-Nes Michael wrote: > As I recall MySQL is not case sensitive > > did you use --with-charset=koi8_ru ( or what ever) when you did ./configure > ? > > snip form I

Re: [PHP] PHP: mysql_query()

2001-08-14 Thread _lallous
Basically I have PHPMyAdmin... If I am to paste the 33,000+ lines SQL query the PHPMyAdmin would take more than 30secs to execute it which will make everything fail! Anyway, I solved it. Check the recent post in the same thread about SQL2PHP script. "Alnisa Allgood" <[EMAIL PROTECTED]> wrote in m

Re: [PHP] session security issue

2001-08-14 Thread Sean C. McCarthy
Hi, For security use SSL and get the SSLSession ID instead. This cannot be fooled since it is based in PK handshake and with simetric encryption. Sean C. McCarthy SCI, S.L. (www.sci-spain.com) Christian Dechery wrote: > > I have pages that uses session for security that looks s

[PHP] session_questions("end")

2001-08-14 Thread Aniceto Lopez
thanks everybody helping to clear my mind with "sessions" affair. many people asking about this so two possible problems: coders don't read manuals carefully or the info there is not so clear. [ trying to help a little bit newbies like me, as soon as I finish this "navigation access for logged

[PHP] bizarre problems with php_gd.dll and IIS

2001-08-14 Thread Michael Hall
I am running sites that use both PHP4 and ASP. Both types of sites are running on IIS4. I've just recently started using the php_gd.dll to resize images in PHP. It appears to run fine, until the gd library generates any sort of error. As soon as that happens, all ASP pages on the entire server

[PHP] Re: SQL script ------ .any help

2001-08-14 Thread MindHunter
Try and find MYSQLFront - (Sorry I forgot where i downloaded it). I find it the best way to load sql files and data. BK <[EMAIL PROTECTED]> wrote in message OF0DBB50F2.83686F02-ON65256AA8.0043300A@domain">news:OF0DBB50F2.83686F02-ON65256AA8.0043300A@domain... Hi, In MS SQL server, table dat

[PHP] Instalation

2001-08-14 Thread Roman
Help me. I have RED HAT Linux 7.0 and I want install Apache web server with php and mysql support. How ? I have : apache_1.3.20.tar.gz php-4.0.6.tar.gz mysql-3.23.38.tar.gz thanx roman -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] Re: The secrecy of PHP code

2001-08-14 Thread ~~~i LeoNid ~~
On Tue, 14 Aug 2001 12:06:01 +0200 impersonator of [EMAIL PROTECTED] (Soeren Nielsen) planted &I saw in php.general: > >"Ben-Nes Michael" <[EMAIL PROTECTED]> wrote in message >022201c12498$79178ce0$[EMAIL PROTECTED]">news:022201c12498$79178ce0$[EMAIL PROTECTED]... >> The problem still stays if you

[PHP] Session preserve

2001-08-14 Thread Alex Sofronie
Hello! I am VERY new to php and i have a question (maybe it's pretty simple, but i couldn't get it work): I have a form page where i start a session. I cannot use php auth because the server does not run php as a module. Supposing the client has cookies disabled, please tell me how to propagate

[PHP] Regular Expression Problem and PHP 4 (urgent)

2001-08-14 Thread Ross Nielsen
Here is the problem: I'm retrieving a page of data from another process using PHP4 on Solaris 2.51 This data is placed in an array by line and simply returned to the browser after formatting. A sample line may look something like this: blah blah blah blah blah blah blah blah blah I think I ne

Re: [PHP] bizarre problems with php_gd.dll and IIS

2001-08-14 Thread Phil Driscoll
Usually when PHP brings other IIS services down it is because you are running the ISAPI module version of PHP rather than the CGI. If this is the case, you need to switch to using php.exe. Cheers -- Phil Driscoll -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMA

Re: [PHP] Instalation

2001-08-14 Thread Jean-Arthur Silve
check de readme or install files provided in each one ! At 15:39 14/08/01 +0200, Roman wrote: >Help me. I have RED HAT Linux 7.0 and I want install Apache web server with >php and mysql support. How ? > >I have : apache_1.3.20.tar.gz >php-4.0.6.tar.gz >mysql-3.23.38.tar.gz

Re: [PHP] Need people's advice on a web registration system.

2001-08-14 Thread Jean-Arthur Silve
I think, when they register or log in the first time, ask to the user if they want you to remember them by placing a cookie.. Don't do it automaticaly ! Most people doesn't like that, and if they are not on their computer (web bar, or at the office...), they could not like this... At 11:43 1

Re: [PHP] PHP: mysql_query()

2001-08-14 Thread Alnisa Allgood
At 4:05 PM +0200 8/14/01, _lallous wrote: >Basically I have PHPMyAdmin... >If I am to paste the 33,000+ lines SQL query the PHPMyAdmin would take more >than 30secs to execute it which will make everything fail! >Anyway, I solved it. Check the recent post in the same thread about SQL2PHP >script. >

[PHP] RE: problems sorting an associative array...

2001-08-14 Thread Tim Ward
Use arsort(), and while you're in the manual ( http://www.php.net/manual/en/ref.array.php ) familiarise yourself with all the other sort functions (and array functions in general). There's some useful stuff there that you might not expect, and therefor

[PHP] Anyone using Interbase/Linux?

2001-08-14 Thread Todd Cary
I am having a problem starting Interbase 6.0 on RH 7.1. Anyone using Interbase on Red hat 7.1? Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] T

Re: [PHP] PHP: mysql_query()

2001-08-14 Thread _lallous
I have PHPMyAdmin 2.21 I only see "GO" button, where can I upload my SQL file? "Alnisa Allgood" <[EMAIL PROTECTED]> wrote in message news:p05100309b79edae8263f@[63.202.15.82]... > At 4:05 PM +0200 8/14/01, _lallous wrote: > >Basically I have PHPMyAdmin... > >If I am to paste the 33,000+ lines SQL

Re: [PHP] Instalation

2001-08-14 Thread Luis Brito (AYUDANTE)
Hi Roman, I think that the follow page can help you: http:// jips.kipelhouse.com/linux/apache/ssl/ Try . On Tue, 14 Aug 2001, Roman wrote: > Help me. I have RED HAT Linux 7.0 and I want install Apache web server with > php and mysql support. How ? > > I have : apache_1.3.20.t

[PHP] unlink() and safe mode....

2001-08-14 Thread Jan De Luyck
Hello I'm trying to do the following: allow a user to upload a file to a directory, and also allow them to delete that very file again. The uploading part works using http post, the file is saved with as UID the UID of www/www (on this particular ISP). Now, when I try to delete the filem I get a

[PHP] Select

2001-08-14 Thread Jeremy Morano
Hi, I'm having a problem with my Select statement. This is what i'm doing: $connection = @mysql_connect("l", "c", "c") or die("Couldn't connect."); $db = @mysql_select_db($db_name, $connection) or die("Couldn't select database."); $sql =" SELECT * FROM table_1 "; $result = @

RE: [PHP] Select

2001-08-14 Thread Jon Farmer
thats because mysql_fetch_row only returns one row. to get all the rows do while ($row = mysql_fetch_array($result) { //processing code here } This will run through all the rows putting the colums into the array $row[] Regards Jon -- Jon Farmer Systems Programmer, Entanet www.enta

Re: [PHP] Select

2001-08-14 Thread Pavel Jartsev
Jeremy Morano wrote: > > ... > > $data=mysql_fetch_row($result); > $count=$data[0]; > > echo $count; > > Yet the only result I get is the first value of the first > column. > Of course, and $data[1] is the first value of second column, etc. If you want to get all result, use w

RE: [PHP] Select

2001-08-14 Thread Jon Farmer
oops slight mistake i noticed there.. should be thats because mysql_fetch_row only returns one row. to get all the rows do while ($row = mysql_fetch_array($result)) { $firstcloumn = $row[0]; } This will run through all the rows putting the colunms into the array $row[] Regards Jo

RE: [PHP] Select

2001-08-14 Thread Alfredeen, Johan
Jeremy, The reason you are only getting the first value is because you are only retrieving the first value and assigning it to $data. You need to step through the result and do something with it. For example, if ($row = mysql_fetch_array($result)) { do {

RE: [PHP] "location bar"

2001-08-14 Thread Kevin L
The navigation system you are refering to is called breadcrumb navigation. You can find implementations of this all over the place. Try hotscripts.com or google.com. Kevin -Original Message- From: Wolfgang Schneider [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 12:35 AM To:

[PHP] Re: to include php file into html page

2001-08-14 Thread Hugh Bothwell
"Jack" <[EMAIL PROTECTED]> wrote in message 021501c12508$abb1b200$[EMAIL PROTECTED]">news:021501c12508$abb1b200$[EMAIL PROTECTED]... > Hi people > I have tried to include php file into html page > using the syntax below and it said syntax error > at this part when the page is loaded. What is > wr

[PHP] could i get a clue?

2001-08-14 Thread marilyn manson
ok a basic question. perhaps I dont know enough about javascript but anyway.. I want to call a php script from javascript. Anybody have any hints for me? A link to a useful website would work as well. thanks mates -student of computer science -- PHP General Mailing List (http://www.php.net/)

[PHP] Looking for link system

2001-08-14 Thread Thomas Deliduka
I'm looking for a yahoo-style link system done in PHP. Anyone know if a good one exists out there and where I can find it? -- Thomas Deliduka IT Manager - New Eve Media The Solution To Your Internet Angst http://www.neweve.com/ -- PHP General Mailing List (http

[PHP] PHP or SSI -- What's faster?

2001-08-14 Thread Christopher Raymond
PHPers: So if I was just going to need includes on a few pages, what's faster PHP or SSI on Linux/Apache? Christopher Raymond -- 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

RE: [PHP] Looking for link system

2001-08-14 Thread Alfredeen, Johan
Search http://sourceforge.net/ and http://freshmeat.net/ Good luck, Johan Alfredeen PongWorld.com -Original Message- From: Thomas Deliduka [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 9:20 AM To: PHP List Subject: [PHP] Looking for link system I'm looking for a yahoo-s

Re: [PHP] could i get a clue?

2001-08-14 Thread Renze Munnik
On Tue, Aug 14, 2001 at 10:18:18AM -0500, marilyn manson wrote: > ok a basic question. perhaps I dont know enough about javascript but > anyway.. > > I want to call a php script from javascript. Anybody have any hints for me? > A link to a useful website would work as well. thanks mates > > -stu

[PHP] Re: could i get a clue?

2001-08-14 Thread Hugh Bothwell
"Marilyn Manson" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > ok a basic question. perhaps I dont know enough about javascript but > anyway.. > > I want to call a php script from javascript. > Anybody have any hints for me? Well, to call a php script, you b

RE: [PHP] "location bar"

2001-08-14 Thread Kurth Bemis
At 11:02 AM 8/14/2001, Kevin L wrote: I had a similar problem.jason murray gave me some ideas ;-) just stick this in a function as I did and you'll be sailing.its easy to update, and Extremely flexible. look at my code.. Location : http://www.usaexpress.net";>Home / 'Company',

Re: [PHP] PHP: mysql_query()

2001-08-14 Thread Alnisa Allgood
At 5:25 PM +0200 8/14/01, _lallous wrote: >I have PHPMyAdmin 2.21 >I only see "GO" button, where can I upload my SQL file? > Well my ISP uses PHPMyAdmin 2.10, which I can't imagine would be that different from 2.21. Basically, if I load, and click on the database name in the left top corner:

[PHP] Re: Put value directly into form?

2001-08-14 Thread Phil Latio
> http://www.yorkshire-search.co.uk/links/add.php3 Right, I seem to have not made myself too clear so I'll try again. Originally, the page "add.php3" was using a plain HTML template called "add_form.html" which consisted of a simple form. If you click on the link above and have a look at the pag

[PHP] SNMP and PHP

2001-08-14 Thread Heiko Maiwald
Hi, I need some help in compiling SNMP functions with PHP 4.06 on Solaris 2.6. What I did so far I downloaded UCD SNMP package and installed it. I compiled php with '--with-snmp=shared' + '--enable-ucd-snmp-hack' and installed everything without any errors. When I do a phpconfig on that ins

[PHP] nav buttons not working correctly

2001-08-14 Thread chip . wiegand
I have some existing code that I want to modify to limit the display results to 5 rows and add nav buttons to display the next set of 5, etc. You all know what I am looking for. I have a book- MySQL/PHP Database Applications by Greenspan & Bulger - which has an example that should work, but isn't.

Re: [PHP] Instalation

2001-08-14 Thread Steve Brett
i think pgp has a quick install text file that is superb. sorta step-by-step simple and complicated. Steve "Jean-Arthur Silve" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... check de readme or install files provided in each one ! At 15:39 14/08/01 +0200, Roman

RE: [PHP] SNMP and PHP

2001-08-14 Thread Robert Covell
I had the same problem and never got it working on Linux. Posted a very similar question and got one response from someone that got it working on FreeBSD but that was it. Sincerely, Robert T. Covell President / Owner Rolet Internet Services, LLC Web: www.rolet.com Email: [EMAIL PROTECTED] Phone

[PHP] How dynamically create objects

2001-08-14 Thread Bret R. Zaun
Hello, I would like to create an object from a db result like MySQL does in mysql_fetch_object How can I create an object with members which names are set at runtime ? Regards Bret -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

[PHP] Re: session security issue

2001-08-14 Thread Steve Brett
what about registering a var called loggedin with the session and then testing on each script to see if it's set to 1 or something ? then base the access on that ? that's what i use and then register uid with the session as well so you can use it througout your site ... ok you've got me worried

[PHP] smart table construction from array

2001-08-14 Thread Peter Torraca
Hello All -- I have a csv file that I need to parse into a table. Getting the file open and into stuffed into an array is not really a problem, but I want PHP to adapt the table structure to the data on the fly. For example, some data (from the hgitner.com stamp buying list): 26,used,3¢ Washin

[PHP] Re: variable $PATH_INFO

2001-08-14 Thread Hidulf
$PATH_INFO is server variable, that appear on IIS but not apache. maybe you can try $REQUEST_URI, that return URL with query string there. or you can check all the server variable with phpinfo(). you can put this into the web server and run it on your browser. -- Hidulf http://www.hidulf.com "L

[PHP] Win32 Compilation

2001-08-14 Thread Jerry Evans
I have the current 4.0.6 tarball. Has anyone built this out of the box using VC++ 6 ? Jerry. -- 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 PROTEC

[PHP] Win32 mail()

2001-08-14 Thread Jerry Evans
Has anyone got this to work correctly with 4.0.6 ? If so I'd really appreciate knowing the configuration etc. Thanks Jerry. -- 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 admin

[PHP] Using Sockets to connect to an SSL site?

2001-08-14 Thread Brandon Orther
Hello, Does anyone know how I would go about connecting to an SSL site using sockets? Or could I need to go in another direction? Thank you, Brandon

Re[2]: [PHP] printing

2001-08-14 Thread Fernando Avila
Hello Matthew, Friday, August 10, 2001, 8:55:24 PM, you wrote: ML> If you run windows, then see: ML> http://www.php.net/manual/en/ref.printer.php ML> -Original Message- ML> From: Fernando Avila [mailto:[EMAIL PROTECTED]] ML> Sent: Friday, August 10, 2001 10:18 AM ML> To: [EMAIL PROT

[PHP] insertion question

2001-08-14 Thread Pétur Björn Thorsteinsson
I have to store a whole lot of text files into a database, each one containing 3 columns containing numbers and about 2500 lines. I was wondering if anyone knew which would be the best way to store these files, having one big table with each row containing the contents of the files, or making one

[PHP] Code works fine on Apache, but not on PWS.

2001-08-14 Thread John Meyer
Instead of posting the code, I'll give you the link: http://www.phpbuilder.com/columns/bealers2904.php3?page=1 Short and long of it is the subject line. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

[PHP] Q: array intersection problem

2001-08-14 Thread Joe Rice
hi, i have two arrays that i would like to find the intersection and at this intersection alter the value. $invalid = array("1","3","9"); $questions = array("1","2","3","4","5","6","7","8","9"); and i would like the result to be an new array that looks like this: $new_questions = array("1",

[PHP] popen returns true whether script exists or not?

2001-08-14 Thread Tom Hodder
Hi, I'm trying to popen a cgi script that was designed to be open via a SSI include, but cannot because of passing variable restrictions. I'm popening a cgi script and it is returning a process pointer regardless of whether the string passed to it points to anything. Is this the expected respo

[PHP] PHP to embed font

2001-08-14 Thread admin
Is there anyway to use PHP to embed font types into web pages to the person visiting the page sees what you want them to even if they dont have the same fonts on their computer. Pat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

[PHP] Web page authentications

2001-08-14 Thread admin
I am new to PHP and am confused on HTTP authentications. I have read that section in the manual and still have questions. Where does PHP look to see if the user is valid or if the passward matches the user. How do you use PHP to set up user registration so users can input their information for

Re: [PHP] PHP to embed font

2001-08-14 Thread Tyler Longren
I don't believe so. I think you'd just have to let them dl the font. Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Tue, 14 Aug 2001 14:22:06 -0400 admin <[EMAIL PROTECTED]> wrote: > Is there anyway to use PHP to embed font types into web pages to the > pe

Re: [PHP] smart table construction from array

2001-08-14 Thread Sheridan Saint-Michel
This is the way I would do it: split your CSV into an array. Then traverse the array, saving any data and incrementing a counter for any empty element. Finally set up some conditional statements with the counter to output the table the way you want. Still with me? Here is some sample code I thr

[PHP] Re: inserting a remote html file

2001-08-14 Thread Boaz Amit
<[EMAIL PROTECTED]> wrote: >hi all, >I cant seem to get my mail function to work. OK so i am a noob, that might >have something to do with it. I am using a script I found called the HTML >Mime Mail Class, which does everything i need except actually send the mail. >I am guessing that there is s

[PHP] Re: PHP to embed font

2001-08-14 Thread Inércia Sensorial
Here's how, but it does not use PHP: http://cnet.com/webbuilding/pages/Authoring/Typography/ss01.html -- Julio Nobrega. 2B||!BB - That's the question. "Admin" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Is there anyway to use PHP to embed font type

[PHP] mail function

2001-08-14 Thread Boaz Amit
<[EMAIL PROTECTED]> wrote: >hi all, >I cant seem to get my mail function to work. OK so i am a noob, that might >have something to do with it. I am using a script I found called the HTML >Mime Mail Class, which does everything i need except actually send the mail. >I am guessing that there is s

[PHP] saving the client's file upload location

2001-08-14 Thread Bob
i have people upload a file from their computer but if my form comes back with an error then they have to go select their file location again. is there any way of saving that location so they don't have to pick it again??? > upload file [ c:/temp/picture.jpg ] _

Re: [PHP] Help me please.(Running stand-alone php)

2001-08-14 Thread miguel valero
Tina, Thank you for the help Tina :-)) I getting a good experience working with PHP and HTML (forms). Because of my full time job and personal commitments, I haven't been able to spend as much of my free time as I could in my project (Free Gallery Management System). After October I hope to de

[PHP] Re: saving the client's file upload location

2001-08-14 Thread Inércia Sensorial
On the form processing page, register the variable on a session. And put session_start(); on the form's page, so the value is remembered and echo()ed on the field. -- Julio Nobrega. 2B||!BB - That's the question. "Bob" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PR

[PHP] PHP Shopping Carts ??

2001-08-14 Thread Christopher Raymond
Could anyone point me in the direction of some PHP shopping cart scripts? Thanks, Christopher Raymond -- 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:

Re: [PHP] PHP_SELF

2001-08-14 Thread Chris Worth
Michael, I've got a program set up like you describe. the problem is I've noticed that my variables are NOT stable this is it in a nutshell 1) show 3 options with radio buttons for each 2) based on above query a database and show a list of the records (now it just dawned on my that I've been

Re: [PHP] Classes and performance bottlenecks

2001-08-14 Thread Christian Reiniger
On Tuesday 14 August 2001 08:37, Maxim Maletsky wrote: > See, there's also a time needed for the server to read the included > file - an extra effort for your hard disk. > If you'd put everything in one file it would work for you faster, but, > of course, less portable. I disagree. Aftre the firs

Re: [PHP] PHP Shopping Carts ??

2001-08-14 Thread DrWebPat
In a message dated 8/14/01 3:23:54 PM Eastern Daylight Time, [EMAIL PROTECTED] writes: > Could anyone point me in the direction of some PHP shopping cart scripts? > > > Thanks, > > Christopher Raymond > I'm sure they have one: http://hotscripts.com/PHP/Scripts_and_Programs/ Pat

  1   2   >