[PHP] doubt...

2002-05-01 Thread ShijuFrancis
Hi , When i'm using the declare construct i'm getting an error Cannot open the site.The connection with the server was reset. Culd u please help me in this... Thanks in advance.. Shiju

Re: [PHP] PHP Editors

2002-05-01 Thread Justin French
Actually, I think you'll find that you can't use it (for anything commercial) in the 30-day trial period -- that'd be mentioned in that block of text you clicked accept to :) But that's really a discussion about software licensing, not PHP. Justin French on 01/05/02 5:32 PM, r ([EMAIL

[PHP] Ann: QaDRAM Studio PR1 B837

2002-05-01 Thread José León Serna
Hi! I'm proud to announce the next release of QaDRAM Studio, this is the first release I can say is usable, where usable means, you can use it as a text editor, and to build the initial structure of your pages. I say this because templates are working right now, based on ModeliXe, this support is

[PHP] Re: PHP Editors

2002-05-01 Thread José León Serna
Hello: 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. Check out QaDRAM Studio at http://studio.qadram.com, you can group together any kind of file

[PHP] snmp_set_quick_print or snmpwalkoid issue ?

2002-05-01 Thread Razvan Cosma
First of all, gretings to everyone (I'm new here). And the problem: #!/usr/local/bin/php -q ? snmp_set_quick_print(0); $test=snmpwalkoid(1.1.1.1,public,.1.3.6.1.2.1.2.2.1.16); for (reset($test); $i = key($test); next($test)) { echo $i:\n$test[$i]\n; } ? results in:

RE: [PHP] doubt...

2002-05-01 Thread Jon Haworth
Hi, When i'm using the declare construct i'm getting an error Cannot open the site. The connection with the server was reset. Culd u please help me in this... Show us some code! Cheers Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] PHP Editors

2002-05-01 Thread Ford, Mike [LSS]
-Original Message- From: Liam Gibbs [mailto:[EMAIL PROTECTED]] Sent: 30 April 2002 19:11 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,

[PHP] Re: i cannot pass variables to php script...

2002-05-01 Thread Yuri Petro
Just set register_globals = On in your php.ini file. -- Kind regards, Yuri. www.AceHoster.com Quality web hosting Efa [EMAIL PROTECTED] ???/ ? ?: [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi! I have a problem with passing variables to php script with

Re: [PHP] odd behavior

2002-05-01 Thread heinisch
At 30.04.2002 18:29, you wrote: When I run this the first time, file.txt contains value of 30. Then I add 15 to it with following script and file now contains value of 45. I look at file.txt after write and it does indeed contain number 45. But when I run script 24 hours later via cron job, it

[PHP] Free PHP Webhosting

2002-05-01 Thread r
Greetings guys, Special greetings to Steve,Nathon,Michael,John and ANYBODY else who was kind enough to help me.) Posted this a couple of days back but have compleated some of the worksome balance(scroll down) o.k heres the rough project (its for a personals site): 1.Take user

Re: [PHP] apps that need register globals 'on' and others require

2002-05-01 Thread 1LT John W. Holmes
I remember a problem like this with 4.1.1, is it still present in 4.2? Register_global = Off == Use session_register(var); Register_globals = On == Use $_SESSION[var] = value; Is that still the case for 4.2, or can you do it either way? ---John Holmes... - Original Message - From:

[PHP] Retrieving name of error_log file

2002-05-01 Thread Neil Freeman
Hi, How do you obtain the value of 'error_log' (set within a .htaccess file). Is there a $HTTP_x_VARS array available which contains this information? Any help greatly appreciated. Cheers, Neil Email: [EMAIL PROTECTED] [EMAIL PROTECTED]

[PHP] convert access to JAVA PHP mysql Xml Soap

2002-05-01 Thread Jacky Kenna
Hi We are a publishing company based in London. We have developed a multi-user MS Access contact management and bookkeeping database system which we want to adapt / re-write such that it can be used over the web ( ASP) using Internet Explorer (or similar) from any location, as our clients would

[PHP] javascript variables from...

2002-05-01 Thread Brian McGarvie
I'm trying to pass the values of screen.height/width to php... any suggestions? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] session expiry

2002-05-01 Thread John Holmes
That's not what a session if for. You'll have to set your own cookie to remember who the person is, and start a new session for them when they return. ---John Holmes... -Original Message- From: Justin French [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 4:58 AM To: php

[PHP] ODBC number of rows?

2002-05-01 Thread Brian McGarvie
odbc_num_rows($result); the above return -1 always, what other way can you check if any rows have been returned? === Brian M McGarvie, Web Appications Co-ordinator/Consultant === [ www.mcgarvie.net |

RE: [PHP] convert access to JAVA PHP mysql Xml Soap

2002-05-01 Thread John Holmes
I don't know what kind of company you run, but I consider this SPAM. You sent this crap out to a bunch of PHP lists and you're looking for an ASP programmer. Who cares if there are people on here that know ASP, that's not why they are on this list. If they are looking for ASP jobs, they'll

RE: [PHP] javascript variables from...

2002-05-01 Thread John Holmes
You realize the page will have to refresh to do this? Put the elements in the URL to the next page, or into hidden elements in a form. ---John Holmes... -Original Message- From: Brian McGarvie [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 4:28 AM To: Neil Freeman; PHP

[PHP] Re: ODBC number of rows?

2002-05-01 Thread Manuel Lemos
Hello, Brian McGarvie wrote: odbc_num_rows($result); the above return -1 always, what other way can you check if any rows have been returned? Many ODBC drivers can't return that information. You may want to try this database abstraction layer that provides emulation for that even when

[PHP] extract emails from txt file

2002-05-01 Thread
How can I found any email in my txt file and as example color it

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

2002-05-01 Thread Kim Kohen
Hello all, I have a PHP/MySQL/Apache site served on Mac OSX. The default install I used doesn't have a PHP.ini file but I do have sendmail configured and working. There is a simple html form which leads to a 'confirmation' page. They press the confirm button and a hidden field passes the data

RE: [PHP] convert access to JAVA PHP mysql Xml Soap

2002-05-01 Thread John Holmes
Gee, why didn't you copy all of the lists on your wonderful reply to my message? I'm not trying to cock up life, whatever that is. I'm just trying to stop people like you from wasting everyone's time. Don't send messages to a PHP list about an ASP programmer or learn how to write a decent job

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

2002-05-01 Thread John Holmes
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. How is the content of the message created? Is it from a text field? Is there any javascript or similar client-side operations going on? Those could be handled differently

RE: [PHP] convert access to JAVA PHP mysql Xml Soap

2002-05-01 Thread Brian Drexler
Ouchsucks to be that guy/company -Original Message- From: John Holmes [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 11:45 AM To: [EMAIL PROTECTED] Cc: 'PHP General'; [EMAIL PROTECTED] Subject: RE: [PHP] convert access to JAVA PHP mysql Xml Soap Gee, why didn't you

Re: [PHP] odd behavior

2002-05-01 Thread charlesk
check clearstatcache() Charles Killmer -- Original Message -- From: Craig Westerman [EMAIL PROTECTED] Date: Tue, 30 Apr 2002 18:29:37 -0500 When I run this the first time, file.txt contains value of 30. Then I add 15 to it with following script and file

Re: [PHP] convert access to JAVA PHP mysql Xml Soap

2002-05-01 Thread Kirk Babb
Well said John, this isn't a place for that, and the company guy showed his colors pretty quick. Anyway, on to business! and a general php question: if I make a function (or several functions for that matter) is it better to place those in a separate script and include them, or just keep them

Re: [PHP] XML to HTML?!

2002-05-01 Thread Fredrik Arild Takle
Wrap into a output buffer. ob_start, ob_get_contents This was neat. I did: ob_start(); $myvar = ob_get_contents(); But it still outputs the page, can I disable that? Regards Fredrik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP --help

2002-05-01 Thread Pelillo, Mark
I have two linux boxes running Apache 2.0.35 with PHP 4.2.0RC4. Sunday I did a bunch work from home on one system, moved to the second system and everything was working on both systems.. This morning I modifed one section of code on the second system work and now I don't seem to get anything to

[PHP] Cannot add header information

2002-05-01 Thread Bo Pritchard
Warning: Cannot add header information - headers already sent by (output started at /home/omnidevi/omnidevices-www/s-cart/form.phtml:5) in /home/omnidevi/omnidevices-www/s-cart/shop-head.phtml on line 40 I posted this error message a few days ago and got very helpful answers...Unfortunately I

Re: [PHP] PHP --help

2002-05-01 Thread 1LT John W. Holmes
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 standard message that covers this because I see questions like this continuing until everybody upgrades. ---John

[PHP] Cannot add header information

2002-05-01 Thread 1LT John W. Holmes
You CANNOT send anything to the browser before you set a cookie or start a session. You are displaying most of an HTML file, headers, javascript, HTML, etc, and then trying to include() a file that sets a cookie. Not going to work. ---John Holmes... Warning: Cannot add header information -

RE: [PHP] Cannot add header information

2002-05-01 Thread Ford, Mike [LSS]
-Original Message- From: Bo Pritchard [mailto:[EMAIL PROTECTED]] Sent: 01 May 2002 14:29 Warning: Cannot add header information - headers already sent by (output started at /home/omnidevi/omnidevices-www/s-cart/form.phtml:5) in

RE: [PHP] convert access to JAVA PHP mysql Xml Soap

2002-05-01 Thread Steve Bradwell
I agree John, what kind of intelligent person would advertise a M$ job on a PHP list, be gone company man. -Steve. -Original Message- From: John Holmes [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 11:45 AM To: [EMAIL PROTECTED] Cc: 'PHP General'; [EMAIL PROTECTED] Subject:

[PHP] Re: Announcement: Smarty template engine 2.1.0 released

2002-05-01 Thread Yasuo Ohgaki
Monte Ohrt wrote: Homepage: http://www.phpinsider.com/php/code/Smarty/ I don't like most template implementations, but Smarty is great. -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] I can't seem to get the mkdir function to work properly

2002-05-01 Thread Andy F.
I keep getting Permission denied, however the directory that I'm trying to create in has 777 permisions. Anyone? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] file() and macintosh line break

2002-05-01 Thread Rodrigo Peres
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 fread() the file and

Re: [PHP] Help! Transparency using GD with PNGs!

2002-05-01 Thread olinux
I dont think transparent PNG's are possible with GD Maybe v2.0 will have something? olinux --- Cam [EMAIL PROTECTED] wrote: I've got PHP 4.2 and what I believe to be the newest version of the GD library up and running.. For some reason, my PNG images do not preserve their

[PHP] virus scanning with PHP

2002-05-01 Thread olinux
Anyone ever run virus scans via PHP exec command? Is it possible? I am trying to persuade the company to go with Qmail and this would be a killer benefit as we've spent the past 2 days trying to rid klez. Thanks much, olinux __ Do You Yahoo!?

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

2002-05-01 Thread Darren Gamble
Good day, Calm down, the excessive !'s are a bit unnecessary. One possible solution is to read the entire thing into one string, and then use the split or preg_split function on the \r against it. This will give you an array with one line per entry. Darren Gamble

[PHP] File uploading fails

2002-05-01 Thread Tim Decker
I have searched high and low and done everything recommended generically and yet am still having problems uploading files. My script is as follows: BODY ?php error_reporting(E_ALL); echo phpinfo(); echo $file_name; echo $HTTP_POST_FILES['file']['name']; if (isset($file)){ echo

Re: [PHP] File uploading fails

2002-05-01 Thread Pushkar Pradhan
You haven't defined $file_name before trying to echo it, I think you'll have to create it using $HTTP_POST_...['file'] and HTT...['name'] Also check your php.ini to see if file uploads are allowed and if yes the max. limit. I have searched high and low and done everything recommended

[PHP] Re: I can't seem to get the mkdir function to work properly

2002-05-01 Thread Andy F.
Here's the code I used $name = FolderName; mkdir(test/$name, 0700); Andy F. [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I keep getting Permission denied, however the directory that I'm trying to create in has 777 permisions. Anyone? -- PHP

[PHP] verify file before linking to another

2002-05-01 Thread Jas
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 there it links to a thank you page which inserts

Re: [PHP] File uploading fails

2002-05-01 Thread 1LT John W. Holmes
$HTTP_POST_FILES/$_FILES is provided to contain the uploaded file information. The contents of $HTTP_POST_FILES are as follows. Note that this assumes the use of the file upload name 'userfile', as used in the example script above: $HTTP_POST_FILES['userfile']['name'] The original name of

[PHP] MySQL to Excel using PHP

2002-05-01 Thread Jay Blanchard
Howdy all! Some of my users want Excel reports from MySQL databases, so I have done the following with PHP; !--BEGIN CODE-- ? header(Content-Type: application/x-excel); header(Content-Disposition: inline; filename=\excel.xls\); header(Expires: 0); header(Cache-Control: must-revalidate,

[PHP] Re: Help! Transparency using GD with PNGs!

2002-05-01 Thread Philip Hallstrom
You might look at the ImageColorTransparent function... good luck On Tue, 30 Apr 2002, Cam wrote: I've got PHP 4.2 and what I believe to be the newest version of the GD library up and running.. For some reason, my PNG images do not preserve their transparencies but rather have a white

Re: [PHP] virus scanning with PHP

2002-05-01 Thread Miguel Cruz
On Wed, 1 May 2002, olinux wrote: Anyone ever run virus scans via PHP exec command? Is it possible? I am trying to persuade the company to go with Qmail and this would be a killer benefit as we've spent the past 2 days trying to rid klez. I don't see the advantage of bringing PHP into the

Re: [PHP] MySQL to Excel using PHP

2002-05-01 Thread Miguel Cruz
On Wed, 1 May 2002, Jay Blanchard wrote: If I name the file with a .xls extension it displays the code in the excel worksheet in the browser. If I name the file with the .php extension it opens Excel seperately, gives me a file download option (I click 'Open') and then asks me to tell it what

Re: [PHP] I can't seem to get the mkdir function to work properly

2002-05-01 Thread Miguel Cruz
On Wed, 1 May 2002, Andy F. wrote: I keep getting Permission denied, however the directory that I'm trying to create in has 777 permisions. Apache also needs at least x permission to each of the enclosing folders, all the way up to /. miguel -- PHP General Mailing List

[PHP] Checkbox Initial Value based on record in db

2002-05-01 Thread Daniel Negron/KBE
Kinda off topic here, just checking to see If I am on the right track with this input type=checkbox name=abb value=?php echo $myrow['abb'] ? 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. Brainfarting all day !!

Re: [PHP] XML to HTML?!

2002-05-01 Thread Miguel Cruz
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(); But it still outputs the page, can I disable that? Read the output buffering section of the manual. Look for the word

Re: [PHP] Retrieving name of error_log file

2002-05-01 Thread Miguel Cruz
On Wed, 1 May 2002, Neil Freeman wrote: How do you obtain the value of 'error_log' (set within a .htaccess file). Is there a $HTTP_x_VARS array available which contains this information? Nope. You can use phpinfo() to see what most of the predefined server variables are. In your case you'll

[PHP] session variables and classes?

2002-05-01 Thread John Ngo
does anyone know if a session variable set within a class is accessible outside the class and by other pages? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2002-05-01 Thread Miguel Cruz
On Wed, 1 May 2002, Daniel Negron/KBE wrote: Kinda off topic here, just checking to see If I am on the right track with this input type=checkbox name=abb value=?php echo $myrow['abb'] ? the result should be : IF the record contains the field abb and it has a value of 1 then it will be

[PHP] PHP-GTK Question

2002-05-01 Thread Sebastian A.
Hello, I have recently installed PHP-GTK with any problems, however I cannot get it to work. When I click on the php_win shortcut I get an error saying: Usage: php_win path to php-gtk script Does anyone know how I can fix this and run my PHP-GTK scripts? -- PHP General Mailing List

RE: [PHP] session variables and classes?

2002-05-01 Thread Jay Blanchard
[snip] does anyone know if a session variable set within a class is accessible outside the class and by other pages? [/snip] I have not tested this, but I do use sessions quite a bit. All session variables are registered as global variables and therefore should be available to other processes

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

2002-05-01 Thread 1LT John W. Holmes
It will only be checked if you put CHECKED in your HTML. if($myrow['abb'] == 1) { echo checked ; } Add that into your input element. ---John Holmes... - Original Message - From: Daniel Negron/KBE [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 01, 2002 1:04 PM Subject:

[PHP] Variable Help.

2002-05-01 Thread Randum Ian
Hi all, I want to link to a page like this: http://www.danceportal.co.uk/charts.php?wk0001-fri-18-jan-2002 How do I get the information into a script? Cheers, Ian. --- Randum Ian DJ / Reviewer / Webmaster, DancePortal (UK) Limited [EMAIL PROTECTED] http://www.danceportal.co.uk

[PHP] Re: Variable Help.

2002-05-01 Thread Joshua E Minnie
Try using a link like this instead: http://www.danceportal.co.uk/charts.php?date=wk001-fri-18-jan-2002 Then you can use the variable $date and parse through the variable how you need it. -- Joshua E Minnie/CIO [EMAIL PROTECTED] Phone: 616.276.9690 Fax: 616.342.8750 Nextel: 616.862.2847 Don't

Re: [PHP] Variable Help.

2002-05-01 Thread Stuart Dallas
On 1 May 2002 at 18:39, Randum Ian wrote: I want to link to a page like this: http://www.danceportal.co.uk/charts.php?wk0001-fri-18-jan-2002 How do I get the information into a script? The variable $_SERVER[QUERY_STRING] will contain wk0001-fri-18-jan-2002. -- Stuart -- PHP General

RE: [PHP] Variable Help.

2002-05-01 Thread Jay Blanchard
[snip] I want to link to a page like this: http://www.danceportal.co.uk/charts.php?wk0001-fri-18-jan-2002 How do I get the information into a script? [snip] Since you want to pass 'wk0001-fri-18-jan-2002' as the variable value your URL will need to look like this

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 variable

[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

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 standard

[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.

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/.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?

[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,

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

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 page like

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

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 have to

[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

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 of

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.

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 Gibbs

[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

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

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

[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

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 size?

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/

[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 print

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

[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=rafapass=ppuser=ruki the variables dont have

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

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. Server side,

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 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

[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:

[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. Holmes

[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

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

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 with

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 input type=checkbox name=abb value=?php echo $myrow['abb'] ? 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

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 if you

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

[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: ? function new_func($somedata) { echo I am function .get_func_name(); } ? -josh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[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 a

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

  1   2   >