Re: [PHP] Newbie needs compile

2002-05-06 Thread Jason Wong
On Monday 06 May 2002 13:59, Julian wrote: I need to schedule to run a PHP script on server side, rather than invoke it from browser. Is there any way to compile it to .exe so it can run on Solaris/Apache environment? Yes, full instructions in the manual. no such thing as .exe in Solaris

php-general Digest 6 May 2002 06:27:45 -0000 Issue 1328

2002-05-06 Thread php-general-digest-help
php-general Digest 6 May 2002 06:27:45 - Issue 1328 Topics (messages 96166 through 96206): Re: SSH 96166 by: Kyle Gibson 96187 by: Richard Archer 96188 by: Kyle Gibson help!!! 96167 by: J. H. 96168 by: Austin Marshall 96171 by: George

Re: [PHP] Newbie needs compile

2002-05-06 Thread Julian
He did say he did /not/ want to invoke it from a browser :) I didn't think that PHP could run w/o one though, so my idea was to use a text browser, have it run the script, then exit out. As I said, I was probably wrong ;) Sabre -- PHP General Mailing List (http://www.php.net/) To

[PHP] Who's having a good hosting experience these days?

2002-05-06 Thread The_RadiX
Um Justin.. Hi.. or should I say.. Hi fellow Aussie mate .. :) Yeah I am in oz too and asked some hosting questions a while back.. Your host has only 2GB downloads on the UNIX plan and also that's at US$15 p/m.. isnt that a tad pricey? I was looking into powweb.com or aletia.com at much

Re: [PHP] Secure user authentication

2002-05-06 Thread Pedro Pontes
I wasn't in fact aware of that domain test thingie. So my main worry is no more. Thank you guys. -- Pedro Alberto Pontes The_radix [EMAIL PROTECTED] wrote in message 004c01c1f348$2db81c40$3200a8c0@oracle">news:004c01c1f348$2db81c40$3200a8c0@oracle... Pedro Pontes wrote: with a SIMPLE

Re: [PHP] Newbie needs compile

2002-05-06 Thread Miguel Cruz
On Mon, 6 May 2002, Julian wrote: I didn't think that PHP could run w/o one though, so my idea was to use a text browser, have it run the script, then exit out. As I said, I was probably wrong ;) Build the CGI version of PHP and you can run it from the command line like any other

[PHP] Zend - Studio, Encoder, Optimiser...

2002-05-06 Thread Brian McGarvie
I am writing several php applications wich demand speed security. I'm just looking for some reassurances from some ppl that might be using the ZEND products to deliver this. Is the speed increase using the optimiser noticable? How well does the Encoder work? I will be trying them out today

[PHP] Constructing a tree with recursion

2002-05-06 Thread Sasa Velickovic
Hi all, ok, here is my problem. I have a table in my db which is like this: id nameparent_id 1 menu1 0 2 menu2 0 3 menu3 0 4 menu4 0 5 sub11 6 sub22 7 sub33 8 sub46 9 sub57 10 sub69 which

RE: [PHP] Newbie needs compile

2002-05-06 Thread John Holmes
He did say he did /not/ want to invoke it from a browser :) I didn't think that PHP could run w/o one though, so my idea was to use a text browser, have it run the script, then exit out. As I said, I was probably wrong ;) Actually, that's exactly how it's typically done, using wget or

Re: [PHP] Newbie needs compile

2002-05-06 Thread Sogno Kahlenberg
Hi Miguel, It IS the CGI version. You mean I can ~~/php4/php /cgi-bin/cmanage/reindex.php to run it? Any other key points? Thanx. Miguel Cruz [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Mon, 6 May 2002, Julian wrote: I didn't think that

[PHP] Question about fsockopen

2002-05-06 Thread Luc Saint-Elie
Hello I use a class to parse a RSS feed, my problem is that when the distant site is down my own site is stuck (because my class waits for an answer that doesn't come..) The logical answer is to use a fsockopen before to control the connection. Reading the doc I see : int fsockopen ( string

[PHP] Re: Zend - Studio, Encoder, Optimiser...

2002-05-06 Thread Henrik Hansen
[EMAIL PROTECTED] (Brian McGarvie) wrote: I am writing several php applications wich demand speed security. I'm just looking for some reassurances from some ppl that might be using the ZEND products to deliver this. Is the speed increase using the optimiser noticable? How well does

[PHP] phpMyAdmin Question

2002-05-06 Thread Scott Reismanis
Hey all, This question is mainly mySQL related however I believe the problem maybe caused by phpMyAdmin which is why I am posting it here. Anyhow does mySQL tables allow for a mix of char / varchar columns? Because if I try to create a table in phpMyAdmin for example: CREATE TABLE generic (

[PHP] Confirm Remote File exists !

2002-05-06 Thread John Fishworld
I've got a form where people can enter a link into ! What's the best and quickest way of confirming if the link exists ! Just use fpassthru and see if you get an error ? Or has anyone got any better suggestions ?? Regards John -- PHP General Mailing List (http://www.php.net/) To

[PHP] Defining PHP varibles from URL

2002-05-06 Thread webmaster
I don't mean to be a pain but could someone send me a working example? I am what you would probably call a 'newbie' For those who don't know here is my previous message can't seem to define a varible from the url entered into a browser. I wish to use the following code or something like

Re: [PHP] phpMyAdmin Question

2002-05-06 Thread 1LT John W. Holmes
http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html#Sil ent_column_changes ---John Holmes... - Original Message - From: Scott Reismanis [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 06, 2002 4:58 AM Subject: [PHP] phpMyAdmin Question Hey all, This

Re: [PHP] Defining PHP varibles from URL

2002-05-06 Thread Pedro Pontes
The way you're doing it now, you're first ERASING whatever value passed from the URL, with $file=; and then trying to use it... If this ' $file= ' is some declaration attempt, just drop it, you don't need to declare variables in PHP. Just check if $file has a value and then use it. For

Re: [PHP] Defining PHP varibles from URL

2002-05-06 Thread 1LT John W. Holmes
I would advise against doing that unless you really know what your doing. Doing it that way will allow anyone to type in any file on your server that PHP has access to and load it, or possibly load a file off of another server. That said, if you have a url like page.php?file=foo.inc Then that

Re: [PHP] Defining PHP varibles from URL

2002-05-06 Thread Jason Wong
On Monday 06 May 2002 17:28, [EMAIL PROTECTED] wrote: I don't mean to be a pain but could someone send me a working example? I am what you would probably call a 'newbie' For those who don't know here is my previous message Didn't you read the numerous replies to your first posting? --

[PHP] Re: mail function

2002-05-06 Thread Matthew Ward
You can add further variables to the end of your current mail() function to specify the name of who its from, and the email address that they will send the message to when they use the reply function on their email program, like this: mail([EMAIL PROTECTED], My Subject, Line 1\nLine 2\nLine 3,

Re: [PHP] Re: mail function

2002-05-06 Thread Jason Wong
On Monday 06 May 2002 06:31, Matthew Ward wrote: You can add further variables to the end of your current mail() function to specify the name of who its from, and the email address that they will send the message to when they use the reply function on their email program, like this:

Re: [PHP] Re: PHP and SOAP

2002-05-06 Thread Udo Giacomozzi
[EMAIL PROTECTED] (Cédric veilleux) wrote in [EMAIL PROTECTED]:">news:[EMAIL PROTECTED]: Udo, Could you point us to the SOAP classes you've come accross? I am in the same situation as you are but haven't found much yet. There is indeed a SOAP server class from Manuel

RE: [PHP] Defining PHP varibles from URL

2002-05-06 Thread David Freeman
-Original Message- I don't mean to be a pain but could someone send me a working example? -Original Message- This was replied to already by me and others. Didn't you read the replies? In any event, here's what I wrote last time... -Original Message- script

[PHP] No takers?

2002-05-06 Thread Anthony Rodriguez
Please HELP! PROBLEM When a php script uses mail() and sendmail, if the e-mail address is not right, the e-mail is returned to the envelope sender (the hosting provider), NOT to the From, Reply-To, Return-Path, or any other additional headers included in mail(). Apparently, this problem is

RE: [PHP] Defining PHP varibles from URL

2002-05-06 Thread Insomniac Admin
A simple example might be (unoptimised for clarity): http://www.myserver.com/someurl/page.php?file=home ?php // Get the file from the url - assuming PHP v4.1.x $file = $_GET(file); // Remove case sensitivity $file = strtolower($file); // To stop people including just ANY old

[PHP] Defining PHP varibles from URL Solved!

2002-05-06 Thread webmaster
Sorry I did read all your replies etc. They were helpful. I have now solved the 'problem' and thank you all. I have less than week of experiance in PHP and am still learning. JJ Harrison[EMAIL PROTECTED]www.tececo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] MYSQL ERROR CONNECT

2002-05-06 Thread Dani
Hi, I have been using this code for while: //1. CONNECT TO DATABASE mysql_connect(localhost); //2. SELECT A DATABASE mysql_select_db(smpk2); to connect to MYSQL database. but I get this error: Warning: Access denied for user: 'nobody@localhost' (Using password: NO) in

[PHP] mcrypt...

2002-05-06 Thread Brian McGarvie
I have uncommented the .dll extension in my php.ini however the functions are still unavailable? What am I doing wrong? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Session Problem

2002-05-06 Thread Michael Luthe
Hi I ve a Problem when i try to use sessions. I can do destroy_session() and at the next time there is session without starting session_start(). I closed the browser and startet a site which only does: ?php echo $PHPSESSID; ? and he shows me a session id without having a anything in my

Re: [PHP] MYSQL ERROR CONNECT

2002-05-06 Thread The_RadiX
Ha.. Aussie person too eh? Ok.. Have you recently updated your php system? Reason I ask is the way you are using the functions mysql_connect and mysql_select_db are quite ... bad to say the least You should have permissions setup for a root account or something in your mysql.user table and

Re: [PHP] MYSQL ERROR CONNECT

2002-05-06 Thread Dani
Thanks radix! I'm new to PHP that's why.. so, what should I do to fix this? please advise.. thanks again. Dani The_RadiX wrote: Ha.. Aussie person too eh? Ok.. Have you recently updated your php system? Reason I ask is the way you are using the functions mysql_connect and

[PHP] Access denied errors

2002-05-06 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi everyone, not sure if this is a php or mysql problem: I seem to be able to connect in my script to mysql at the beginning but by the time I make the third or fourth call I get 'Access denied' errors? Here is the function I use to connect: *Any*

[PHP] highlighting Search Results

2002-05-06 Thread DC
Hi all, I have a mySQL database running with PHP4. I have constructed a search form ($searchSite) which returns results in a results page now I want to have the word that was entered in the search form highlight in the results page. eg User enters a search for products using the word

RE: [PHP] Access denied errors

2002-05-06 Thread Brian McGarvie
sounds like the username/password are not being accepted... -Original Message- From: Nick Wilson [mailto:[EMAIL PROTECTED]] Sent: 06 May 2002 12:32 To: php-general Subject: [PHP] Access denied errors -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi everyone, not sure if this is a php

[PHP] mcrypt...

2002-05-06 Thread Brian McGarvie
has ne1 got php_mcrypt.dll or the source code for it? the website for it seems to be unavailable. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] highlighting Search Results

2002-05-06 Thread Justin French
If you want to highlight the EXACT search string, do a str_replace() on $row[Description], $row[ProductName], etc etc, replacing the search phrase with B$searchSite/B. Pretty simple. ? $description = str_replace($siteSearch, B$siteSearch/B, $row[Description]); $productName =

[PHP] Very Large MySQL Query String

2002-05-06 Thread David Bouw
I can't seem to figure out the following. I use the http upload functions a lot, works great!!.. For some months now I have been using a small PHP program which I use to upload PDF files of scanned documents and insert them into a Mysql table.. Normally these files are small (250 kb), but I now

RE: [PHP] MYSQL ERROR CONNECT

2002-05-06 Thread John Holmes
Warning: Access denied for user: 'nobody@localhost' (Using password: NO) in /www/host/doms/com/smpk2/create_tables.php on line 15 Hmm...let me see if I can decrypt that message. Apparently you were denied access with user nobody and you were not using a password. Read the manual page on

RE: [PHP] mcrypt...

2002-05-06 Thread John Holmes
Did you restart your server and read the manual pages on mcrypt to see if you need any other files? Some extensions can only be enabled at compile time. ---John Holmes... -Original Message- From: Brian McGarvie [mailto:[EMAIL PROTECTED]] Sent: Monday, May 06, 2002 3:57 AM To: [EMAIL

[PHP] SID is missing in 4.2.0

2002-05-06 Thread charlesk
I am so far unable to use the var SID. I have determined the the script thinks it is defing but empty. ? session_start(); echo '.SID.'; echo br; echo defind(SID); echo br; echo session_id(); ? Try this script. SID is empty but defined. I can alternately call session_id but I have many

[PHP] Formatting Information in header? Gridlines in Excel

2002-05-06 Thread Jay Blanchard
G' morning! Can someone tell me where to find the various options for the Header function as it relates to M$ Excel? Last week, thanks to this list, we found a way to open a worksheet in the browser and display data retrieved from a database. The worksheet opens with no gridlines, I would like

[PHP] Re: No takers?

2002-05-06 Thread Manuel Lemos
Hello, Anthony Rodriguez wrote: Please HELP! PROBLEM When a php script uses mail() and sendmail, if the e-mail address is not right, the e-mail is returned to the envelope sender (the hosting provider), NOT to the From, Reply-To, Return-Path, or any other additional headers

Re: [PHP] Formatting Information in header? Gridlines in Excel

2002-05-06 Thread 1LT John W. Holmes
Are you actually sending an excell file, or just data that you expect excell to format? If your sending a file, then you have to create the grid lines there. These are HTTP headers that you are talking about, they wouldn't have any control over excell data. ---John Holmes... - Original

[PHP] Redirect after submit

2002-05-06 Thread Daniel Negron/KBE
Hi, I have a page that contains multi If ElseIf statements. I want to redirect right after a user submits gets a message (echo Entry Added to Database. \n; ) would you like to add another. then prompts for an alert. Would you like another ??? and redirects to a page based on selection.

[PHP] Re: Very Large MySQL Query String

2002-05-06 Thread Julio Nobrega Trabalhando
Instead of uploading to Mysql, why don't you store the file at a directory and on Mysql only the path to it? Retrieving files from the hard drive is much faster than doing the same on Mysql, and also access to manipulation (insert, update, delete, etc...) -- Julio Nobrega. Um dia eu chego

RE: [PHP] Formatting Information in header? Gridlines in Excel

2002-05-06 Thread Jay Blanchard
[snip] Are you actually sending an excell file, or just data that you expect excell to format? If your sending a file, then you have to create the grid lines there. These are HTTP headers that you are talking about, they wouldn't have any control over excell data. [/snip] Nope, it's not an Excel

[PHP] Re: Very Large MySQL Query String

2002-05-06 Thread Kirk Babb
If I use the link to the file, i.e. file//C:\filedir\file.pdf or .txt or whatever how do I insert/update/delete the file since MySQL is holding only the link? BTW David, what are the properties of the field you are inserting to? Could that be the problem? -Kirk Julio Nobrega

Re: [PHP] Formatting Information in header? Gridlines in Excel

2002-05-06 Thread 1LT John W. Holmes
coming onlet me try adding a border=1 to the table tagthat works! Yeah, I was going to say that. How ever you format the HTML is how it's going to show up in Excel. Excel is just going to translate the HTML tables into it's own. Same goes for colors, bold, underline, center, etc.

Re: [PHP] Redirect after submit

2002-05-06 Thread 1LT John W. Holmes
Where exactly do you see PHP fitting into this. It looks like it's all Javascript, and that's client-side nonsense... ---John Holmes... - Original Message - From: Daniel Negron/KBE [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 06, 2002 9:27 AM Subject: [PHP] Redirect after

RE: [PHP] Formatting Information in header? Gridlines in Excel

2002-05-06 Thread Steve Bradwell
This is intriguing me, are you opening up excel in a browser window or just printing out html tables?? I am confused. Thanks, Steve. -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED]] Sent: Monday, May 06, 2002 9:54 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] Formatting

Re: [PHP] Formatting Information in header? Gridlines in Excel

2002-05-06 Thread 1LT John W. Holmes
Both...If you send an HTML file with Excel headers, Excel will open up and translate the HTML tables into the grid of the Excel spreadsheet. ---John Holmes... - Original Message - From: Steve Bradwell [EMAIL PROTECTED] To: 'Jay Blanchard' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent:

[PHP] Re: Forum with PHP, without using mySQL..

2002-05-06 Thread Mizery De Aria
www.yabbforum.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Capturing dynamic data and storing it into a variable

2002-05-06 Thread Mizery De Aria
I have stored the contents of a web page using: $src = implode(, file($url)); In the source contains: titleRandom title here/title What method can I use to store the title of the page into a variable? Keep in mind that the above string is part of an entire html document. -- PHP

Re: [PHP] PHP compared to JSP

2002-05-06 Thread Robert Cummings
I find caching to be extremely helpful. I have a complex property layer for my php based web engine/library. These properies have several levels of dependency and inheritance which can take as many as 15 queries to build. Then I cache the tree and it is reduced to a single query on subsequent

RE: [PHP] Formatting Information in header? Gridlines in Excel

2002-05-06 Thread Jay Blanchard
[snip] This is intriguing me, are you opening up excel in a browser window or just printing out html tables?? I am confused. [/snip] I am using PHP to query a database and create an HTML table based on the information in the database (in this case it it a large crosstab query). This is set up to

Re: [PHP] replace question

2002-05-06 Thread Josh Valerie McCormack
(This is more info on the question I asked before) Here's the text file (text.txt): This is a test of the templating program. Here's hoping it's working! John Smith Here's one line from the CSV file (new_data.csv): John,Smith,4770 Rosepetal Ct., Richmond, VA 22032 USA,(703)

Re: [PHP] Re: Forum with PHP, without using mySQL..

2002-05-06 Thread John Fishworld
Why bother posting a perl forum here ! YaBB is a leading FREE, downloadable Perl forum that allows you to provide a real-time chat and support system for your visitors. While chat programs allow people to talk directly, you have to be on them 24/7 to please everyone. With forum software like

Re: [PHP] Re: Forum with PHP, without using mySQL..

2002-05-06 Thread Jeff Lewis
Actually... the version of YaBB at yabbforum.com is strictly a Perl based board. It doesn't use mySQL either. The PHP version of YaBB is at http://www.yabb.info but it relies on mySQL. There is Easy Forum http://www.hotscripts.com/Detailed/15435.html There is Eboard

Re: [PHP] Redirect after submit (solved)

2002-05-06 Thread Daniel Negron/KBE
I see a PHP page that adds an entry to the database then goes to a page that says Your entry has been entered from the PHP page. what I am looking for is how to redirect after that page has been submitted and the entry is added to the database and the page tells me that I have entered the

RE: [PHP] Formatting Information in header? Gridlines in Excel

2002-05-06 Thread Steve Bradwell
Wow! I am impressed, thats too cool. And man is that ever going to be helpful. Thanks, Steve -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED]] Sent: Monday, May 06, 2002 10:25 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] Formatting Information in header? Gridlines in

Re: [PHP] Capturing dynamic data and storing it into a variable

2002-05-06 Thread Jason Wong
On Monday 06 May 2002 08:34, Mizery De Aria wrote: I have stored the contents of a web page using: $src = implode(, file($url)); In the source contains: titleRandom title here/title What method can I use to store the title of the page into a variable? Keep in mind that the above

Re: [PHP] Re: Forum with PHP, without using mySQL..

2002-05-06 Thread Jeff Lewis
he MAY have been thinking of the PHP version which is at www.yabb.info and also in use over at http://www.phptalk.com Jeff - Original Message - From: John Fishworld [EMAIL PROTECTED] To: Mizery De Aria [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, May 06, 2002 10:29 AM Subject: Re:

[PHP] File upload problem

2002-05-06 Thread Linn Kubler
Hi All, I have a script that uploads files via my browser. Works fine under RedHat 7.0 but on a RH 7.2 server it crashes on files over at least 10MB. Files under 3MB work fine. Any suggestions? I've looked around for a php config file that might specify the max file size but so far have

[PHP] Install Question - Missing php.ini

2002-05-06 Thread David McInnis
I compiled php 4.2 with the following command (Linux Server) ./configure --with-mysql --with-apxs --enable-dbase --with-xml --enable-ftp --with-curl --enable-cli Where is my php.ini file? I cannot find it on my system. David McInnis -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] Install Question - Missing php.ini

2002-05-06 Thread Insomniac Admin
Try doing locate php.ini. Your likely to have to copy php.ini.dist to php.ini if this is your first installation. Usually you'll find it in /usr/local/etc/ or /usr/local/lib/ depending on your distro. - Dan -Original Message- From: David McInnis [mailto:[EMAIL PROTECTED]] Sent: 06 May

Re: [PHP] File upload problem

2002-05-06 Thread Linn Kubler
D'oh! You're right, I went back and checked php.ini and found upload_max_filesize but it's already set to 200M, I'm assuming that means 200 MegaBytes. So I don't think that's the problem. I don't have the hidden tag set in the page code so that shouldn't be a factor either, right? I'm a real

[PHP] PHP Training Course announcement

2002-05-06 Thread Michael Kimsal
Good afternoon, We are currently taking sign-ups for our June 17th-21st 2002 week long PHP training course. If you feel you can make this course or if you would like to register for this session please register on our web site at:

Re: [PHP] Who's having a good hosting experience these days? {!?}

2002-05-06 Thread Liam MacKenzie
Free web hoting for PHP developers MySQL database (more if you need more) Subdomain, or I can host your domain Apache /w all the bits and pieces Slackware Linux OS 512/512 Cable connection in Brisbane, Australia Only catch is, I've got a 3 GIG monthly transfer limit, so no big uploads/downloads

[PHP] function over loading?

2002-05-06 Thread Kris Vose
Can you practice function over-loading in php? Kris

Re: [PHP] Re: PHP and SOAP

2002-05-06 Thread Udo Giacomozzi
Hello Cedric, I've played around a bit with SOAP and PHP now and i can suggest you the following SOAP implementation: http://dietrich.ganx4.com/nusoap/index.php This work is being developed further for PEAR but they have no stabe version yet: http://pear.php.net/ With very few code lines

[PHP] pass. vars. betn. javascript and php

2002-05-06 Thread Pushkar Pradhan
Is it possible to pass variables from a php page to a page using javascript, and vice versa, I've the variable - an array passed in the url of the page. -Pushkar S. Pradhan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] sum

2002-05-06 Thread Fifield, Mike
I am using the mysql sum() function to return the sum of a bunch of dolor amounts stored float values. But what I get back it something like this 98.18855591 it is to precise. All I want is the dolor amounts added up and rounded up to the closest penny. Is there a better value type to use or

Re: [PHP] sum

2002-05-06 Thread Analysis Solutions
On Mon, May 06, 2002 at 10:01:00AM -0700, Fifield, Mike wrote: amounts stored float values. But what I get back it something like this 98.18855591 it is to precise. All I want is the dolor amounts added up and rounded up to the closest penny. Is there a better value type to use or

[PHP] Re: pass. vars. betn. javascript and php

2002-05-06 Thread Austin Marshall
Pushkar Pradhan wrote: Is it possible to pass variables from a php page to a page using javascript, and vice versa, I've the variable - an array passed in the url of the page. -Pushkar S. Pradhan Yes and no. You can pass variables to a php script with the normal HTTP POST ang GET

[PHP] Making a Client-side HTTPS Request

2002-05-06 Thread Jonathan Rosenberg
I would like to be able to make a client side HTTPS request from one of my pages. From searching around, I see that I can do everything I want using the CURL library. But the ISP I am using does not have the CURL library installed. I'll ask them if they'll install this library. But, assuming

[PHP] Re: sum

2002-05-06 Thread Austin Marshall
Mike Fifield wrote: I am using the mysql sum() function to return the sum of a bunch of dolor amounts stored float values. But what I get back it something like this 98.18855591 it is to precise. All I want is the dolor amounts added up and rounded up to the closest penny. Is there a

[PHP] Re: Making a Client-side HTTPS Request

2002-05-06 Thread Austin Marshall
Jonathan Rosenberg wrote: I would like to be able to make a client side HTTPS request from one of my pages. From searching around, I see that I can do everything I want using the CURL library. But the ISP I am using does not have the CURL library installed. I'll ask them if they'll

RE: [PHP] Re: Making a Client-side HTTPS Request

2002-05-06 Thread Jonathan Rosenberg
I'm quite new to PHP (though I have lots of programming experience, web otherwise). Where can I learn more about what installed and available from the command line means? -Original Message- From: Austin Marshall [mailto:[EMAIL PROTECTED]] Sent: Monday, May 06, 2002 1:19 PM To:

Re: [PHP] Re: Making a Client-side HTTPS Request

2002-05-06 Thread Austin Marshall
What i meant was the actual curl application is installed on the server. Accessible from the command line at, for example, /usr/local/bin/curl With PHP you can execute commands via the command line via system(), exec() or via the backtick (for example $output=`/usr/local/bin/curl request`;)

RE: [PHP] Re: Making a Client-side HTTPS Request

2002-05-06 Thread Jonathan Rosenberg
AHhh ... got it. If my ISP won't install CURL they don't have the application, can I download binaries to my directory execute it from there using PHP? or, does the executable have to run with special permissions? -Original Message- From: Austin Marshall [mailto:[EMAIL PROTECTED]]

Re: [PHP] Re: Making a Client-side HTTPS Request

2002-05-06 Thread Austin Marshall
Yeah, you can download and install it within your home directory and call it from there. As far as permissions go, chmod a+x curl should do it. Jonathan Rosenberg wrote: AHhh ... got it. If my ISP won't install CURL they don't have the application, can I download binaries to my directory

Re: [PHP] Newbie needs compile

2002-05-06 Thread Miguel Cruz
Yes, that works fine. Make it ~/php4/php -q if you don't want to get the Content-Type: header. miguel On Mon, 6 May 2002, Sogno Kahlenberg wrote: It IS the CGI version. You mean I can ~~/php4/php /cgi-bin/cmanage/reindex.php to run it? Any other key points? Thanx.

Re: [PHP] Question about fsockopen

2002-05-06 Thread Miguel Cruz
On Mon, 6 May 2002, Luc Saint-Elie wrote: I use a class to parse a RSS feed, my problem is that when the distant site is down my own site is stuck (because my class waits for an answer that doesn't come..) The logical answer is to use a fsockopen before to control the connection. Reading the

Re: [PHP] pass. vars. betn. javascript and php

2002-05-06 Thread 1LT John W. Holmes
Is it possible to pass variables from a php page to a page using javascript, and vice versa, I've the variable - an array passed in the url of the page. You can use PHP to write HTML or Javascript. You can submit data to PHP through GET, POST, COOKIE, values. Those are your options. So, if

[PHP] Anyone use frames and PHP solution?

2002-05-06 Thread Jeff Lewis
I've looked through the archive and seen that people have attempted it but I am wondering if anyone has actually gone forward with using PHP and frames together. I ask as I am using a very simple frame interface. Left side contains a menu system with all content etc on right. I have a login

[PHP] --enabel-pnctl / php sockets

2002-05-06 Thread Barry Smoke
I have recently discovered php's binary capabilities, and am using it to write a virtual isp management system, so that a php binary will listen to a port, and spit out an interface, such as webmin, etc...(http://vispman.org) This interface will be able to add virtual domains, restart dns,

Re: [PHP] Anyone use frames and PHP solution?

2002-05-06 Thread Miguel Cruz
On Mon, 6 May 2002, Jeff Lewis wrote: I've looked through the archive and seen that people have attempted it but I am wondering if anyone has actually gone forward with using PHP and frames together. I ask as I am using a very simple frame interface. Left side contains a menu system with

Re: [PHP] Anyone use frames and PHP solution?

2002-05-06 Thread Greg Donald
On Mon, 6 May 2002, Jeff Lewis wrote: I've looked through the archive and seen that people have attempted it but I am wondering if anyone has actually gone forward with using PHP and frames together. I ask as I am using a very simple frame interface. Left side contains a menu system with all

[PHP] function over loading?

2002-05-06 Thread Kris Vose
Can you practice function over-loading in php? Kris

Re: [PHP] pass. vars. betn. javascript and php

2002-05-06 Thread Kevin Stone
Unless you're doing HTML as a halfway between Javascript and PHP, you cannot do a POST method (obviously). But you can always pass values in the URL string. Access the URL string in Javascript with document.location.search. Access the URL string in PHP with $HTTP_GET_VARS or $_GET. You can

[PHP] Variables from XML Documents

2002-05-06 Thread Sebastian A.
Hello, I have recently been trying to use templates with XML documents. My problem however is that I cannot get the values between XML tags into variables. For example Example XML Document: me name Foo-Bar /name /me What would I need to do, so that I can get the

RE: [PHP] --enabel-pnctl / php sockets

2002-05-06 Thread Insomniac Admin
Check out phpserv. -Original Message- From: Barry Smoke [mailto:[EMAIL PROTECTED]] Sent: 06 May 2002 19:07 To: [EMAIL PROTECTED] Subject: [PHP] --enabel-pnctl / php sockets I have recently discovered php's binary capabilities, and am using it to write a virtual isp management system,

Re: [PHP] Variables from XML Documents

2002-05-06 Thread Analysis Solutions
On Mon, May 06, 2002 at 08:20:46PM +0200, Sebastian A. wrote: me name Foo-Bar /name /me What would I need to do, so that I can get the contents of the name tag (Foo-Bar) into a variable? Check out my PHP XML Parsing Basics at

RE: [PHP] function over loading?

2002-05-06 Thread Insomniac Admin
We did actually hear you the first time, but I'll just assume your not all that bright. As far as Im aware you cannot over load functions in php - although there may be some new functions available ... I suggest you check the manual. -Original Message- From: Kris Vose [mailto:[EMAIL

Re: [PHP] Anyone use frames and PHP solution?

2002-05-06 Thread Robert Cummings
Greg Donald wrote: On Mon, 6 May 2002, Jeff Lewis wrote: I've looked through the archive and seen that people have attempted it but I am wondering if anyone has actually gone forward with using PHP and frames together. I ask as I am using a very simple frame interface. Left side

[PHP] Grabbing ALL $_POST var at once.

2002-05-06 Thread David J Jackson
The code below works (but its ugly), but I know there has to be a why to grab all the $_POST[] at once and then parse them out? Isn't there a why for me to access them directory without reassigning them? TIH, David ?php $From = $_POST['from']; $Two = $_POST['two']; $Subject =

Re: [PHP] Grabbing ALL $_POST var at once.

2002-05-06 Thread Rasmus Lerdorf
See either extract() or import_request_variables() in the manual. -Rasmus On Mon, 6 May 2002, David J Jackson wrote: The code below works (but its ugly), but I know there has to be a why to grab all the $_POST[] at once and then parse them out? Isn't there a why for me to access them

Re: [PHP] Grabbing ALL $_POST var at once.

2002-05-06 Thread Miguel Cruz
On Mon, 6 May 2002, David J Jackson wrote: The code below works (but its ugly), but I know there has to be a why to grab all the $_POST[] at once and then parse them out? Isn't there a why for me to access them directory without reassigning them? They're just variables. You can print them

Re: [PHP] Grabbing ALL $_POST var at once.

2002-05-06 Thread 1LT John W. Holmes
?php $From = $_POST['from']; $Two = $_POST['two']; $Subject = $_POST['sub_ject']; $Comments = $_POST['comments']; echo b$From/b;print \n; echo $Two;print \n; echo $Subject;print\n; echo $Comments;print \n; ? ?php mail($Two,$Subject,$Comments) ? Why do you waste time assigning a

Re: [PHP] Grabbing ALL $_POST var at once.

2002-05-06 Thread David J Jackson
Rasmus Lerdorf wrote: See either extract() or import_request_variables() in the manual. Rasmus -- I appreciate you taking the time to reply to my posting. David -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   >