Re: [PHP] variables over 2 pages w/ a table.

2002-05-01 Thread Marius Ursache
try to send the same url + start=8 index.php?left=news Hey, > > i've got a little problem: > > I have two php pages > > index.php and news/index.php > > now in index.php there is a table which shows news/index.php > > $left = "news"; > $ltitle = "in

[PHP] How do I Install PHP on Apache 2, on win32

2002-05-01 Thread Philip Newman
How do I Install PHP on Apache 2, on win32? I would like to install the ISAPI module? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP Editors

2002-05-01 Thread Marius Ursache
use vim (http://www.vim.org/) highlight syntax code complition autoindent and more... :q José León Serna a écrit : > Hello: > > The big disappointment was QaDRAM Studio, which was so > > buggy and unstable, it only took me until I tried to > > create a project (the first thing I did upon loadin

Re: [PHP] Re: PHP Editors

2002-05-01 Thread José León Serna
Hello: > The big disappointment was QaDRAM Studio, which was so > buggy and unstable, it only took me until I tried to > create a project (the first thing I did upon loading > the software) before it crashed my entire system and > forced me to reboot. Trying to uninstall it is > impossible, as wel

Re: [PHP] Columns not displaying as they should

2002-05-01 Thread Richard Archer
At 10:27 PM -0700 1/5/02, Jennifer Downey wrote: >echo "width = \"100\">$display_block"; Because you're opening a new table for every element. ...R. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: file() and macintosh line break

2002-05-01 Thread Justin French
I agree -- if this is a once-off problem, then just open the file in a Windows or Unix machine, re-save it, and the problem should be solved. If the Mac user has BBEdit or BBEdit lite, one of the options they have is to save in Unix and Windows format, which fixes the problem simply. Of course

[PHP] Columns not displaying as they should

2002-05-01 Thread Jennifer Downey
Hi to everyone, I am having trouble with this snip and wonder if you might help? This is suppose to display the items 5 accross the browser instead it displays them down like this: item 1 item 2 item 3 I want them displayed like this: item1 item 2 item 3 but for some odd reason it wont any i

Re: [PHP] Re: file() and macintosh line break

2002-05-01 Thread Philip Olson
Here's a bug report: file() - incorrect behavior (line endings ignored) on files with Mac EOLN (CR) http://bugs.php.net/bug.php?id=16521 Maybe some kind soul will fix this before PHP 4.3.0 :) http://cvs.php.net Regards, Philip Olson On Thu, 2 May 2002, eat pasta

Re: [PHP] Re: getting a function name of the calling function

2002-05-01 Thread Philip Olson
> > Does anybody know of any constants or predefined functions that will > > retrieve the calling functions name? For example: > > > > > function new_func($somedata) { echo "I am function " . __FUNCTION__; > > echo "I am function ".get_func_name(); > > } > > ?> __FUNCTION__ will exis

Re: [PHP] Re: file() and macintosh line break

2002-05-01 Thread eat pasta type fasta
just a thought, mac line break is "\r" you can open and save it as unix that should get rid of the weird problem, unless you need it to work for numerous uncotrolled file flow, then replacing "\r" might work with a FOR loop. You might have to fwrite to a new file there "\r" will become "\n" an

[PHP] Re: getting a function name of the calling function

2002-05-01 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Joshua E Minnie) wrote: > Does anybody know of any constants or predefined functions that will > retrieve the calling functions name? For example: > > function new_func($somedata) { > echo "I am function ".get_func_name(); > } > ?> What wo

[PHP] webhost (PearHost.com)

2002-05-01 Thread mm fernandez
hi. just wanna ask if anyone here has tried PearHost (http://www.pearhost.com/). im trying to find out if it's a reliable webhost since they seem to be really cheaper compared to other webhosts. it also supports php,mysql and a whole lot of other features. does someone have any comment about P

Re: [PHP] bumping up hour by one

2002-05-01 Thread Tom Beidler
operator error. I didn't show all the code. Here it is; $display_time = date("H:i"); // round time to nearest 15 minute interval $display_timex = explode (":",$display_time) ; if (($display_timex[1] >= 00) || ($display_timex[1] <= 07)) { $insert_time = $display_timex[0] . ":00"; } elseif (($

RE: [PHP] bumping up hour by one

2002-05-01 Thread John Holmes
Doesn't matter, PHP will juggle the type and make it a number. What do you get for results, these look like they should work. Are you getting errors or are you getting odd results? ---John Holmes... > -Original Message- > From: Tom Beidler [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, Ma

RE: [PHP] Read filename and good manual

2002-05-01 Thread John Holmes
> My doubt is here: > In the second page I want to ask the client if "x.jpg" is the picture > he/she > uploaded. > How do read the filename? I also want his filename in a hidden text > field > on > the same page so that i may enter it into the database. The original filename on the us

[PHP] bumping up hour by one

2002-05-01 Thread Tom Beidler
I'm having some problem with some code where I'm trying to round the hour up to the next hour if the minutes are between 53 and 59. Here's the important part of the code so you can see what I'm trying to do. $display_time = date("H:i"); // round time $display_timex = explode (":",$display_time)

Re: [PHP] Read filename and good manual

2002-05-01 Thread Justin French
When the file is uploaded to the server (I assume you've got that far), typically you KNOW the name of the file, or have renamed it to a specific file name to suit your methods (otherwise people may upload different pictures called me.gif which overwrite each other). So you may have a var $upload

RE: [PHP] Session Initially Does Work

2002-05-01 Thread John Holmes
There is a session problem with 4.1 If register_globals is ON, then use session_register(). If it's off, then use $_SESSION["name"] = "value"; and the value will automatically be registered. ---John Holmes... > -Original Message- > From: Adam Douglas [mailto:[EMAIL PROTECTED]] > Sent:

Re: [PHP] getting a function name of the calling function

2002-05-01 Thread Brian Park
I don't know of a way to print out the function name. But for error detection purposes, can you use __FILE__ and __LINE__ as alternatives? For example: echo "I am line" . __LINE__ . " at file " . __FILE__ . "\n"; Brian "Joshua E Minnie" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">ne

RE: [PHP] getting a function name of the calling function

2002-05-01 Thread John Holmes
> I actually need it to print out the name of itself for error detection > purposes. > > > > Does anybody know of any constants or predefined functions that will > > > retrieve the calling functions name? For example: > > > > > > > > function new_func($somedata) { > > > echo "I am function ".

Re: Tr: [PHP] New to PHP - Undefined variable: ??????

2002-05-01 Thread Philip Olson
Some things to consider: a) please read my first post :) (re: isset/empty/error_reporting) b) $FILE != $File != $file (case sensitive) regards, Philip Olson On Thu, 2 May 2002, nico_free wrote: > > - Original Message - > From: nico_free <[EMAIL PROTECTED]> > To: TGL <[EMAIL PROTECTE

[PHP] How do I retrieve (assign) oracle package variable's value into a php variable?

2002-05-01 Thread Prince
Hello, I have a package like the following one. creare or replace package my_pkg as my_pkg_var varchar(10) defalut 'myVal'; end my_pkg ; Now, I want to read this value into a php variable (say $my_php_var). How do I do this? in PL/SQL, I can easily do this as declare tmp varchar2(10);

[PHP] Read filename and good manual

2002-05-01 Thread r
Greetings All, Special greeting to all my new pals on the list, you know who you are. First let me tell you what i have done then what i need. I have made a program to upload a picture (gif or jpeg, for clearness lets call the picture "x.jpg") and then the page will change and a new pa

Re: [PHP] Windows based Mail() problem (newbie)

2002-05-01 Thread Kim Kohen
G'day John > PHP is server side, so it's going to do the same thing each time. If > it's sending a blank message, then no data was received. Thanks for the response. I have been able to find the problem by replacing my mail() with phpinfo(). It certainly wasn't passing the variables with Wi

[PHP] Re: file() and macintosh line break

2002-05-01 Thread Yasuo Ohgaki
Rodrigo Peres wrote: > Hi list, > > I'm in a problem that is driving me crazy!!! I want open a file and puts > each line into an array, but this files was created in macintosh!! so > the file() can't recognize the end line and only outputs 1 element in > array!! How can I solve it. I tried to

Tr: [PHP] New to PHP - Undefined variable: ??????

2002-05-01 Thread nico_free
- Original Message - From: nico_free <[EMAIL PROTECTED]> To: TGL <[EMAIL PROTECTED]> Sent: Wednesday, May 01, 2002 11:47 PM Subject: Re: [PHP] New to PHP - Undefined variable: ?? > Well, I think the first 2 lines of your script should be : > > echo "\$FILE : $FILE"; > var_dump($FILE

[PHP] directory browsing

2002-05-01 Thread Uros Gruber
Hi! I wan't to make directory browsing like yahoo or google over categories. For example look on http://www.google.com/dirhp I have made myself 2 diferent ways. One is quicker but more complex and oher is slower but easy to read and understand. In my table i have this colums id_cat, name, id_

RE: [PHP] variables over 2 pages w/ a table.

2002-05-01 Thread Craig Vincent
> $left = "news"; > $ltitle = "index"; > $lext= "php"; > > include ("$left/$ltitle.$lext"); > > next > > so this should link to the index page, which calls upon > news/index.php, opens > it in the left column of the table, and gives $start the value of 8. > > but it gives me this error: > > Warni

RE: [PHP] Kinda HTML and PHP question....

2002-05-01 Thread Craig Vincent
> so the problem is... like some stupid people put word...without > spaces or something without them...just letters no spaces...and > it doesn't warp the text. What do you think i should do at that > point? What do you do in your sites to protect that? because my > tables get wight bigger

RE: [PHP] Session Initially Does Work

2002-05-01 Thread Craig Vincent
> Alright that's good to hear. In a specific case that I'm having > this problem > the main PHP file is including file (content) that refers to > $_SESSION[nSID_PeopleID] in main. This value is vital in > rendering the page. > So it should be there right? Also about removing session_name(), how ca

[PHP] Any ideas on content management system for Apache+PHP+MySQL

2002-05-01 Thread Apolinaras Sinkevicius
I am a webmaster for an agency. I looked at many content management pieces for Linux+Apache+PHP+MySQL like ezPublish and etc. but they look overly complex for my needs. I just need to have something that would allow me to insert picture, text, and list of links into a template. I don't want a heav

[PHP] Re: Kinda HTML and PHP question....

2002-05-01 Thread Julio Nobrega Trabalhando
$text = substrt($text, 0, 75) . '...'; Cuts anything beyond 75 caracthers and add "..." to the end of it. Also, you could when people submit anything check for spaces if the size is greater than a number of characters: if (strlen($text) > '75' && !ereg(' ', $text)) { echo 'Please use sp

[PHP] Re: why is better?

2002-05-01 Thread Julio Nobrega Trabalhando
Faster, and better interaction with the engine that runs php (and therefore other parts of the system). -- Julio Nobrega. "Franky" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Why is better to write module than class? > ok is compiled code so is supose to

Re: [PHP] Variable Help.

2002-05-01 Thread J Smith
It isn't terribly hard to fix -- just use $_SERVER["DOCUMENT_ROOT"] in the links that need them. J Miguel Cruz wrote: > On Wed, 1 May 2002, J Smith wrote: >> Even better would be to write the URL as >> >> http://www.example.com/charts.php/wk0001-etc >> >> and look in $_SERVER["PATH_INFO"].

RE: [PHP] Session Initially Does Work

2002-05-01 Thread Adam Douglas
> That's correct, although the cookie will remain resident it > requires an > inital page change/refresh. However after looking at your > code I'm not > convinced that is the problem since the first page of a > session creation > should still be usable with the session as the session ID is >

[PHP] sessions and outside of server root

2002-05-01 Thread Jas
I have been using a script for sessions and it has worked great until i decided to move everything outside of the server root for a little added security and everything works fine except for the sessions, I am wondering if I would need to specify the tmp directory on the server for the sessions to

[PHP] Kinda HTML and PHP question....

2002-05-01 Thread Mantas Kriauciunas
Hey PHP General List, I have news thing in MySQL database... i made tables that is good to look under 800x600 and highet.. now i am outputing from database $full_news line like this: echo "Full Story:$myrow[3]\n"; so the problem is... like some stupid people put word...without spaces

[PHP] variables over 2 pages w/ a table.

2002-05-01 Thread Jule
Hey, i've got a little problem: I have two php pages index.php and news/index.php now in index.php there is a table which shows news/index.php $left = "news"; $ltitle = "index"; $lext= "php"; include ("$left/$ltitle.$lext"); now this allows me to keep the layout the same, but change the pag

RE: [PHP] Session Initially Does Work

2002-05-01 Thread Craig Vincent
> Well the cookie is set at the start of the PHP file that gets referenced > each time. I'm not setting any manual cookies just using the > default session > cookie set by PHP. Below is all the code I use for the session. Formatting > is kind of goofed up in e-mail but it's there. So even though t

Re: [PHP] New to PHP - Undefined variable: ??????

2002-05-01 Thread Philip Olson
Undefined variables errors are errors of level E_NOTICE. Instead of if ($File) use if (isset($File)) or similiar (such as empty()). Depending on your mission. A similiar example: if (empty($form_submitted)) { include 'form.html'; } else { include 'process_form.php'; } It's worth mention

Re: [PHP] XML to HTML?!

2002-05-01 Thread Fredrik Arild Takle
"Miguel Cruz" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Wed, 1 May 2002, Fredrik Arild Takle wrote: > >>>Wrap into a output buffer. ob_start, ob_get_contents > > > > This was neat. > > I did: > > > > ob_start(); > > $myvar = ob_get_contents(); > > > >

[PHP] New to PHP - Undefined variable: ??????

2002-05-01 Thread TGL
I'm new to PHP and can't get through my first script. I want to create a form that will allow the user to attach a file. I started with the file upload part of the form thinking that it ould give me the most problem, and it has. This is the error message that shows when I view the page in the bro

[PHP] recommendation on PHP bulk email class or script

2002-05-01 Thread Tom Beidler
Just wondering if anyone has a preference for an existing bulk email class or script that is out there. I'm hoping it might be basic that I could use as a start and customize for my companies specific needs. Any input appreciated. Thanks, Tom -- PHP General Mailing List (http://www.php.net/)

[PHP] Credit Card Processing

2002-05-01 Thread Chris Seymour
Hi All, Look for any recommendations on a credit card payment processing library. Are there any out there? Thanks. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Session Initially Does Work

2002-05-01 Thread Adam Douglas
> > something else after the initial page everything works fine. I > > require this > > to work initially because if someone comes in directly using a > > link certain > > content will render a error message because the registered > variable is not > > present for some reason. Oh and yes the cook

[PHP] why is better?

2002-05-01 Thread Franky
Why is better to write module than class? ok is compiled code so is supose to be faster, but that all? Frank [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help need (Urgent)

2002-05-01 Thread Philip Olson
Hi, In meu.php first do this: phpinfo(); And notice all the beautiful information within. Towards the botton you'll see a section called "PHP Variables" that will have something like _GET. All GET information will live in here ($_GET), So: print $_GET['des']; If you're trying $des and it

[PHP] Windows XP con Apache 2.0.35 y PHP 4.2

2002-05-01 Thread Julio Cesar Corbaz
Hola Ayer intente Instalar en Xp el Apache 2.0.35 Todo Anduvo perfecto. (lo bueno es que biene con un instalador y no tuve ningun problema. Muy Facil de Instalar) Luego instale la version de PHP 4.2.0 pero aqui si tuve un problema hay dos versiones una con un instalador para servidores IIS pero p

Re: [PHP] PHP Editors

2002-05-01 Thread Scott St. John
I second that! I was to the point where I bought Ultra Dev but only used it for table layout and then spent the rest of my time in Home Site. Now with the new Dreamwever MX Home Site is built in. I was able to complete a site I was working on in PHP in about an hour last night! Since Home

Re: [PHP] PHP Editors

2002-05-01 Thread John Fishworld
I've used Edit Plus and Dreamweaver as a combination for a while ! And the new Dreamweaver is worth getting ! I've set it up in 10 minutes with my Linux box using there PHP and MySQL and first impressions are very good ! Much better than Ultradev was and a hell of lot quicker and more stable than

RE: [PHP] Session Initially Does Work

2002-05-01 Thread Adam Douglas
I already have this setup. The session works just not on the initial page after login. > Add > > At the top of each page, before anything else is done. > > -Original Message- > From: Adam Douglas [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 01, 2002 3:15 PM > To: PHP-General (maili

[PHP] PHP and SOAP

2002-05-01 Thread Udo Giacomozzi
Probably this question has been asked a couple of times but I could not find a complete answer to my question... I am new to PHP but have a lot of experience with Delphi and usually have no problems learning new languages (besides PHP is very similar to C). I also made already some little PHP

Re: [PHP] PHP and Log Analyzers

2002-05-01 Thread Fearless Froggie
The information isn't always coming from a form, sometimes just from a link the user clicks on the website. I've saved information from a form and the user clicks a link to go back to that form with their information intact. But your comment reminded me of an article I printed off from the zend

[PHP] Fatal error : Call to undefined function dbmopen()

2002-05-01 Thread Bernard Chamberland
Hello, I run PHP 4.0.4 on a Redhat 7.1 I receive the following message 'Fatal error : Call to undefined function dbmopen()' when trying to open a new DBM file. phpinfo() returns : - configure command : '--with-db2''--with-db3''--with-gdbm' - DBA support : enabled - Supported handlers : gdbm db

RE: [PHP] Session Initially Does Work

2002-05-01 Thread Craig Vincent
> something else after the initial page everything works fine. I > require this > to work initially because if someone comes in directly using a > link certain > content will render a error message because the registered variable is not > present for some reason. Oh and yes the cookie to set the s

RE: [PHP] Session Initially Does Work

2002-05-01 Thread Jay Blanchard
Add At the top of each page, before anything else is done. Jay -Original Message- From: Adam Douglas [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 3:15 PM To: PHP-General (mailing list) (E-mail) Subject: [PHP] Session Initially Does Work Hi. I've run into a problem

[PHP] Re: Query > Close

2002-05-01 Thread Joshua E Minnie
"Christian Ista" <[EMAIL PROTECTED]> wrote: >>Depends on how you opened it. Did you use mysql_pconnect or mysql_connect? > > mysql_connect Here is an excerpt from the manual http://www.php.net/mysql_connect The link to the server will be closed as soon as the execution of the script ends, unles

[PHP] Session Initially Does Work

2002-05-01 Thread Adam Douglas
Hi. I've run into a problem with my PHP session. I'm running PHP 4.1.0 on OpenBSD v3.0 using .HTACCESS and mod_mysql. I have a PHP file that is referenced every time content is requested on the web site (this file also sets/restores the session). This PHP file includes [include()] the requ

Re: [PHP] getting a function name of the calling function

2002-05-01 Thread Joshua E Minnie
I actually need it to print out the name of itself for error detection purposes. > > Does anybody know of any constants or predefined functions that will > > retrieve the calling functions name? For example: > > > > > function new_func($somedata) { > > echo "I am function ".get_func_name(); >

[PHP] Re: Query > Close

2002-05-01 Thread Christian Ista
> Depends on how you opened it. Did you use mysql_pconnect or mysql_connect? mysql_connect bye -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] getting a function name of the calling function

2002-05-01 Thread Craig Vincent
> Does anybody know of any constants or predefined functions that will > retrieve the calling functions name? For example: > > function new_func($somedata) { > echo "I am function ".get_func_name(); > } > ?> I don't believe there is anything setup to pass the name of a parent function to a ch

RE: [PHP] Query > Close

2002-05-01 Thread Craig Vincent
> What's happen if when I used a query, I don't do that : > > mysql_close($connection); Well there's a number of issues: - First and foremost, if your connection timeout is at it's default setting (8 hours)you'll run out of connections quickly in MySQL if scripts like this are run frequently

[PHP] Re: Query > Close

2002-05-01 Thread Joshua E Minnie
Check the PHP manual for mysql_close Depends on how you opened it. Did you use mysql_pconnect or mysql_connect? Your answer should be in the manual. -josh "Christian Ista" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > What's happen if when I used

[PHP] getting a function name of the calling function

2002-05-01 Thread Joshua E Minnie
Does anybody know of any constants or predefined functions that will retrieve the calling functions name? For example: -josh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Help need (Urgent)

2002-05-01 Thread Steve Bradwell
How are you printing the vars?? like this? echo $des; -Steve -Original Message- From: Luiz Rafael Culik Guimaraes [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 12:23 PM To: [EMAIL PROTECTED] Subject: [PHP] Help need (Urgent) Dear Friends I have an form that get the user i

RE: [PHP] PHP Editors

2002-05-01 Thread Craig Vincent
> > I would love to hear other people's experiences with these > editors though. > > Second that. Has anyone used this new Dreamweaver? What's it like? I guess > I'll have to download it tonite. Dreamweaver used to be my > favorite, but it > sucks for PHP so now I'm hooked on TextPad. Let us know

RE: [PHP] Checkbox Initial Value based on record in db

2002-05-01 Thread Craig Vincent
> Kinda off topic here, just checking to see If I am on the right track with > this > > > > the result should be : > > IF the record contains the field "abb" and it has a value of 1 > then it will > be checked off for viewing. No, that wouldn't workto have a checkbox autochecked the HTML mus

Re: [PHP] Re: file upload / no tmp name or size?

2002-05-01 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Philip Hallstrom declared > Just a guess, but is the file you are uploading larger than 3000 bytes? > If so, then what you are seeing is normal since PHP is rejecting it > because it's too large. You know, sometimes I amaze myself wit

Re: [PHP] PHP and Log Analyzers

2002-05-01 Thread 1LT John W. Holmes
What about, like I said, using a POST method on your forms? ---John Holmes... - Original Message - From: "Fearless Froggie" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 01, 2002 3:51 PM Subject: Re: [PHP] PHP and Log Analyzers > Everything is validated before it is

[PHP] Query > Close

2002-05-01 Thread Christian Ista
Hello, What's happen if when I used a query, I don't do that : mysql_close($connection); Bye -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: file upload / no tmp name or size?

2002-05-01 Thread Philip Hallstrom
Just a guess, but is the file you are uploading larger than 3000 bytes? If so, then what you are seeing is normal since PHP is rejecting it because it's too large. -philip On Wed, 1 May 2002, Nick Wilson wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > * and then 1LT John W. Holme

[PHP] »» Headers Question ««

2002-05-01 Thread vins
I have already asked this question. had everything sorted out. Monday night, hdd crashed. Thank heavens, compliments of yahoo briefcase, i got all my websites up and running again. but i lost this one piece of code. I've check the phpdigest online and nothing. All i remember from the code is: fil

Re: [PHP] Printing function in PHP?

2002-05-01 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Simonk declared > Or a command which send document to the browser's print? Can we find out what this is for? Then we can be mean and pick holes in the logic behind it :-) Only kidding! it would be interesting though - -- Nick Wil

Re: [PHP] PHP and Log Analyzers

2002-05-01 Thread Fearless Froggie
Everything is validated before it is included. The file name on the command line is really just a variable stating what file I want included. I don't include what I get from the command line. PHP is also installed in "safe mode" which from what I understand requires the hacker to . . . a) put

Re: [PHP] Printing function in PHP?

2002-05-01 Thread Simonk
Or a command which send document to the browser's print? "Nick Wilson" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > * and then Simonk declared > > Is there any printing function in the PHP? > > Nope.

Re: [PHP] Printing function in PHP?

2002-05-01 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Simonk declared > Is there any printing function in the PHP? Nope. Server side, not client side. > but I probably cant use the Browser's print function but only a button in > the page said > "Print".-_- That would seem your best

[PHP] Help need (Urgent)

2002-05-01 Thread Luiz Rafael Culik Guimaraes
Dear Friends I have an form that get the user info , and i need to send an email to the user . which is attached The problem , when I post the data, php dont see se variables. Can someone help Even if i try http://localhost/meu.php?[EMAIL PROTECTED]&to=rafa&pass=pp&user=ruki the variables dont ha

Re: [PHP] file upload / no tmp name or size?

2002-05-01 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then 1LT John W. Holmes declared > Say it with me... "Show me the code!" No, louder! Yeah...that's good... Sorry, i figured it would be something someone would spot immediately. here is the form /* add_teacher_form() */ function add_

[PHP] Printing function in PHP?

2002-05-01 Thread Simonk
Is there any printing function in the PHP? Im currently making a project and required me to print out a page at somepoint but I probably cant use the Browser's print function but only a button in the page said "Print".-_- In pascal, I can use something like "notepad.exe -p /test.dat" to prin

Re: [PHP] Re: PHP Editors

2002-05-01 Thread Greg Donald
>> It's no BBEdit, but what can you do? vim? It's free and runs on every system I ever heard of. -- --- Greg Donald - http://destiney.com/ http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/ ---

Re: [PHP] file upload / no tmp name or size?

2002-05-01 Thread 1LT John W. Holmes
Say it with me... "Show me the code!" No, louder! Yeah...that's good... What's my name? ---John Holmes... - Original Message - From: "Nick Wilson" <[EMAIL PROTECTED]> To: "php-general" <[EMAIL PROTECTED]> Sent: Wednesday, May 01, 2002 3:24 PM Subject: [PHP] file upload / no tmp name or

[PHP] php4.06 vs. php4.1.1

2002-05-01 Thread ZILBER,LEONID (HP-NewJersey,ex1)
Hi guys, I have been using PhP 4.06 for sometime, until recently I have upgraded to PhP 4.1.1. Unfortunately, I am experiencing some problems with ldap_error. Basically, I used the same Netscape ldapsdk with 4.1.1 as I used with php4.0.6, only now ldap_error for some reason returns garbage valu

Re: [PHP] PHP Editors

2002-05-01 Thread 1LT John W. Holmes
> I would love to hear other people's experiences with these editors though. Second that. Has anyone used this new Dreamweaver? What's it like? I guess I'll have to download it tonite. Dreamweaver used to be my favorite, but it sucks for PHP so now I'm hooked on TextPad. Let us know if you have

Re: [PHP] php/.htaccess/.htpasswd

2002-05-01 Thread 1LT John W. Holmes
Yes, it's certainly possible. There are classes out there that manage .htaccess permissions for you and provide a web interface to do it. The scripts will write the appropriate .htaccess files based on what you choose to do. Search hotscripts.com or phpclasses.org for one of them. The passwords

[PHP] file upload / no tmp name or size?

2002-05-01 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I've been reading through the php manual section on file uploads and cannot work out why I can get the *name* and *mime type* but not the temp name and filesize. It isn't being uploaded I guess and I suspect I'm suffering from an embarrasi

Re: [PHP] Re: PHP Editors

2002-05-01 Thread Joshua E Minnie
I develop my stuff in TextPad as well. You can download other syntax highlighting files as well, not just PHP. So if you develop in Windows and like to code in a text editor TextPad would be my definite recommendation. -josh "Miguel Cruz" <[EMAIL PROTECTED]> wrote: > On Wed, 1 May 2002, Liam Gi

Re: [PHP] PHP and Log Analyzers

2002-05-01 Thread 1LT John W. Holmes
If you know what is good for you, you will stop this method that your using and come up with a better one. You are open to so many attacks, it's unbelievable. I really, really, hope you have a solid validation routine for the files your including. How about using method='post' for your forms. The

Re: [PHP] PHP Editors

2002-05-01 Thread Cameron Bales .:.
>Does anybody know of any PHP project editors, >something that will group together all the PHP, INC, >HTML, CSS files together into one logical project? >Preferrably freeware/shareware, obviously. Both the new Dreamweaver MX, and GoLive 6.0 have PHP Editing features. There is a preview version

[PHP] PGP and other encryptions methods for PHP

2002-05-01 Thread Ron Dyck
I need to encrypt data in an application then mail it to a recipient where the email client must decrypt using a private key. The recipient would be using MS Outlook or another email client perhaps Eudora. What encryption techonologies are best for this? I had a brief look at OpenPGP but not sure

Re: [PHP] Variable Help.

2002-05-01 Thread Miguel Cruz
On Wed, 1 May 2002, J Smith wrote: > Even better would be to write the URL as > > http://www.example.com/charts.php/wk0001-etc > > and look in $_SERVER["PATH_INFO"]. This way, you can do without the "?" and > have a search engine-friendly URL. ...and all your relative URLs get broken so you ha

Re: [PHP] Re: PHP Editors

2002-05-01 Thread Miguel Cruz
On Wed, 1 May 2002, Liam Gibbs wrote: > Thanks to everyone for your suggestions. I went with EditPlus 2. The > project features, easy access to all files, and directory-wide > search-and-replace functionality are what hooked me. I'm still looking > around, though, so if anyone has any other sugges

Re: [PHP] Variable Help.

2002-05-01 Thread J Smith
Even better would be to write the URL as http://www.example.com/charts.php/wk0001-etc and look in $_SERVER["PATH_INFO"]. This way, you can do without the "?" and have a search engine-friendly URL. J Stuart Dallas wrote: > On 1 May 2002 at 18:39, Randum Ian wrote: >> I want to link to a pag

Re: [PHP] Re: PHP Editors

2002-05-01 Thread Liam Gibbs
Thanks to everyone for your suggestions. I went with EditPlus 2. The project features, easy access to all files, and directory-wide search-and-replace functionality are what hooked me. I'm still looking around, though, so if anyone has any other suggestions, let me know. The Zend product looks ni

[PHP] RE: MySQL to Excel using PHP More Questions (Pivot Tables)

2002-05-01 Thread Jay Blanchard
[snip] /path/to/php_to_excel.php/excel.xls [/snip] OK, that solves that problem and is easy to implement. The problem I have now is creating pivot tables from the information. I'll use my previous example; SELECT RecordID, RecordDate, count(*) AS Quantity FROM tblFOO Group By RecordID, RecordDat

[PHP] php/.htaccess/.htpasswd

2002-05-01 Thread Kelly Meeks
Is is possible to use php to admin a password file used by a .htaccess file? I know that sometimes it is easier/more robust to manage password protection via sessions/database, but I've got a client that wants to use a .htaccess file. How do you deal with the encryption of the passwords, etc?

Re: [PHP] verify file before linking to another

2002-05-01 Thread Jason Wong
On Wednesday 01 May 2002 23:45, Jas wrote: > I am wondering if there is a good tutorial or example of code on how to > verify that a page has been hit before linking to the next. For example > say you have a form, the form once all fields have been filled links to a > confirmation page then from

[PHP] PHP and Log Analyzers

2002-05-01 Thread Fearless Froggie
Because of the way I'm including files and passing variables on the url I'm finding it difficult to get the information I need from my log analyzer (I'm using an older version of Web Trends). I thought I'd email the list and see if anybody else has had the same problem and has found a solution. O

Re: [PHP] PHP --help

2002-05-01 Thread CC Zona
In article <002b01c1f115$7ae52790$2f7e3393@TB447CCO3>, [EMAIL PROTECTED] (1lt John W. Holmes) wrote: > Use $_GET["fn"] and $_GET["ln"], or $_POST[], depending on your action. > > Does anybody read the release notes for a product before you download and > install it? I'm just going to save a sta

[PHP] RE:[PHP-GTK Question]

2002-05-01 Thread Kirk Babb
This has been a hot topic on the PHP-GTK discussion list. Click here [EMAIL PROTECTED] just send it blank, wait for the confirmation. You will find that a much better place to post this type of question. You can also request the archives for all that you've missed. Good Luck -see you ther

RE: [PHP] Variable Help.

2002-05-01 Thread Miguel Cruz
On Wed, 1 May 2002, Jay Blanchard wrote: > http://www.danceportal.co.uk/charts.php?varname=wk0001-fri-18-jan-2002 > > varname=wk0001-fri-18-jan-2002 where varname is the variable name and > wk0001-fri-18-jan-2002 is the variable value. > > In the next page the value will be available in the vari

  1   2   >