RE: [PHP] PHP- accessing session var

2003-08-14 Thread Mignon Hunter
Ps i'm a girl On Thu, 2003-08-14 at 08:53, Mignon Hunter wrote: Thanks Mike and Michael Smith. It works ! On Thu, 2003-08-14 at 05:57, Ford, Mike [LSS] wrote: On 13 August 2003 23:00, Mignon Hunter wrote: Hi This will be real simple for you guys. When I print_r my

Re: [PHP] Question

2003-08-14 Thread Ryan Gibson
Try naming it variable.inc.php or telling your webserver to parse .inc files as php. On 14/8/03 9:12 am, Lito Dagodog [EMAIL PROTECTED] wrote: i have a question? i have 3 files of PHP and the codes are as follows. variables.inc ?php $host = $_POST[host]; $username = $_POST[user];

php-general Digest 14 Aug 2003 06:08:41 -0000 Issue 2235

2003-08-14 Thread php-general-digest-help
php-general Digest 14 Aug 2003 06:08:41 - Issue 2235 Topics (messages 159463 through 159526): Re: global scope issue 159463 by: Rob Adams 159464 by: Rob Adams 159511 by: Ray Hunter strtotime() 159465 by: Chris Boget 159468 by: Jennifer Goodie

[PHP] Category and sub-category logic

2003-08-14 Thread Ryan A
Hi, I am thinking of making a program for personal use which does a very simple thing, just displays listings under categories, eg: under main category Auto there would be cars,bikes etc under banking there would be financing,loans etc (I as admin create master and sub-categories) then if you

[PHP] Reading mail with PHP?

2003-08-14 Thread Marcus Edvardsson
Hi! * I'd like to connect to a mail server * Confirm the senders email addresses * Download the attached file from a speciall email * Read the message body How can I do this? Someone who have tried this? I found some functions for IMAP built in PHP, do you recommend that I dig deeper in

[PHP] Background process

2003-08-14 Thread Jackson Miller
I have a script that starts a background process and redirects. The background process is a PHP script that is started with an exec() call. The problem is that it is taking a while for the background process to start. The redirect starts working in the browser, but doesn't seem to go until

Re: [PHP] OPINIONS wanted - xml-DOM-xsl + php

2003-08-14 Thread [EMAIL PROTECTED]
Hello, The reluctance to install DOM and XSL might be due to the fact that they tend to use a little bit more of processor and memory than other modules. But then again you can say the same about a join on a really big mysql table. :-) SAX on the other hand tends to be leaner and meaner so you

RE: [PHP] Category and sub-category logic

2003-08-14 Thread Chris W. Parker
Ryan A mailto:[EMAIL PROTECTED] on Thursday, August 14, 2003 3:21 PM said: Read this http://www.sitepoint.com/article/1105 and you will know what you should do. The database organization you want to use is called Modified Preorder Tree Traversal. It takes only one table to create all the

[PHP] how to change index.php?passwd to index.php in the address bar

2003-08-14 Thread murugesan
Hello all, When go to a new page from login page the address bar has localhost/regsuccess.php?password=ASD I don't want the things that comes after ? in the URL How can I resolve this issue?. Thanks in advance, Murugesan -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] how to change index.php?passwd to index.php in the address bar

2003-08-14 Thread murugesan
I used the post method in the form tag. But I am getting the following error Method Not Allowed The requested method POST is not allowed for the URL /products.html. Apache/1.3.19 Server at localhost Any one is there to reaolve my problem Regards, Murugesan. - Original Message -

Re: [PHP] Clone of Hotmail,yahoo

2003-08-14 Thread murugesan
The page with TO CC BCC is in a frame (say frame1) Upon clicking the link TO we open a new window. After that u can fetch the users input and can open the frame1 with the users input as argument to the previous window. murugesan. - Original Message - From: Balaji Nallathambi

[PHP] setting allow_call_time_pass_reference to true

2003-08-14 Thread Merlin
Hi there, I am working on a webservice with a xmlrpc class of Keith D. It workes nicely, but it generates tonns of error msg into the error log file. Telling me to set allow_call_time_pass_reference to true. As I do want to set it only true for one directory, I would like to put it into a

[PHP] Re: UPS Address Validation PHP Class

2003-08-14 Thread Manuel Lemos
Hello, On 08/13/2003 06:35 PM, Richard Baskett wrote: Do any of you know of a PHP Class that will interact with the UPS address validation routine? I am completely confused when it comes to UPS and how they integrate things.. and have been saved by someone's UPS Rate Class, but now I need an

Re: [PHP] strtotime()

2003-08-14 Thread Chris Boget
strtotime( '+1 month', mktime( 0, 0, 0, 1, 1, 2003 )); I get back the timestamp for 1/31/2003 and not 2/1/2003. Are you sure? Yeah, but I missed something in my above example. If I did this: strtotime( '+1 month GMT', mktime( 0, 0, 0, 1, 1, 2003 )); It came back with 1/31/2003 and not

[PHP] Re: global scope issue

2003-08-14 Thread Rob Adams
Don't you just hate it when the thread your replying to has gone on to some other thread that you didn't notice? -- Rob Rob Adams [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Shawn McKenzie [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm having problems using

Re: [PHP] Object method overloading

2003-08-14 Thread Dan Phiffer
Well, for instance, you could have the __get and __set functions execute a SQL query or go to a file or whatever. The point, as it seems to me anyway, is to enable a potentially complex internal implementation be exposed with a simple interface. Now as for the implications of that, it's debatable.

RE: [PHP] cookie not setting in IE

2003-08-14 Thread Chris W. Parker
Chris Shiflett mailto:[EMAIL PROTECTED] on Wednesday, August 13, 2003 1:33 PM said: It works in Mozilla Firebird and it even works in a friends IE. For some reason my computer won't accept the cookie. Can you show us the HTTP transaction using ethereal or something? Unfortunately, no.

Re: [PHP] Config files

2003-08-14 Thread Ray Hunter
I tend do do something similar here: I usually set up my arrays and then access them later using the GLOBALS superglobal array. For some projects I tend to use multidimensional arrays because I can do something like. $config['db']['name'] = 'something'; $config['db']['user'] = 'someone';

RE: [PHP] Background process

2003-08-14 Thread Chris W. Parker
Jackson Miller mailto:[EMAIL PROTECTED] on Wednesday, August 13, 2003 12:21 PM said: Is there a faster way to start a background process? Maybe you can pause your script somehow before you execute the redirect? Also, are you sure that it's not redirecting until the script starts? Maybe

Re: [PHP] Re: UPS Address Validation PHP Class

2003-08-14 Thread Richard Baskett
No actually what that does is track a shipment. When what I was doing was needing to do an address validation, to make sure that the City, State, Zip code that was entered was correct. UPS has that as part of their XML tools, but alas.. I am not very versed on XML and php. I did know enough

Re: [PHP] how to change index.php?passwd to index.php in the address bar

2003-08-14 Thread David Otton
On Wed, 13 Aug 2003 16:03:43 +0530, you wrote: Thanks for the message. Actually I tried only html files in the beginning. Let me explain my problem. I want to open a new window in a link with a function as function newwindow() { window.open(/home.php?userid=user1,Homepage); } This is

Re: [PHP] delete line

2003-08-14 Thread Chris Boget
I've been looking and haven't found anything on this. How do you open a file then select a line and delete that line? Warning: untested. This is just to give you a general idea. $fileName = blah.txt; $lineToDelete = Delete this line; $fileArray = file( $fileName ); if(( $lineNum =

[PHP] Regex help appreciated

2003-08-14 Thread David Pratt
I am trying to get a regex to extract the Some and more text between the para elements below in a single pass for style attribute of heading 2 para font-size=12 font-family=Arial style=heading 2Someanchor type=bkmrk/more text-/para para font-size=12 font-family=Arial style=heading 2inline

Re: [PHP] Document root

2003-08-14 Thread Analysis Solutions
Hey Mukta: On Tue, Aug 12, 2003 at 04:27:55PM +, Mukta Telang wrote: Is there any constant in php like $DOCUMENT_ROOT which holds path to the Document root of the server? 1) $_SERVER['DOCUMENT_ROOT'] 2) Check out phpinfo(). It will produce answers to this and MANY other questions for

Re: [PHP] array looping

2003-08-14 Thread Micah Montoy
When I tried the $file_contents = explode(,,$file_contents); I get the error: Notice: Array to string conversion in c:\inetpub\wwwroot\webpage10\example\search\dsp_search.php on line 111 When I do echo ($file_contents); the output is Array. When I do echo ($file_contents[0]); I get all

Re: [PHP] Forms

2003-08-14 Thread Kris Reid
- Original Message - From: Robert Cummings [EMAIL PROTECTED] To: Kris Reid [EMAIL PROTECTED] Cc: PHP List [EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 12:25 AM Subject: Re: [PHP] Forms If I understand your question correctly it sounds like you want to populate a database on

php-general Digest 13 Aug 2003 17:54:24 -0000 Issue 2234

2003-08-14 Thread php-general-digest-help
php-general Digest 13 Aug 2003 17:54:24 - Issue 2234 Topics (messages 159395 through 159462): Re: [PEAR-DOC] standardize @throws for phpdocumentor 2.0? 159395 by: Greg Beaver 159399 by: Alexander Merz Re: Forms 159396 by: Robert Cummings how to change

Re: [PHP] File ordering

2003-08-14 Thread Curt Zirzow
* Thus wrote Katherine Barry ([EMAIL PROTECTED]): I am doing a 'readdir' on a subdirectory. I did my file naming counting on it ordering based on numbering... But when I do the readdir it isn't doing it. My naming convention 002_2003_66.jpg would indicate the 66th picture for the month of Feb

Re: [PHP] Server-side script identified as IE

2003-08-14 Thread Vchat20
you dont have to be so rude about it. if you dont believe me check out both sites. mine and the one I want to pull news from. mine: www.pokeradio.com other site: http://pio.dalegend.com/ do some research and youll find that im legit. Joel Rees [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: [PHP] help with email problem

2003-08-14 Thread Jackson Miller
On Tuesday 12 August 2003 5:33, Matt Giddings wrote: Is there anything that can be done about this? I'm about ready to unsubscribe from this PHP list due to that fact! If you are in the US you can call your Senator and offer your support of the CAN-SPAM bill (horrible name isn't it). It is

Re: [PHP] how do I spoof a get request

2003-08-14 Thread Dan Anderson
Doesn't this have to be precompiled in? -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] global scope issue

2003-08-14 Thread Shawn McKenzie
I'm having problems using global vars. I have read the docs and all of the notes but it's not helping. Simplified example: /dir1/script2.php ?php $test = array ( 'a' = '1', 'b' = '2'); ? /dir1/script1.php ?php include(/dir1/script2.php); print_r($test); //works great

Re: [PHP] Adding days to a date

2003-08-14 Thread Onslaught
Yes, just check out mktime in the PHP manual. - Original Message - From: Donpro [EMAIL PROTECTED] To: php list [EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 2:37 PM Subject: [PHP] Adding days to a date I have a piece of code like so: $today =- getdate(); I am looking for a

RE: [PHP] saving images into pdf file using PDFlib

2003-08-14 Thread Jay Blanchard
[snip] im saving image into pdf with: $image = pdf_load_image($p, 'jpeg', $picture_path, ); pdf_fit_image($p, $image, $x_im, $y_im, ); pdf_close_image($p, $image); image is 150px x 100px but in genereted pdf file it looks much smaller. im viewing mentioned pdf file with 100% view ratio. i've

[PHP] UPS Address Validation PHP Class

2003-08-14 Thread Richard Baskett
Do any of you know of a PHP Class that will interact with the UPS address validation routine? I am completely confused when it comes to UPS and how they integrate things.. and have been saved by someone's UPS Rate Class, but now I need an Address Validator. Please please please help! Thanks!

[PHP] Re: PHP and SQL Server

2003-08-14 Thread Ben
Todd I use the ODBC drivers to connect a w2k server running PHP to a w2k server running MSSql. It is used mainly for real time reports on sales etc. I have had trouble in the past connecting. Downloading installing MDAC from MS on the php server helped. Not much data is transferred, so never

Re: [PHP] how to change index.php?passwd to index.php in the address bar

2003-08-14 Thread David Otton
On Wed, 13 Aug 2003 14:18:13 +0530, you wrote: In your first post you say When go to a new page from login page the address bar has localhost/regsuccess.php?password=ASD But in your second, Method Not Allowed The requested method POST is not allowed for the URL /products.html.

[PHP] string concatenation from array

2003-08-14 Thread Micah Montoy
I'm having a bit of difficulty getting a string to attach to itself from an array. Here is the bit of code I'm working on. $wresult = ; foreach ($search_string as $word_result){ $wresult = $wresult $word_result; } echo ($wresult); Anyone see why when I run through each part of the

Re: [PHP] Simple HTTP request, with Range header

2003-08-14 Thread Chris Shiflett
--- Curt Zirzow [EMAIL PROTECTED] wrote: The problem with dealing with HTTP/1.1 is you have to make sure your script is HTTP/1.1 compliant, which there are a lot of gotchas to deal with. In most cases, extra features (or gotchas) in HTTP/1.1 have to be requested via one of the Accept-*

RE: [PHP] File ordering

2003-08-14 Thread Ford, Mike [LSS]
On 12 August 2003 12:50, Katherine Barry wrote: I am doing a 'readdir' on a subdirectory. I did my file naming counting on it ordering based on numbering... But when I do the readdir it isn't doing it. My naming convention 002_2003_66.jpg would indicate the 66th picture for the month of Feb

Re: [PHP] how do I spoof a get request

2003-08-14 Thread Matt Babineau
Yeah, I believe on Apache/Linux, it needs to be compiled in, and on windows there is just some configuration and file moving to do. cURL will do what you need it to, there is even code on the PHP site for making the POST happen. Matt On Tue, 2003-08-12 at 20:27, Dan Anderson wrote: Doesn't

Re: [PHP] Config files

2003-08-14 Thread Chris Boget
I have following options for working with the configuration files with the relatively large web application. For additional reference, you might want to check out PEAR's Configuration package. It's fairly flexable and work's pretty good. Although, I have found some oddness when it's

RE: [PHP] Precision value in PHP??

2003-08-14 Thread Chris W. Parker
Scott Fletcher mailto:[EMAIL PROTECTED] on Wednesday, August 13, 2003 10:27 AM said: When I do this calculation, 77 * 2.00 = 154.00 but with PHP, it return only 154. So, how do I set the precision value. Use the number_format() function. Works just like you want. echo

Re: [PHP] how do I spoof a get request

2003-08-14 Thread Chris Shiflett
--- Analysis Solutions [EMAIL PROTECTED] wrote: The difficulty with cookies is when a site doesn't work without them. Right, which is an example of developers that suck, not the technology. By that logic, you would think that PHP sucks, because there are plenty of sucky PHP applications. :-)

Re: [PHP] Precision value in PHP??

2003-08-14 Thread Chris Boget
When I do this calculation, 77 * 2.00 = 154.00 but with PHP, it return only 154. What do you get if you do: 77 * 2.01? for the .00, you might want to look into using number_format(); Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] string concatenation from array

2003-08-14 Thread Matt Giddings
Use the . concatenation operator. : ) $wresult = ; foreach ($search_string as $word_result) { $wresult = $wresult . . $word_result; } echo $wresult; Matt -Original Message- From: Micah Montoy [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 3:58 PM To: [EMAIL

[PHP] Parsing problem with character ''

2003-08-14 Thread FMM Schillemans
Hello, I've installed a Win32 package with in it Apache, PHP en MySQL version. the problem is that the moment the '' character is placed within the PHP code (lets say withing a print-command), then the PHP mode is immideatly ends. Making it impossible to create HTML code run-time Do you know

RE: [PHP] saving images into pdf file using PDFlib

2003-08-14 Thread jan
Yes, it looks like that's the problem (print pixels vs. view pixels). i've found out that PDFlib is importing images as 72dpi images no matter if they really are 72dpi or not :( so now my images are about 4-times smaller as they should be. any suggestions ? : Regards Jan On Wed, 2003-08-13 at

Re: [PHP] Parsing problem with character ''

2003-08-14 Thread Analysis Solutions
Marc: On Wed, Aug 13, 2003 at 06:32:50PM -0700, FMM Schillemans wrote: the problem is that the moment the '' character is placed within the PHP code (lets say withing a print-command), then the PHP mode is immideatly ends. Making it impossible to create HTML code run-time Then your PHP

Re: [PHP] HTML equivalents of accented characters

2003-08-14 Thread Ivo Fokkema
Liam Gibbs [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I think php.net/htmlentities will do this. Apparently it *is*, but it won't for me. Any problems with this code? $result[] = é; $result[1] = htmlspecialchars($result[0]); $result[2] = htmlentities($result[0]); Both

Re: [PHP] string concatenation from array

2003-08-14 Thread Peter James
My personal favourite is to use an array. It's much cleaner syntax IMO...it is very easy to miss a '.' on a '.=', and introduce a nasty bug. $wresult = array(); foreach ($search_string as $word_result) { $wresult[] = $word_result; } echo join('', $wresult); or in php 4.3 echo

Re: [PHP] image button problem

2003-08-14 Thread Abdul-wahid Paterson
Hi, What do you mean you don't know what button was pressed? You have 'test_x' and 'test_y' so you know the test button was pressed. If you give the other buttons a different name, you'll have different _x and _y variable names, so you can still tell which one was pressed. Yes, I should have

Re: [PHP] Re: global scope issue

2003-08-14 Thread Shawn McKenzie
does it matter if a global command has bee issued before with vars other than the $test var? i.e before the include if there is a global $somevar; -Shawn Curt Zirzow [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] * Thus wrote Ford, Mike [LSS] ([EMAIL PROTECTED]):

RE: [PHP] what's going on with the hanmir.com guy?

2003-08-14 Thread Chris W. Parker
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] on Tuesday, August 12, 2003 4:15 PM said: i didnt undertstand a word you said , is he off the list yet 1. Maybe your comprehension would be helped if you learned to punctuate sentences correctly. Spaces never ever come before punctuation. It's

RE: [PHP] [Newbie Guide] For the benefits of new members

2003-08-14 Thread Mike Brum
And don't forget, the user-added notes at the bottom of the functions pages are extremely useful to see actual code usage along with tips or potential conflicts on various systems! Those alone offer countless user-generated examples that are usually similar to content that people on the list

Re: [PHP] Location referer header

2003-08-14 Thread Marek Kilimajer
No way. Uros wrote: Hi, Anybody have any sugestion how to pass this data. My only idea is something like this. redir.php?url=www.somehost.comq=testpos=1 That way i can count click and also send referer with query data. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Cannot add header information - headers already sent

2003-08-14 Thread Marek Kilimajer
You need to rethink your code logic. Any headers, be it cookies, cookies from session_start(), header() calls, must be send before any content, content is what you can see if you select view source and comes from echo, print, printf, errors and warnings, or anything that is outside of ?php ?.

Re: [PHP] Category and sub-category logic

2003-08-14 Thread David Otton
On Fri, 15 Aug 2003 00:20:58 +0200, you wrote: Hi, I am thinking of making a program for personal use which does a very simple thing, just displays listings under categories, eg: under main category Auto there would be cars,bikes etc under banking there would be financing,loans etc (I as admin

[PHP] Document root

2003-08-14 Thread Mukta Telang
Hi! Is there any constant in php like $DOCUMENT_ROOT which holds path to the Document root of the server? I want to do something like this: $path=$DOCUMENT_ROOT./files/one.php; echo a href=\$path\; Thanks in advance, Mukta -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Session does not end when browser is closed.

2003-08-14 Thread John Manko
make sure the process has terminated. Lee Hanxue wrote: Hi, I am using $_SESSION and each php page has session_start() Session Handling is working fine, except for one problem: when I close my browser and re-open it again, I am still logged in. I tested the log in and log out functions and

RE: [PHP] Category and sub-category logic

2003-08-14 Thread Chris W. Parker
David Otton mailto:[EMAIL PROTECTED] on Thursday, August 14, 2003 4:58 PM said: The advantage of doing it this way is that your tree structure is generic and can have many levels. The disadvantage is that you may need many SQL queries to fully traverse the tree (though people rarely want

[PHP] counting files, choosing at random

2003-08-14 Thread Adam i Agnieszka Gasiorowski FNORD
I want to choose a file at random from a directory which adheres to certain naming scheme. I can't get it to work. It's probably something simple...Here is a relevant snippet: img src=/szukaj/images/i ? chdir('./szukaj/images/'); echo mt_rand(0, count(glob('i*.gif', GLOB_NOSORT)) -

Re: [PHP] help with email problem

2003-08-14 Thread Curt Zirzow
* Thus wrote Jackson Miller ([EMAIL PROTECTED]): On Tuesday 12 August 2003 5:33, Matt Giddings wrote: Is there anything that can be done about this? I'm about ready to unsubscribe from this PHP list due to that fact! If you are in the US you can call your Senator and offer your support

Re: [PHP] how do I spoof a get request

2003-08-14 Thread Analysis Solutions
Hey Dan: On Tue, Aug 12, 2003 at 09:12:45PM -0400, Dan Anderson wrote: But some web pages when I cut and paste the URLs don't work. Like when I search for something on Ebay. Could this be because of cookies? That's a good guess! Yet further proof that cookies suck, except the ones made

[PHP] delete line

2003-08-14 Thread Rodney Green
I've been looking and haven't found anything on this. How do you open a file then select a line and delete that line? Thanks, Rod -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: string concatenation from array

2003-08-14 Thread Micah Montoy
Thanks a bunch. Problem solved. Micah Montoy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm having a bit of difficulty getting a string to attach to itself from an array. Here is the bit of code I'm working on. $wresult = ; foreach ($search_string as $word_result){

Re: [PHP] prob. with function parameter with

2003-08-14 Thread Mukul Sabharwal
You cannot pass NULL, where a 'reference' was exptected, it is not legal. Just as any other constant. NULL is a constant. function myfunc($p) { ... } $v = NULL; // passing NULL myfunc($x); Mukul Sabharwal http://www.devhome.org - Original Message - From: Mirek Novak [EMAIL PROTECTED]

RE: [PHP] help with email problem

2003-08-14 Thread Roger B.A. Klorese
From: Mike Morton [mailto:[EMAIL PROTECTED] How does the legislation prevent that? As long as people publish their email addresses - they are public domain and will be treated as such - do you want to stop mass snail mailings mailings as well? As long as people publish their information

Re: [PHP] Forms

2003-08-14 Thread Robert Cummings
As I mentioned already you would be best not using Javascript and performing the submission via PHP. I wrote the following snippet in the past to do something similar to what you are asking. Study it and see if you can adapt it to your own needs. You should be able to loop on the form submission

[PHP] Cache Question

2003-08-14 Thread Tony Tzankoff
I have a webpage written in the latest version of PHP and need a little bit of help with a rather pesky cache issue. Part of the source code is as follows: page.php ? echo meta http-equiv=pragma content=no-cache; echo meta http-equiv=expires content='-1'; . . . echo

Re: [PHP] what's going on with the hanmir.com guy?

2003-08-14 Thread daniel
i didnt undertstand a word you said , is he off the list yet On Tue, Aug 12, 2003 at 03:58:19PM -0700, Chris W. Parker wrote: I'm surprised the email address hasn't been taken off the list yet. [EMAIL PROTECTED] you are my arch-nemesis!! [EMAIL PROTECTED] is the place to kvetch about users

Re: [PHP] image button problem

2003-08-14 Thread Jackson Miller
On Tuesday 12 August 2003 8:45, Abdul-wahid Paterson wrote: [snip] Is there are a better way of doing this? All I want is to know which button has been clicked on the form. (The form has to be method=POST) input type=image name=test1 src=... input type=image name=test2 src=... Then on the form

Re: [PHP] Reading remote, script-generated files

2003-08-14 Thread Matt Daleo
Analysis Solutions [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hey Matt: On Tue, Aug 12, 2003 at 10:07:10AM -0700, Matt Daleo wrote: I'm attempting to read a remote file and parse it for data. The problem I've having is that the file seems to be generated by Perl

Re: [PHP] how do I spoof a get request

2003-08-14 Thread Dan Anderson
It should work. You said sometimes. What are the times it doesn't work? I have a script to grab various info from web pages. Insert a web page address and it outputs the results. It's useful for different things. But some web pages when I cut and paste the URLs don't work. Like when I

RE: [PHP] help with email problem

2003-08-14 Thread Roger B.A. Klorese
Be real - the legislation is a waste of time and money and will never be enforced or enforcable. Too many 'anonymous' countries willing to take money for server hosting in the world. Yes, but they're taking money *from* American companies, for the most part. You don't have to punish the

Re: [PHP] how to change index.php?passwd to index.php in the address bar

2003-08-14 Thread Peter James
Use the post method? -- Peter James Editor-in-Chief, php|architect Magazine [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original Message - From: murugesan [EMAIL PROTECTED] To: Robert Cummings [EMAIL PROTECTED]; Kris Reid [EMAIL

[PHP] How do I manipulate a date variable to a specific date array?

2003-08-14 Thread Donpro
Hi, I use the getdate() function to return today's date in an array. I do this as I need to separate the day/month/year as to display them in a drop down combo box in my form. I would like to manipulate my array as such. 1) Find the next Monday (if not already Monday); set the array to this

Re: [PHP] PHP Counter on HTML Page

2003-08-14 Thread John W. Holmes
PHPSpooky wrote: Astrum Et Securis! I don't want to use iFrames.. is there any other way? I want to use my own php counter with lil information.. which updates the database on page load incrementing the counter and catching the few Server Variables.. and just display the Hits on that page.

RE: [PHP] help with email problem

2003-08-14 Thread Roger B.A. Klorese
and how will this be enforced. waste of legislation imo. The same way any law is: by filing criminal charges after the fact. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Pls Help-Looking for PHP Product for Articles

2003-08-14 Thread Stephen Toutonghi
After thinking this over and talking with a couple of people, doing this looks pretty simple. I'm just not up to the task at the moment and was hoping to fine something already built that would be ready to install. I think I need to talk with our IT people a little more before pursuing this

[PHP] Adding days to a date

2003-08-14 Thread Donpro
I have a piece of code like so: $today =- getdate(); I am looking for a function that will add a variable number of days and return a valid date, i.e., the array elements for mday, mon and year are reset as needed. Is this possible? Thanks, Don --- Outgoing mail is certified Virus Free.

Re: [PHP] libxml in PHP 5

2003-08-14 Thread Analysis Solutions
Hey Folks: Adam replied to my message on another mailing list. I'm reposting it here for public edification and education, with a disclaimer from him that what he knows is from discussions on the php-dev mailing list, not first hand experience... From: Adam Maccabee

Re: [PHP] dbx

2003-08-14 Thread Ray Hunter
Not sure i understand fully the question...however, you can set up your own error handling and that will allow you to do what you like with all errors. You can also trigger your own errors (however, this is limited to a certain type). http://us2.php.net/manual/en/ref.errorfunc.php -- BigDog

Re: [PHP] Mail

2003-08-14 Thread Curt Zirzow
* Thus wrote Sean ([EMAIL PROTECTED]): Got it if anyone else has trouble. In the IIS SMTP properties go to the Access Tab. Click the Relay button at the bottom and change the selection from Only the list below to All except the list below I have no idea if this is a security risk it works

Re: [PHP] Quick question - Warnings

2003-08-14 Thread Shena Delian O'Brien
Try using in your PHP page: error_reporting (E_ALL ^ E_NOTICE); Ryan A wrote: Hi John, Thanks for replying, I already tried that and thought i might be mistaken because i am still getting stuff like this: Notice: Undefined index: facility24 in /home/bestweb/public_html/add_co_location.php on

Re: [PHP] POST/GET - if there is a dot in the name it's changes to _

2003-08-14 Thread Analysis Solutions
Arnau: On Tue, Aug 12, 2003 at 05:28:54PM +, Arnau Rebassa wrote: I'm having the same problem as the bug report http://bugs.php.net/bug.php?id=7987. They say that's not a bug it's a feature... Anybody knows where I can find which characters are changed and by which character? You're

Re: [PHP] [PROBLEM] Killed sshd, want to start it via PHP script.

2003-08-14 Thread Simon Fredriksson
Apache not running as root is a good thing, but probably is... Since it appears you are not the admin of the box, ask them to install Webmin (http://www.webmin.org/webmin) and to give your userid access to the ssh component. Webmin is installed, it's just not turned on. I am the administrator

Re: [PHP] Regex help appreciated

2003-08-14 Thread Mukul Sabharwal
Firstly, If your text spans more than one line you should use \n, rather than just doing something like : a href=\ hello\...(.*)/a because that will mess up, depending on what text editor you use, eg. notepad will put \r\n, but it should only be \n. Though I'm not sure about it. So the best

Re: [PHP] [PROBLEM] Killed sshd, want to start it via PHP script.

2003-08-14 Thread Comex
[EMAIL PROTECTED] Jason Wong: What I'm saying is apache/php has little part to play in system maintenance. Those solutions I proposed are started by root, once they've started they will (hopefully) ensure that sshd would be running, and auto-restarted whenever it is stopped (or in the case of

[PHP] what is %s and %d

2003-08-14 Thread pehepe php
what is %s and %d I see these in php tutorials. These are used in printing data from database but I don't know why we use %s and %d. And is there any expressions like this? Thank you for your answers. _ MSN 8 with e-mail virus

[PHP] Re: Pls Help-Looking for PHP Product for Articles

2003-08-14 Thread Alexandru COSTIN
Hello Steve, I've been reading about KompleteLite, but it looks like you have to install the Kyrsalis Enterprise server before being able to use KompleteLite, This is not true - (where have you read this?). You just have to install Krysalis Foundation (open) to be able to install

[PHP] Generate Dates

2003-08-14 Thread Ralph Guzman
I have to generate a menu for all months in a year, with each month broken down into two periods. For example: January 01-15 January 15-31 February 01-15 February 15-28 March 01-15 March 15-31 Etc... How can generate a list of all 12 months using the above format? -- PHP General Mailing List

RE: [PHP] How to loop?

2003-08-14 Thread Chris W. Parker
John Taylor-Johnston mailto:[EMAIL PROTECTED] on Monday, August 11, 2003 3:08 PM said: I understand the principle of mail. What I want to do is use a textarea as a mailing list, something like this. How do I loop it? I would... $addresses = explode(\n,$_GET['addresses']);

[PHP] Re: Cannot add header information - headers already sent

2003-08-14 Thread Fabio Rotondo
Frederik Feys wrote: Hi Frederik, Warning: Cannot add header information - headers already sent by (output started at /usr/local/www/vhosts/aurelis.org/htdocs/header_aurelis.php:95) in /usr/local/www/vhosts/aurelis.org/htdocs/store/includes/functions/get_ca rtID.php on line 14 Can anyone shed

[PHP] Re: [PEAR-DOC] standardize @throws for phpdocumentor 2.0?

2003-08-14 Thread Greg Beaver
Alexander Merz wrote: Greg Beaver wrote: We are thinking of standardizing the format of @throws for phpDocumentor 2.0. The possible format we'd like to use is: @throws constant|classname [description] @throws error_class::constant description ie @throws PEAR_Error::NOT_FOUND Right

RE: [PHP] PHP Counter on HTML Page

2003-08-14 Thread Mike Migurski
I've never used GD or ImageMagick before.. can you guide me to any tutorial, script, reference.. something upon the same that can help me out? Can you -please- do some of your own legwork once in a while? http://www.google.com/search?q=imagemagick+tutorial

RE: [PHP] setting file_uploads on a per-directory basis

2003-08-14 Thread Ford, Mike [LSS]
On 12 August 2003 09:07, Demian Turner wrote: In an effort to improve security on a server that has many sites, I was hoping to disable http_uploads in php.ini then enable it in one site with either an .htaccess: php_value http_uploads on or in httpd.conf with Directory /path/to/dir

RE: [PHP] Screen Resoultion

2003-08-14 Thread daniel
how is it possible to send a jscript variable to php thats impossible You can do so with JavaScript and have that pass the information onto your PHP scripts to do whatever it is that you want. -M -Original Message- From: Uma Shankari T. [mailto:[EMAIL PROTECTED] Sent: Tuesday,

[PHP] ldap_list + Novell eDirectory

2003-08-14 Thread Daniel Bray
I am trying to list out some printers in our Novell tree. The server that I am hitting is a Netware 6 server, running eDirectory 8. Here is the code I am using (simplified): begin code-- $printer_dn = ou=$facility_selected, $basedn; $printer_list =

Re: [PHP] POST/GET - if there is a dot in the name it's changes to _

2003-08-14 Thread CPT John W. Holmes
From: Arnau Rebassa [EMAIL PROTECTED] I'm having the same problem as the bug report http://bugs.php.net/bug.php?id=7987. They say that's not a bug it's a feature... Anybody knows where I can find which characters are changed and by which character? Spaces are also converted to underscore

<    3   4   5   6   7   8   9   10   >