[PHP] Increment

2002-07-01 Thread Uma Shankari T.
Hello, Can anyone please clear my doubt... Actually i am retrieving the entire record details from the database..I want to display 1 row at a time..after clicking a button i want to display the next record..after clicking the next button i want to display the 3 record and so on..How do i go

RE: [PHP] Increment

2002-07-01 Thread Martin Towell
on the next link have some sort of counter that lets you know which record to display. If that counter isn't present, then display the first record HTH Martin -Original Message- From: Uma Shankari T. [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 4:52 PM To: PHP Subject: [PHP]

RE: [PHP] Printing

2002-07-01 Thread Chris Kay
You saying there is a way for the scripts to know what kind of browser u r using? --- Chris Kay Technical Support - Techex Communications Website: www.techex.com.au Email: [EMAIL PROTECTED] Telephone: 1300 88 111 2 -

Re: [PHP] Increment

2002-07-01 Thread Mirza Muharemagic
Hi Uma, when u make a query, make it for two rows. than show the 1st one, and per psot method send the id of the next row to the next query. $last_id = $_POST[id]; $result = select id, yourcolumns from table ... limit $last_id, 2 $secondrow =

Re: [PHP] Printing

2002-07-01 Thread Justin French
on 01/07/02 5:01 PM, Chris Kay ([EMAIL PROTECTED]) wrote: You saying there is a way for the scripts to know what kind of browser u r using? Yes, there are ways of determining the browser, but I believe what Jason was saying is that PHP happens on the server side (here we go again)... In other

Re: [PHP] emulating enable_trans_sid

2002-07-01 Thread Tom Rogers
Hi It just so happens I have been playing with an html parser making an html to xml converter. I started with phpHTMLparse class but it couldn't cope with the html generated by microsoft so I have modified it to better handle carriage returns,white space,comments and embedded commands in the

Re: [PHP] emulating enable_trans_sid

2002-07-01 Thread Justin French
That'd be great -- for inspiration if nothing else :) Justin French on 01/07/02 6:35 PM, Tom Rogers ([EMAIL PROTECTED]) wrote: Hi It just so happens I have been playing with an html parser making an html to xml converter. I started with phpHTMLparse class but it couldn't cope with the

[PHP] php install

2002-07-01 Thread Nigel George
Hi, I'm trying to install PHP 4.2.1 on SuSE SLES 7.3 and I get the following error message checking lex output file root... ./configure: lex: command not found configure: error: cannot find output from lex; giving up any ideas? Nigel -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] php install

2002-07-01 Thread Matt Williams
On Monday 01 July 2002 11:20, Nigel George wrote: Hi, I'm trying to install PHP 4.2.1 on SuSE SLES 7.3 and I get the following error message checking lex output file root... ./configure: lex: command not found configure: error: cannot find output from lex; giving up any ideas? install

Re: [PHP] Globals bug??

2002-07-01 Thread Marek Kilimajer
Are you using any opcode cache? Are you sure it is another process or might it be another thread. Marek [EMAIL PROTECTED] wrote: We are seeing a rare bug that seems to imply that there is a bug in PHP's global variables across httpd processes. To make a long story short, it appears that

Re: [PHP] Keeping Secrets in PHP Files

2002-07-01 Thread Tamas Arpad
On Sunday 30 June 2002 09:52, Justin French wrote: on 29/06/02 3:20 AM, Tamas Arpad ([EMAIL PROTECTED]) wrote: I was thinking if you use 90 character long filenames, assuming you only use the letters of the alphabet and the digits then you would have 62^90 different filenames, which is

[PHP] strip_tags

2002-07-01 Thread BB
I'm having a problem using strip_tags. When I try and run a table through strip_tags with the following vars, it looses everything after the first cell with content in, i.e: nothing after the first cell is returned, not even a /td can anyone help? is this a PHP bug? -- PHP General Mailing

[PHP] help with preg_replace()

2002-07-01 Thread Gregor Jak¹a
ive been tryin to find a solution for this problem for some hours now, but i just dont know how to do it... so i ask for ur assistance. Lemme list some examples, so u can see what im tryin to do :) word = word word = | word | word = | word | word = |word | word = | word| So if pattern is word it

[PHP] Problem with menu

2002-07-01 Thread JJ Harrison
I have a table with id, pid(parent), title and page_name(url) fields. The vars provided to the script are the current page's title, id and pid(parent) When I am on the parent page I get this(Which is what I want): [ Chronological History ][ Website Chronological History ] When I am in the

Re: [PHP] Populate Popup Menu from Database

2002-07-01 Thread Erik Price
On Saturday, June 29, 2002, at 11:41 AM, Mike Tuller wrote: What is here is beyond my understanding, and seems like it is a little much for what I need. Here is what my database table looks like: Departments department_id department_name I just want to list the department

Re: [PHP] Keeping Secrets in PHP Files

2002-07-01 Thread Erik Price
On Friday, June 28, 2002, at 06:14 PM, Lazor, Ed wrote: The hosting provider could probably implement a solution... Alter the FTP configuration to automatically set the group permission to that of the web server when you transfer files. You wouldn't need to be in the group. You're

Re: [PHP] Javascript to PHP?

2002-07-01 Thread Erik Price
On Saturday, June 29, 2002, at 03:13 PM, Jed Verity wrote: I can't find any information on passing JavaScript variables to PHP on the same page (i.e. not through the POST information of a submitted form). Is this because it's not possible? To take the load off the server, I'm trying

[PHP] creating multidimensional arrays

2002-07-01 Thread DoL
Hi All I want to create a multi dimensional arrays as below $result[$something]['$key_string_01] = value_01 $result[$something]['$key_string_02] = value_02 $result[$something]['$key_string_03] = value_03 $result[$something]['$key_string_04] = value_04 $result[$something][0] = value_06

[PHP] Page rendering speed: PostNuke or PHP-Nuke

2002-07-01 Thread Andres Montiel
To those who have used these content management systems: which one renders pages faster, PostNuke or PHP-Nuke? I plan to set up a site on my Linux box and want to know which one I should use. :) Also, would anyone know of a PHP based content management system that does not have the usual 3

[PHP] Win98, Apache, PHP Config Problem

2002-07-01 Thread Jay Blanchard
Good morning! Over the weekend I attempted to set up another test platform on a Win98 laptop, running Apache as the server and MySQL as the database engine. Just want to use it for some testing locally. No matter what I attempted I could not get PHP to work. I followed suggestions from;

RE: [PHP] Keeping Secrets in PHP Files

2002-07-01 Thread Dan Vande More
Easy, http://www.zend.com/store/products/zend-encoder.php Dan -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 7:29 AM To: Lazor, Ed Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Keeping Secrets in PHP Files On Friday, June 28, 2002, at 06:14

Re: [PHP] Win98, Apache, PHP Config Problem

2002-07-01 Thread Julie Meloni
JB Over the weekend I attempted to set up another test platform on a Win98 JB laptop, running Apache as the server and MySQL as the database engine. JB I tried some other experiments, and finally gave up. I would either get file JB not found messages, or a server error. Has anyone ever done this

RE: [PHP] Win98, Apache, PHP Config Problem

2002-07-01 Thread Bruce Karstedt
Just went through - versions please? Bruce Karstedt President Technology Consulting Associates, Ltd. Tel: 847-735-9488 Fax: 847-735-9474 -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 8:53 AM To: [EMAIL PROTECTED] Subject: [PHP] Win98,

RE: [PHP] Win98, Apache, PHP Config Problem

2002-07-01 Thread Jay Blanchard
[snip] Just went through - versions please? [/snip] Apache 1.3, PHP 4.1 Thx! Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Win98, Apache, PHP Config Problem

2002-07-01 Thread Jay Blanchard
[snip] All the time. Never had a problem. Tutorials here: http://www.thickbook.com/extra/index.html?t=in Installing MySQL on Windows is just an installer file. PHP is already configured to use it; nothing extra needed. [/snip] Yeah, I knew that about MySQL, I just couldn't get PHP working

php-general Digest 1 Jul 2002 14:21:29 -0000 Issue 1438

2002-07-01 Thread php-general-digest-help
that is given is not greater than today (i.e. if today is June 30, and you ask for 20020701, I want to be able to throw an error). I'm a newbie, so I'm not sure the best way to do this. My thought was that if I take the year () and add on the day-of-year (i.e. Feb 10 = 041) then I would be able

Re: [PHP] strip_tags

2002-07-01 Thread Analysis Solutions
On Mon, Jul 01, 2002 at 12:35:53PM +0100, BB wrote: I'm having a problem using strip_tags. Sounds like you're using it wrong. Re-read http://www.php.net/manual/en/function.strip-tags.php. Then fix your code accordingly. If that doesn't work, post a _sample_ of your HTML and PHP that don't

[PHP] cURL in an exec()

2002-07-01 Thread Jay Blanchard
I can do this; exec(curl -d \name=mynamepassword=mypasswordbtnsubmit=submit\ -s -o cdrlist.html https://theserver.com/list.html;); but why can't I do this exec(curl -d \name=mynamepassword=mypasswordbtnsubmit=submit\ -s -o .$listline. https://theserver.com/download/ .$listline.); The only

[PHP] php SMS (or phone contact)

2002-07-01 Thread Duncan
Hi, i want to make a script, that monitors my server and if its down, sends an SMS, pager message, or rings the phone (lol) to contact me. Is it possible to send a message to a pager or an SMS to a handy with php? Or are there any scripts already out there? I tried to take a look around, but

RE: [PHP] need to change $ char in string

2002-07-01 Thread Beverly Steiner
Uli others, Thanx for the suggestions. This works as stated but the data already exists in this format from an old database and I'm trying to parse it into logical fields. Originally the data in the field looked something like 1$General/ms1.zip#12$Another/xqy.zip#. I deleted the ending #

Re: [PHP] help with preg_replace()

2002-07-01 Thread Analysis Solutions
On Mon, Jul 01, 2002 at 01:50:31PM +0200, Gregor Jak¹a wrote: word = word word = | word | word = | word | word = |word | word = | word| preg_replace(#^[|]?[^\](.*?)[^\]$#i, | \\0 |, $string); preg_replace('/^(|)+?([^]*)?$/', '\\1| \\2 |', $string); I noticed that when there are

Re: [PHP] need to change $ char in string

2002-07-01 Thread Jason Wong
On Monday 01 July 2002 22:47, Beverly Steiner wrote: Uli others, Thanx for the suggestions. This works as stated but the data already exists in this format from an old database and I'm trying to parse it into logical fields. Originally the data in the field looked something like

Re: [PHP] php SMS (or phone contact)

2002-07-01 Thread Jason Wong
On Monday 01 July 2002 22:46, Duncan wrote: Hi, i want to make a script, that monitors my server and if its down, sends an SMS, pager message, or rings the phone (lol) to contact me. Is it possible to send a message to a pager or an SMS to a handy with php? Or are there any scripts already

Re: [PHP] cURL in an exec()

2002-07-01 Thread Jason Wong
On Monday 01 July 2002 22:37, Jay Blanchard wrote: I can do this; exec(curl -d \name=mynamepassword=mypasswordbtnsubmit=submit\ -s -o cdrlist.html https://theserver.com/list.html;); but why can't I do this exec(curl -d \name=mynamepassword=mypasswordbtnsubmit=submit\ -s -o .$listline.

RE: [PHP] php SMS (or phone contact)

2002-07-01 Thread Cal Evans
don't reinvent the wheel. (Unless you jsut REALLY want to) Try www.nagios.org It has support for SMS. (Be prepared to spend about 3-4 hours setting it up) =C= * * Cal Evans * Journeyman Programmer * Techno-Mage * http://www.calevans.com * -Original Message- From: Duncan [mailto:[EMAIL

Re: [PHP] creating multidimensional arrays

2002-07-01 Thread Analysis Solutions
On Mon, Jul 01, 2002 at 09:38:50PM +0800, DoL wrote: Hi All I want to create a multi dimensional arrays as below $result[$something]['$key_string_01] = value_01 ^ Two things: | You didn't put a closing ' here - BUT, you

Re: [PHP] strip_tags

2002-07-01 Thread BB
OK, this is a 3x3 table pasted in from word! This is the raw HTML TABLE style=BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none; BORDER-COLLAPSE: collapse; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt

RE: [PHP] cURL in an exec()

2002-07-01 Thread Jay Blanchard
[snip] but why can't I do this exec(curl -d \name=mynamepassword=mypasswordbtnsubmit=submit\ -s -o .$listline. https://theserver.com/download/ .$listline.); extra space here? ^ I think you've got something extra rather than missing :) [/snip] Thanks Jason, I

Re: [PHP] Javascript to PHP?

2002-07-01 Thread Jed Verity
Thanks for the response, Erik! I think I will try passing the data in a cookie to a hidden frame, refreshing the frame, and then reading the data back. Many thanks to all for the suggestions! Cheers, Jed I liked it when Erik Price wrote this to me: On Saturday, June 29, 2002, at 03:13 PM,

[PHP] Strange url include problem

2002-07-01 Thread Leon Mergen
Hello, I'm having a little bit problems with including an url into my page... When I do this: include (http://www.google.com/search?q=testie=UTF-8oe=UTF8hl=nllr=;); PHP returns an error: Warning: Failed opening 'http://www.google.com/search?q=testie=UTF-8oe=UTF8hl=nllr=' for inclusion

Re: [PHP] php SMS (or phone contact)

2002-07-01 Thread Duncan
Hi again, thx for the replies. Well, nagios ... quite a story ... anyway, i spent more than 3-4 hours and still didn't get it to work. Maybe i should look into it again, if it supports that kind of stuff, which really would be just what i need :) Thanks a lot, Duncan

Re: [PHP] strip_tags

2002-07-01 Thread Erik Price
On Monday, July 1, 2002, at 11:09 AM, BB wrote: OK, this is a 3x3 table pasted in from word! It is against the rules to post HTML code generated by Microsoft Word. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List

Re: [PHP] Strange url include problem

2002-07-01 Thread Jason Wong
On Monday 01 July 2002 23:14, Leon Mergen wrote: When I do this: include (http://www.google.com/search?q=testie=UTF-8oe=UTF8hl=nllr=;); PHP returns an error: Warning: Failed opening 'http://www.google.com/search?q=testie=UTF-8oe=UTF8hl=nllr=' for inclusion

[PHP] Reading MSWORD Doc File Comments

2002-07-01 Thread Crane, Christopher
Is there a way to read the comments of a MSWord Doc file. I would like to get a directory listing of file in a directory that are mostly MSWORD docs. I would like to list the files with a description after each one. With HTML files I just read the file into a string and split it just after title

[PHP] MCRYPT anybody anybody???

2002-07-01 Thread charlesk
Does anybody know anything about mcrypt for windows??? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] cURL in an exec() MORE...

2002-07-01 Thread Jay Blanchard
[snip] Thanks Jason, I fixed that and still does not work. So I am trying this; $curlline(curl -d \name=mynamepassword=mypasswordbtnsubmit=submit\ -s -o .$listline. https://theserver.com/download/.$listline.;); print($curlline); this looks fine exec($curline); [/snip] The cURL statement has

Re: [PHP] cURL in an exec()

2002-07-01 Thread Jason Wong
On Monday 01 July 2002 23:10, Jay Blanchard wrote: print($curlline); this looks fine exec($curline); Have you tried executing $curlline directly from a shell/command-line? This will determine whether it is a PHP problem or a cURL problem. -- Jason Wong - Gremlins Associates -

[PHP] Encripted download

2002-07-01 Thread Pedro Garre
*This message was transferred with a trial version of CommuniGate(tm) Pro* Hi, My Apache is under SSL. Everything works Ok but when the user chooses to download a file or view a PDF document, the browser states that you are about to leave the secure conexion, so I guess the files are

Re: [PHP] MCRYPT anybody anybody???

2002-07-01 Thread Jason Wong
On Monday 01 July 2002 23:09, charlesk wrote: Does anybody know anything about mcrypt for windows??? http://homepages.tesco.net/~J.deBoynePollard/FGA/questions-with-yes-or-no-answers.html -- Jason Wong - Gremlins Associates - www.gremlins.com.hk Open Source Software Systems Integrators * Web

RE: [PHP] cURL in an exec()

2002-07-01 Thread Jay Blanchard
[snip] print($curlline); this looks fine exec($curline); Have you tried executing $curlline directly from a shell/command-line? This will determine whether it is a PHP problem or a cURL problem. [/snip] That was the first thing I did, and I have gone back a couple of times now to make

[PHP] PHP and PDF

2002-07-01 Thread Gregory Hernandez
hello everyone-- i'd like to know if this can be solved with php. i'll be creating a pdf form that'll be downloaded, filled and turned in. the form must have a unique NUMBER printed on it each time it is downloaded. i'd like to use php to update this NUMBER (ie. counter + 1) each time the form

Re: [PHP] strip_tags

2002-07-01 Thread Analysis Solutions
On Mon, Jul 01, 2002 at 04:09:04PM +0100, BB wrote: Dude, c'mon! I asked for a _sample_ for a reason. First, I didn't want to have to wade through a ton of HTML. Second, it'd help you isolate the problem so you could formulate an accurate question and/or figure out the answer for yourself.

RE: [PHP] PHP and PDF

2002-07-01 Thread Brian McGarvie
if you're creating the form using PHP's PDF functions all you'd need to to is generate the number and add it using whatever command to add a line of text to the PDF document... Don't ask me how.. not used it yet personally. Would like to see a decent example of PHP/PDF creation anyway...

Re: [PHP] strip_tags

2002-07-01 Thread BB
Well, this is the solution we are providing, I found the error to be because word is such a wonderful program it puts XML in the middle of HTML, so I preg'd that out and all was good again! Thanks anyway peeps Analysis Solutions [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

[PHP] Searching for string in text file help?

2002-07-01 Thread Tim Loepp
Hello, I'm hoping someone can help me as I' new to this and can't figure it out myself. PHP4.20 Win32 I'm trying to seach for a string that would occur about 10 lines into a text file. I don't want to search the entire file, and I just want to know if the string exsists or not, but I don't

Re[2]: [PHP] PHP and PDF

2002-07-01 Thread Mirza Muharemagic
Hi Brian, i have made a pretty nice script for creating pdf files using database data. thats pretty easy. the only thing u have to care about is to calculate the document size. Mirza [EMAIL PROTECTED] 01.07.2002 17:39 if you're creating the form using PHP's PDF functions

[PHP] Register globals off

2002-07-01 Thread Adrian Greeman
I am learning PHP with version 4.2. (Win ME, Apache, MySQL) on a PC I have to understand the new register globals off methods and it seems like a good idea to learn that from the beginning but all the books and beginners guides gives examples the old way. Would it be true to say that every

[PHP] SMS Again, UK

2002-07-01 Thread Andy Whittlestone
Hi i'm from the uk, is there any free php scripts that will allow txt messages to be sent within the uk. Couldn't get the other one posted here to work either, Wanna do a similiar idea to what that other guy was doing, but when the UPS Kicks in send a txt, but also so i can goto my site and

[PHP] Handling of constants in strings

2002-07-01 Thread Uwe Birkenhain
Hi, when reading about constants (define('MY_CONSTANT', 'my value')) I got convinced that they are pretty usefull. But now it seems to me, that I can't use them inside a string: $my_string = This is MY_CONSTANT and I love it!; but that I must take them out: $my_string = This is . MY_CONSTANT .

RE: [PHP] Encripted download

2002-07-01 Thread Lazor, Ed
Everything going through https is encrypted. Update links to download files and everything should go smoothly. -Original Message- Questions: 1. Are the files actually travelling with no encription ? 2. How can I encript them but making it transparent to the user ?

Re: [PHP] blob versus file

2002-07-01 Thread Mirza Muharemagic
Hi andy, i tested it a few times, and there is actually no difference. why make it complicated, when it can be simple. my opinion is there is no difference. Mirza [EMAIL PROTECTED] 01.07.2002 14:17 Hi there, I am wondering if anybody has experiance in saving images to

Re: [PHP] Register globals off

2002-07-01 Thread Julie Meloni
AG I have to understand the new register globals off methods and it seems AG like a good idea to learn that from the beginning but all the books and AG beginners guides gives examples the old way. give it 3 more weeks and 2nd edition of PHP Fast Easy will be out...all register_global

[PHP] Re: Win98, Apache, PHP Config Problem

2002-07-01 Thread Uwe Birkenhain
Hi, I just made the same (even on the same weekend) - it's working now. What exactly is going on and what have you done? With me one problem was (e.g.) that I forgot to set the document root properly in httpd.conf. Uwe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Register globals off

2002-07-01 Thread Erik Price
On Monday, July 1, 2002, at 11:30 AM, Adrian Greeman wrote: Would it be true to say that every time an example is given where data is passed on (for forms and so forth) that I can simply replace the variable in the example with $_POST or $_GET? Or do I have to do more? Pretty much.

RE: [PHP] Keeping Secrets in PHP Files

2002-07-01 Thread Lazor, Ed
Dang. $2880 is kind of expensive! I wish they'd base licensing more on how many copies your encoded program you sell. -Original Message- http://www.zend.com/store/products/zend-encoder.php This message is

RE: [PHP] Page rendering speed: PostNuke or PHP-Nuke

2002-07-01 Thread Lazor, Ed
Check SourceForge.com to see what content management systems are available. -Original Message- To those who have used these content management systems: which one renders pages faster, PostNuke or PHP-Nuke? I plan to set up a site on my Linux box and want to know which one I should use.

[PHP] uploading a file

2002-07-01 Thread Phil Schwarzmann
anyone have some code they can send me that will successfully upload a file? I've got all the HTML correct, it's just that my PHP code ain't working. Thanks! Phil

[PHP] register_global, need some feedback

2002-07-01 Thread Scott Fletcher
Hi! With the register_global turned off. I'm working on making the login to work again. So, I have a few questions. 1) $GLOBALS, Where does this come from and where does this goes to? I noticed there is no variable declaration for this, so I just know that it is part of PHP codes, although I

RE: [PHP] Searching for string in text file help?

2002-07-01 Thread Cosby, Christopher
Try it this way. ? $search_str = something; $file = blah; $found = 0; $fp = fopen($file, r); while(!feof($fp) !$found) { $contents = fgets($fp, 4096); if ( strstr($contents, $search_str) ) { $found = 1; } } fclose($fp); if ( $found ) { echo pre;

RE: [PHP] uploading a file

2002-07-01 Thread Jay Blanchard
How do you know it ain't working? Send us your code, maybe we can fix it. -Original Message- From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 10:59 AM To: [EMAIL PROTECTED] Subject: [PHP] uploading a file anyone have some code they can send me that will

RE: [PHP] need to change $ char in string

2002-07-01 Thread Beverly Steiner
Jason, Thank you, explode using single quotes and no backslashes works! Bev -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 10:57 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] need to change $ char in string On Monday 01 July 2002 22:47,

Re: RE: [PHP] PHP and PDF

2002-07-01 Thread Gregory Hernandez
hello again. thanks for the responses so far. let me change something from my prevoius post. let's say that i'm using an existing pdf form (i won't be creating a new one), is it still possible to use php to update a number that'll be printed on the pdf form each time it is accessed? again,

Re: [PHP] uploading a file

2002-07-01 Thread Mirza Muharemagic
Hi Phil, your input file name should be the_file snip global $the_path_news, $the_file_name, $the_file, $the_path; if ($the_file_name) { if (!@move_uploaded_file($the_file, $the_path./.$the_file_name)) {

RE: [PHP] uploading a file

2002-07-01 Thread Balaji Ankem
Upload.html === !DOCTYPE html public -//w3c//dtd html 4.0 transitional//en HTML TITLE FileUpload /TITLE head script language=Javascript function check() { document.upload.method = POST;

Re[3]: [PHP] PHP and PDF

2002-07-01 Thread Mirza Muharemagic
Hi Gregory, u mean, u want to update an existing PDF file? no, thats not possible. Mirza [EMAIL PROTECTED] 01.07.2002 18:07 hello again. thanks for the responses so far. let me change something from my prevoius post. let's say that i'm using an existing pdf form (i

RE: [PHP] Page rendering speed: PostNuke or PHP-Nuke

2002-07-01 Thread Dan Vande More
http://www.php-encoder.com/ Looks like beta is starting soon for this, so we should see it in a little bit. They have an option for per script charge. You upload the file and it gives you a compiled one. My guess it is the same thing as Zend encoder, just not as expensive. Dan -Original

Re: [PHP] Reading MSWORD Doc File Comments

2002-07-01 Thread 1LT John W. Holmes
There are some programs out there that'll take a word document and extract all of the text from it. Good for indexing database or making summaries. I can't remember the name of any, but search the usual Google, sourceforge, hotscripts.com, etc.. ---John Holmes... - Original Message -

Re: [PHP] Gradients in PHP GD

2002-07-01 Thread Bogdan Stancescu
Over-complicating it? Yes, I must admit that's true. The problem however was not that I didn't understand the question, but that I apparently was hostile. For someone extra-sensitive, I think I could've looked like that, but I still don't think I was out of line with my original reply, which

RE: [PHP] SMS Again, UK

2002-07-01 Thread Simon Ritchie
Well, funnily enough, your question has much the same answer ... If you have a mobile phone and your service provider offers a web gateway, you can use it to send SMS messages. They will provide a script that you can use. If you have an Orange phone, see the Orange web site. If it's a Voda,

RE: [PHP] Keeping Secrets in PHP Files

2002-07-01 Thread Dan Vande More
Sorry, Wrong topic. http://www.php-encoder.com/ Looks like beta is starting soon for this, so we should see it in a little bit. They have an option for per script charge. You upload the file and it gives you a compiled one. My guess it is the same thing as Zend encoder, just not as expensive.

RE: [PHP] Re: [PHP-DB] blob versus file

2002-07-01 Thread Lazor, Ed
There are benefits to this making the performance hit worthwhile in some instances. More info: http://www.zend.com/zend/trick/tricks-sept-2001.php -Original Message- Inserting images or whatever binary data in a database does not have much sense

[PHP] mySQL time = year 2038 [HELP]

2002-07-01 Thread Shane
Checked the archive and saw no difinitives... so... How come when I query my clients mySQL DB and use NULL or NOW() as my default in a TIMESTAMP record that it always comes up Jan 18, 2038? Is the clock not set properly, or am I misunderstanding some basic principal of the time stamp? My

[PHP] Re: register_global, need some feedback

2002-07-01 Thread Uwe Birkenhain
Hi, try these: http://www.php.net/manual/en/language.variables.predefined.php#language.vari ables.predefined http://www.php.net/manual/en/reserved.variables.php greetings, Uwe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mcrypt again...

2002-07-01 Thread charlesk
Where can I get mcrypt for windows and php 4.2.1? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] SMS Again, UK

2002-07-01 Thread Simon Ritchie
Oh yes, I forgot about email, which was mentioned in another answer to this FAQ. Some providers give you an email address with your phone, for example I believe that One2One (or whatever it's called today) give you phonenumberone2one.com. Email sent to that address arrives at your phone as an

[PHP] Re: PHP and PDF

2002-07-01 Thread Anson Smith
If you can edit the PDF file and have access to acrobat then you can use adobe's fdf format. Basically you just create a read-only text field on the original PDF and use php to fill in the value for it every time it's loaded here's some links http://www.php.net/manual/en/ref.fdf.php

[PHP] Security in phpmyadmin

2002-07-01 Thread The Doctor
Is this the place to address it? -- Member - Liberal International On 11 Sept 2001 the WORLD was violated. This is [EMAIL PROTECTED] Ici [EMAIL PROTECTED] Society MUST be saved! Extremists must dissolve. Beware of defining as intelligent only those who share your opinions -- PHP

RE: [PHP] need to change $ char in string

2002-07-01 Thread Uli B
(After typing I see that the problem is solved. I send it anyway - hope you people don't mind the redundancy :-) Why don't you use explode() again on the $ like Jason suggested ? This does not even require single quotes :-) You might also want to have a look at split() and preg_split(). It

[PHP] M$-SQL Access from RH7.3

2002-07-01 Thread David Busby
List, I've a RH7.3 machine (just installed) and want to get PHP to access my M$ SQL database. I'm on a small time crunch here too. My M$ web server died and it's so hosed that I had to call support (ouch!). Anyways...they haven't fixed it yet and I thought it would be funny to get

Re: [PHP] mySQL time = year 2038 [HELP]

2002-07-01 Thread Kevin Stone
Perhaps the problem is in your translation. NOW() records a timestamp that is formated by MMDDHHMMSS. If you are translating this in PHP a function designed to take in a UNIX timestamp (that is Unix Epoch time , the number of seconds from some date 30 years ago) you will recieve a rather

[PHP] uploading a file - here is the error message...

2002-07-01 Thread Phil Schwarzmann
Here is the error I'm receiving when attempting to upload a file Warning: Unable to create 'temp/test.txt': Permission denied in /home/.../www/website/upload3.php on line 11 ..could it be that my web host isn't giving me permissions to upload files ?

RE: [PHP] uploading a file - here is the error message...

2002-07-01 Thread Lazor, Ed
The web server needs write access to where you're trying to store the files. Check the directory permissions. Check with your ISP to make sure there are solutions other than making the directory world writeable. -Original Message- From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]] Sent:

Re: [PHP] uploading a file - here is the error message...

2002-07-01 Thread Kevin Stone
That's always possible. Unless you have access to your temp directory you will not be able to update the permissions. At this point I would email your host and ask them about the situation. Good luck. -Kevin - Original Message - From: Phil Schwarzmann [EMAIL PROTECTED] To: [EMAIL

Re: [PHP] uploading a file - here is the error message...

2002-07-01 Thread Mirza Muharemagic
Hi Phil, first thing u should do is to check permission of this directory (CHMOD). the 2nd one, u should replace function copy with move_uploaded_file. than is should work. Mirza [EMAIL PROTECTED] 01.07.2002 19:13 Here is the error I'm receiving when attempting to upload

Re: [PHP] mySQL time = year 2038 [HELP]

2002-07-01 Thread Mirza Muharemagic
Hi Shane, use SYSDATE(). Mirza [EMAIL PROTECTED] 01.07.2002 18:38 Checked the archive and saw no difinitives... so... How come when I query my clients mySQL DB and use NULL or NOW() as my default in a TIMESTAMP record that it always comes up Jan 18, 2038? Is the clock not set

[PHP] help with regex in preg_match();

2002-07-01 Thread php
Hi people, I got this line that is relly giving me a pain..: if (preg_match(siteUserList.cgi\?group=site177(?), $QUERY_STRING)) As you can see it just matches the query string when it looks like this: siteUserList.cgi?group=site177 (with or without a ) The thing is I need it to match also

RE: [PHP] XML Problem

2002-07-01 Thread Sebastian A.
I looked over the revised version of the document and unfortunately I still don't fully understand. I know that I have to save the data on each line, and then either display it or turn it into a variable. You put the data in an array and then implode it into a string, however I am not 100%

Re: [PHP] uploading a file - here is the error message...

2002-07-01 Thread Phil Schwarzmann
I took your advice first and tried move_uploaded_file and it kept saying It barfed (hehe). Then I switched to copY and got this new error. Thaks for your help!! [EMAIL PROTECTED] 07/01/02 01:29PM Hi Phil, first thing u should do is to check permission of this directory (CHMOD).

Re: [PHP] help with regex in preg_match();

2002-07-01 Thread Mirza Muharemagic
Hi, something like this: $QUERY_STRING = siteUserList.cgi?group=site1772345; if (preg_match(#siteUserList.cgi\?group=site177(?[\d]*)#,$QUERY_STRING,$array11)) { echo found: $array11[0]br /$array11[1]; } Mirza [EMAIL PROTECTED] 01.07.2002 19:37 Hi

[PHP] viewing php predefined fucntions

2002-07-01 Thread Anil Garg
Hi, at this link: http://www.php.net/manual/en/funcref.php i can see the categories of the available functions, But How can i see all the fucnctions in php together (in one screen)? Is there a way to do that. Thank You anil -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

  1   2   3   >