Re: [PHP] PHP and permissions

2002-03-12 Thread Jan Rademaker
On Tue, 12 Mar 2002, Don wrote: use phpinfo() to find that out... > Hi, > > I have a question about how PHP runs. I have a file on my FreeBSD server that is >owned by another user but is the same group as myself. The file has read/write >permissions for the user only. Therefore, when I log

[PHP] Using phpMyAdmin in the SSL

2002-03-12 Thread Geoff Caplan
Hi I am setting up phpMyAdmin to administer a remote db, and as I don't fancy sending passwords in clear text, I have placed the whole phpMyAdmin directory in the SSL. The welcome page comes up fine, but when I select a db, I get a browser warning that the page is sending both secure and in

[PHP] Solution: ImagePng: No PNG support in this PHP build

2002-03-12 Thread Josep Raurell
Quoting Jason Wong <[EMAIL PROTECTED]>: > - Whenever I recompile PHP, I always start with a clean extract from the > source tarball. > > > -- > Jason Wong -> Gremlins Associates -> www.gremlins.com.hk > Ok this is solve the problem. I did a "make clean", but is not very clean :-(. The ans

Re: [PHP] Help in PHPDoc

2002-03-12 Thread Andrey Hristov
>From PhpdocSetupHandler.php * * By default only files with the suffix ".php" are recognized as * php source code files and parsed. If you used other * suffixes such as ".inc" you have to tell phpdoc to parse * them. $doc->setSourceFileSuffix( array ("php", "inc") ); in index.php Regards,

Re: [PHP] Help in PHPDoc

2002-03-12 Thread S.Murali Krishna
Hi Andrey Thanks for your kind response first. I did the way you told but still after executing index.php, there is nothing in my doc directory just see the following snap of my code. I want to create documentation for ./xPage/xPagedoc.inc file and want the documentation to be in ./xPage

Re: [PHP] PHP regular expression

2002-03-12 Thread S.Murali Krishna
Here is it $html = preg_replace('/"?Email:\s+\w.*\.[\w.]*"?/',"",$html); I tested it and its working. On Tue, 12 Mar 2002, Rodrigo Peres wrote: > Hi list, > > I have a huge text file with many text on it. I'd like to know if someone > can help in construct a regular expression to delete ever

[PHP] setcookie problem: Cannot add header information - headers already sent by

2002-03-12 Thread bob
here is the example: Feedback form Feedback form ENDH; // End of page header // Saving the page footer in the variable $tail. $tail = << ENDT; // End of page footer // Set up variables that will be saved in the cookies // Define unique cookie prefix $ID = "My_ID"; // Co

[PHP] PHP and permissions

2002-03-12 Thread Don
Hi, I have a question about how PHP runs. I have a file on my FreeBSD server that is owned by another user but is the same group as myself. The file has read/write permissions for the user only. Therefore, when I log onto the server I cannot read or write to the file. In fact, I can not ev

[PHP] problems creating php extension

2002-03-12 Thread Cristóvão B. B. Dalla Costa
Hi I'm currently working on a proprietary application server being used within my company. It uses a proprietary protocol over TCP/IP to interface to remote clients and we currently use an extension I made for PHP 4.0.6. The problems came when we upgraded to PHP 4.1.x. We could compile our modul

[PHP] Humorous PHP code for t-shirts

2002-03-12 Thread jhj hjhjhj
Hey people, I was asking myself if anybody of you guys have any humorous code in PHP to be used in personal t-shirts. Thanks! Jhon. _ Do You Yahoo!? La emoción e intensidad del deporte en Yahoo! Deportes. http://deportes.yahoo.com.mx --

[PHP] Re: Selective seeing =)

2002-03-12 Thread Nico Vrouwe
not tested :) $lines = file( 'http://www.cow.net/cows/' ); print $lines[ rand()%sizeof($lines) ]; /nico "Liam" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 12/03/2002 11:20:18 PM > > Hey all, > I'm looking to write a PHP script that will cut all content ou

Re: [PHP] Random number Question

2002-03-12 Thread Jason Wong
On Saturday 13 March 2010 11:54, Jennifer Downey wrote: > Hi all, > > I having a hard time understanding why this won't work. I have a form which > is suppose to pass the guess to the script. Here it is: It's no good just telling us it doesn't work. You need to tell us what happens when you run

RE: [PHP] Random number Question

2002-03-12 Thread Balaji Ankem
Try Now: The computer has picked a number between 1 and 10. Guess the number and you win! Enter your guess: -Original Message- From: Jennifer Downey [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 13, 2010 9:25 AM To: [EMAIL PROTECTED] Subject: [PHP] Random number Question Hi a

[PHP] Random number Question

2002-03-12 Thread Jennifer Downey
Hi all, I having a hard time understanding why this won't work. I have a form which is suppose to pass the guess to the script. Here it is: the form is guess.php: The computer has picked a number between 1 and 10. Guess the number and you win! Enter your guess: The script is number.php:

Re: [PHP] How to get the FULL address of a certin page???

2002-03-12 Thread Analysis & Solutions
On Tue, Mar 12, 2002 at 10:32:38PM -0500, [EMAIL PROTECTED] wrote: > I have a url like this: > > http://192.168.1.2/site/add_article.php?sid=5234a0f5acea9aa245dbe9846f6ace1c > > And I need to be able to RETURN the FULL url, how would i do this? I don't > think there is any one function/variable

[PHP] php-4.1.2 gd-2.0.1 and freetype-2.0.8 SOLUTION

2002-03-12 Thread Richard Archer
There was recently a thread on this list discussing the installation of php 4.1.x with gd-2.0.1 and freetype-2.0.8. The conclusion of this discussion was that php-4.1.x requires gd-2.0.2 which has not yet been released. I have obtained a copy of a patch to gd written by Wez Furlong (who also main

RE: [PHP] Hi How to convert the time from mysql(DATETIME) table to the format DD/MM/YYYY HH:MM AM or PM in PHP?

2002-03-12 Thread Balaji Ankem
Hi, I already have the date in mysql (DATETIME)format in variable called $start_date. I would like to convert that in to the form DD/MM/ HH:MM AM or PM. Thanks in advance. -Balaji -Original Message- From: Faisal Abdullah [mailto:[EMAIL PROTECTED]] Sent: Wednesday, Ma

[PHP] How to get the FULL address of a certin page???

2002-03-12 Thread eric.coleman
I have a url like this: http://192.168.1.2/site/add_article.php?sid=5234a0f5acea9aa245dbe9846f6ace1c And I need to be able to RETURN the FULL url, how would i do this? I don't think there is any one function/variable to do this.. I tried __FILE__ but that just returns the path.. Thanks, Eric

Re: [PHP] md5() different from md5sum on Linux

2002-03-12 Thread David Ford
hehehyou forgot something :) echo "blah" is actually "blah\n" # echo -n "blah" |md5sum 6f1ed002ab5595859014ebf0951522d9 stdin -d Mikhail Avrekh wrote: >Hello, > >Don't know if this is a question of (mis)configuration; I'm posting this >just in case someone had run into this before: > >PH

RE: [PHP] Re: Can't display PNG images

2002-03-12 Thread Tom Rogers
Hi You will probably have to recompile gd as well. Tom At 11:33 AM 13/03/2002, Narvaez, Teresa wrote: >Thank you so much for your responses. Thanks for any response! > >I now the GD libraries with PNG support. However, the image is still >broken. I looked at the apache server error log and th

[PHP] md5() different from md5sum on Linux

2002-03-12 Thread Mikhail Avrekh
Hello, Don't know if this is a question of (mis)configuration; I'm posting this just in case someone had run into this before: PHP's native md5() appears to return a different value from Linux's md5sum command: [mavrekh ~]$ echo "blah" | md5sum 0d599f0ec05c3bda8c3b8a68c32a1b47 - [mavrekh ~]$

RE: [PHP] mysql problems

2002-03-12 Thread Narvaez, Teresa
I agree with Hugh. I think it is always a good idea to check for return values of any function call. So, I'd replace this line: $result = mysql_query("select * from table"); with $result = mysql_query("select * from table"); or die("Unable to connect to SQL server

Re: [PHP] Hi How to convert the time from mysql(DATETIME) table to the format DD/MM/YYYY HH:MM AM or PM in PHP?

2002-03-12 Thread Faisal Abdullah
Try date("d/m/Y h:m A"); On Tuesday 12 March 2002 18:29, Balaji Ankem wrote: > Hi, > I have stored the date and time in mysql table with DATETIME > type. > > I want to change it in to DD/MM/ HH:MM AM or PM. > > How can I do this? > > Thanks in advance > Balaji -- PHP Gene

Re: [PHP] newbie: using sessions

2002-03-12 Thread Faisal Abdullah
Don't you have to assign the login value to the session variable first? session_start(); $login = $HTTP_POST_VARS("login"); session_register("login"); > How are you using you're session? Are you registering the variable for > later use? > > session_start(); > session_register("login"); > > $log

RE: [PHP] Re: Can't display PNG images

2002-03-12 Thread Narvaez, Teresa
Thank you so much for your responses. Thanks for any response! I now the GD libraries with PNG support. However, the image is still broken. I looked at the apache server error log and this is what showed up when I run zero.php(See below): libpng warning: Application was compiled with png.h f

Re: [PHP] mysql problems

2002-03-12 Thread hugh danaher
Maarten, Perhaps "table" isn't the name of the table you want. If mysql can't find the table (in line 13?), your $result variable is empty and this causes (line 17?) to fail also. Hope this helps, Hugh - Original Message - From: "Maarten Weyn" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

[PHP] mysql problems

2002-03-12 Thread Maarten Weyn
Hi on this code: $link = mysql_connect("localhost", "login", "passwd"); mysql_select_db("table"); $result = mysql_query("select * from table"); while ($row = mysql_fetch_object($result)) { echo $row->ID; echo $row->Drank; } mysql_free_result($result); mysql_close($link); It resulst in

Re: [PHP] auto redirection

2002-03-12 Thread Analysis & Solutions
On Wed, Mar 13, 2002 at 08:41:38AM +0800, Michael P. Carel wrote: > > Is there anyone who could help me in redirecting the page outside the Frame > page once a certain line of php scripts(or whatever) is executed or echoed > out. My page redirection are appearing in the Frame page which it should

[PHP] Persistent Links help needed

2002-03-12 Thread WG4- Cook, Janet
Hi All, I have multiple PHP pages and make my connection to the MySQl db in one of these pages. When I go to the next one any mysql commands seem not to work - it look like the connection to the DB is lost! I have a feeling this is to do with persistent connections so here is the relevant parts

[PHP] auto redirection

2002-03-12 Thread Michael P. Carel
Hi to all, Is there anyone who could help me in redirecting the page outside the Frame page once a certain line of php scripts(or whatever) is executed or echoed out. My page redirection are appearing in the Frame page which it should not be. Please help. Regards, Mike -- PHP General Maili

RE: [PHP] Pache .htpasswd Encryption

2002-03-12 Thread Daniel Kushner
http://www.phpclasses.org/browse.html/package/387.html > -Original Message- > From: Chris Burwell [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 11, 2002 3:46 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Pache .htpasswd Encryption > > > I am trying to make a script that adds users to a A

[PHP] PHP 4.12 Locally, Deploy to Multiple Versions

2002-03-12 Thread John Steele
Hello, I develop locally on win9x, and deploy to everything from 3.0.18 to 4.1.2 remotely (Linux/*nix/Raq/Solaris/FreeBSD). So I need to keep register_globals true on this development machine. But, I've found since 4.0.5 and up, that $PHP_SELF is set, but *EMPTY*. I just deleted the las

Re: [PHP] deleting records in mysql

2002-03-12 Thread Michael P. Carel
There were no error message for both of the interface,the field records just remain the same and still in the table upon deletion. This happen intermittently(sometimes it deletes and sometimes it does'nt). The php scripts that i've created checked the records of the table and if it's still exists

[PHP] Dynamic Webpage AGAIN!

2002-03-12 Thread Omland Christopher m
Anyone have a good link to a tutorial on creating dynamic web pages in PHP, mainly I'm interested in loading navigation bars and that kind of thing. If you have code you can send that would help too. Thanks. -Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:/

RE: [PHP] "\n" Seems not to work fine

2002-03-12 Thread Jason Murray
> I cannot get a breakline or line appart with \n with printf or print, > I've to use always . > \n shows only a space. HTML does not break lines on newlines in the source code. That's why is there. If you look at the source code, you'll see there is a newline in the source. Remember that HTM

Re: [PHP] $PHP_SELF in include files

2002-03-12 Thread Lars Torben Wilson
On Tue, 2002-03-12 at 15:17, David Johansen wrote: > Here's the chunk of code in the include file that gave me that. I should > have put it with the original post: Ach. Well, $PHP_SELF is in the global scope, so you will either need to use 'global $PHP_SELF;' at the beginning of your function, o

[PHP] "\n" Seems not to work fine

2002-03-12 Thread Anton
I cannot get a breakline or line appart with \n with printf or print, I've to use always . \n shows only a space. I've installed latest stable version of php and apache bath under Linux and W2k. Anybody knows something about? Thanks in advance. -- PHP General Mailing List (http://www.php.n

[PHP] Pache .htpasswd Encryption

2002-03-12 Thread Chris Burwell
I am trying to make a script that adds users to a Apache .htpasswd file. I was wonderering how I would encrypt a password the same way Apache does, but using PHP. I should also mention that I am using PHP 4.1.1 and Apache 1.3.X under windows XP Pro. -- PHP General Mailing List (http://www.php.

Re: [PHP] $PHP_SELF in include files

2002-03-12 Thread Jan Rademaker
On Tue, 12 Mar 2002, David Johansen wrote: you might try global $PHP_SELF; in that function... > Here's the chunk of code in the include file that gave me that. I should > have put it with the original post: > > function questions() > { > ?> > U face="Times New Roman" size="2"> > >

RE: [PHP] $PHP_SELF in include files

2002-03-12 Thread Jason Murray
> function questions() > { [snip] > } > ?> $PHP_SELF is unknown to the function "questions()". You'll need to add "global $PHP_SELF" at the top of the function. Jason -- Jason Murray [EMAIL PROTECTED] Web Developer, Melbourne IT "Work now, freak later!" -- PHP General Mailing List (ht

Re: [PHP] $PHP_SELF in include files

2002-03-12 Thread Lars Torben Wilson
On Tue, 2002-03-12 at 15:13, David Johansen wrote: > I'm doing exactly what you said and here's what it says when I call > $PHP_SELF in the include file: > > http://12.254.227.149/Warning:%20%20Undefined%20variable:%20%20PH > P_SELF%20in%20c:/inetpub/wwwroot/pages.inc%20on%20line%2035 >?page=ques

Re: [PHP] $PHP_SELF in include files

2002-03-12 Thread David Johansen
Here's the chunk of code in the include file that gave me that. I should have put it with the original post: U Questions Insert questions here. Thanks, Dave "Lars Torben Wilson" <[EMAIL PROTECTED]> wrote in message 1015974570.2134.94.camel@ali">news:1015974570.2134.94.camel@al

Re: [PHP] $PHP_SELF in include files

2002-03-12 Thread David Johansen
I'm doing exactly what you said and here's what it says when I call $PHP_SELF in the include file: http://12.254.227.149/Warning:%20%20Undefined%20variable:%20%20PH P_SELF%20in%20c:/inetpub/wwwroot/pages.inc%20on%20line%2035?page=questions "Lars Torben Wilson" <[EMAIL PROTECTED]> wrote in messa

Re: [PHP] $PHP_SELF in include files

2002-03-12 Thread Lars Torben Wilson
On Tue, 2002-03-12 at 15:02, David Johansen wrote: > Is there a way that I can use $PHP_SELF in include files, so that the > function will use the URL of the php script that calls the include file? > Thanks, > Dave If a.php includes b.php, and you check $PHP_SELF in b.php, it should give you the

Re: [PHP] mixed type

2002-03-12 Thread Lars Torben Wilson
On Tue, 2002-03-12 at 14:33, max wrote: > While looking thru php funcions (mixed ora_getcolumn ( int cursor, mixed > column) in partucular) > I came across type MIXED. What does that mean? There is no such type > mentioned in the php > docs under TYPES section. > > thanks. > > max. It simply me

Re: [PHP] Error Handling!

2002-03-12 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > I want errors reported on a page when the mail() > function for any reason fails to send emails. FOr > example, if there is a malformed email address or > anything, and the mail is not sent, how can i catch > the Error and Display it on

[PHP] $PHP_SELF in include files

2002-03-12 Thread David Johansen
Is there a way that I can use $PHP_SELF in include files, so that the function will use the URL of the php script that calls the include file? Thanks, Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mixed type

2002-03-12 Thread max
While looking thru php funcions (mixed ora_getcolumn ( int cursor, mixed column) in partucular) I came across type MIXED. What does that mean? There is no such type mentioned in the php docs under TYPES section. thanks. max. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

Re: [PHP] variable scope

2002-03-12 Thread David Johansen
Something most have just been wigging out or something because I can't get it to do it again. Maybe I just did something wrong, but it seems to be working now. Thanks for the help though, Dave "Lars Torben Wilson" <[EMAIL PROTECTED]> wrote in message 1015973063.2146.82.camel@ali">news:1015973063.

Re: [PHP] variable scope

2002-03-12 Thread Lars Torben Wilson
On Tue, 2002-03-12 at 14:38, David Johansen wrote: > I have a little chunk of code that checks to see if a variable exists and if > not then it sets it. It goes like this: > > if (empty($page)) > { >$page = "login"; > } > > I then end that part of the php script after doing what I need to. T

[PHP] Auto POST with redirect?

2002-03-12 Thread Kevin Stone
What I'm trying to do is create a multi-user information gathering system similar to Moreover.com's news gathering system (just much simpler and not as dynamic). A JavaScript auto submits to a remote PHP script. The PHP script grabs the info from the database then generates its own JavaScript to

[PHP] variable scope

2002-03-12 Thread David Johansen
I have a little chunk of code that checks to see if a variable exists and if not then it sets it. It goes like this: if (empty($page)) { $page = "login"; } I then end that part of the php script after doing what I need to. Then I start up again on the same html page and I assumed that $page h

RE: [PHP] PHP and Pay Flow Pro

2002-03-12 Thread Mike Krisher
The php.net site (http://www.php.net/manual/en/ref.pfpro.php) has all the information you'll need to implement Payflow Pro. Check out the User Contributed Notes. __ Mike Krisher Technical Director hyperQUAKE 312 West 4th Street Cincinnati, OH 45202 Tel: 513.563.655

[PHP] help: setcookie question

2002-03-12 Thread Frank Ramsay
pretty please? I have a situation where I have to have a cookie that is set by one apache server and read by another. They are on the same domain, but different ports. To write this I set up two webserver one on port 81 and one on 90, the port 81 server calles setcookie, but in the DOMAIN argu

[PHP] Safety File

2002-03-12 Thread Cory
I want a file that has all of my important, global variables (like database info). I want this to be encoded by a PHP script and written. Is there any way, that I can import the file, while decoding it, so that the info is given as just lines of PHP. How can I do this? -- PHP General Mailin

RE: [PHP] Another Session Question..

2002-03-12 Thread Jan Rademaker
On Tue, 12 Mar 2002, Gonzalez, Zara E wrote: > On second look, perhaps it is working correctly. > > I wasn't incrementing my counter variable. Sorry to flood your mailboxes. > > Zara > this should work as well; foreach($_REQUEST as $key => $val) { $_SESSION[$key] = $val; } -- Jan R

RE: [PHP] Another Session Question..

2002-03-12 Thread Gonzalez, Zara E
On second look, perhaps it is working correctly. I wasn't incrementing my counter variable. Sorry to flood your mailboxes. Zara -Original Message- From: Gonzalez, Zara E Sent: Tuesday, March 12, 2002 3:47 PM To: 'Coggeshall, John'; '[EMAIL PROTECTED]' Subject: RE: [PHP] Another Session

RE: [PHP] Another Session Question..

2002-03-12 Thread Gonzalez, Zara E
What I am trying to do is register a variable already in the request array...as a session variable. I know I can do $_SESSION['foo'] = $_REQUEST['foo'] but that's if I know the name of the variable that was registered on the form side I do know the name, but it's dynamically generated. So fo

Re: [PHP] parse error? how can I print spesific message for allerror mesage

2002-03-12 Thread Lars Torben Wilson
On Tue, 2002-03-12 at 12:32, Ceyhun Güler wrote: > if I write directly "localhost/myphp/resmigoster.php" on his browser > it response > Warning: Undefined index: dir in c:\inetpub\wwwroot\kocak\resimgoster.php on > line 1 > > Warning: Undefined index: res in c:\inetpub\wwwroot\kocak\resimgoster.p

[PHP] Another Session Question..

2002-03-12 Thread Gonzalez, Zara E
I asked a question the other day about turning $_REQUEST variables into $_SESSION variables...thanks, all who helped me with that... I have another question about assigning $_REQUEST variables to $_SESSION variables that I am hoping someone can help me out with Here is a snippit of code...

[PHP] PHP and Pay Flow Pro

2002-03-12 Thread SpyProductions Support Team
I am about to build a script in PHP for a user to submit a credit card transaction through Verisign's Pay Flow Pro. Is there some sort of module I need installed first before I use PHP for this? Does anyone know of a script around to use as an example, or for that matter, a free one already don

Re: [PHP] accessing data from classes

2002-03-12 Thread Samuel Ottenhoff
It is good that you are looking into classes and functions. The concept you are missing is that of "returning" a result. At the end of your function mysql_query, add a line: return $result; Then, when you call that function, make it like this: $resultArray = $TemplateTable->mysql_query("se

Re: [PHP] parse error? how can I print spesific message for allerror mesage

2002-03-12 Thread Jan Rademaker
On Tue, 12 Mar 2002, Ceyhun Güler wrote: > than the script works like mine > but I wonder to disable "Warning: Undefined index: dir in > c:\inetpub\wwwroot\kocak\resimgoster.php on line 1" > response if someone directly enter "localhost/myphp/resmigoster.php" I want > to say him that "Access Deni

RE: [PHP] Execute php script inside an HTML page???

2002-03-12 Thread Coggeshall, John
If you are running apache, open httpd.conf and search for .php (the line where it specifies what types of files are PHP files)... Simply add .html to the list. John -Original Message- From: Lic. Carlos A. Triana Torres [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 12, 2002 3:41 PM To

RE: [PHP] Execute php script inside an HTML page???

2002-03-12 Thread Kevin Stone
If you only have a web account you can download the .htaccess file from your home directory and add the following lines. Whether this will work or not may depend on your host. AddType application/x-httpd-php .html AddType application/x-httpd-php .htm -Original Message- From: Lic. Carlo

RE: [PHP] Execute php script inside an HTML page???

2002-03-12 Thread Miles Thompson
This idea sounds very appealing, but remember that PHP will then parse every HTML file. Make certain this won't result in a performance hit. Miles Thompson At 03:43 PM 3/12/2002 -0500, Hunter, Ray wrote: >Yes, > >However, you need to add the .html file extension to the php parser so that >it pa

[PHP] PHP regular expression

2002-03-12 Thread Rodrigo Peres
Hi list, I have a huge text file with many text on it. I'd like to know if someone can help in construct a regular expression to delete everything that not have this pattern "Email: [EMAIL PROTECTED]". The part "Email: " is fixed and the email adress changes. I've tried many time to make the repl

Re: [PHP] Is there a faster way to escape special characters in aregex?

2002-03-12 Thread Lars Torben Wilson
On Tue, 2002-03-12 at 05:57, Richard Davey wrote: > Hi all, > > At the moment I'm doing this to escape all "special" regular expression > characters from my regex string: Sounds like you want preg_quote(): http://www.php.net/manual/en/function.preg-quote.php Hope this helps, Torben >$

[PHP] accessing data from classes

2002-03-12 Thread caspar kennerdale
I am just getting my head around classes, so forgive me if this is a schoolboy error! In order to learn I am re-writing my content management system and am in the process of writing an HTML.class and a MYSQL.class. so far so good. I spawn new instances of a table for example, sending parameter,a

RE: [PHP] Execute php script inside an HTML page???

2002-03-12 Thread Hunter, Ray
Yes, However, you need to add the .html file extension to the php parser so that it parses the .html file. Thank you, Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message- From: Lic. Carlos A. Triana Torres [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 12, 2002 1:4

[PHP] Execute php script inside an HTML page???

2002-03-12 Thread Lic. Carlos A. Triana Torres
Hello all, Can I execute a php script from an HTML document? I mean, with the file named with html extension? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP/MySQL application - how to schedule server processes?

2002-03-12 Thread Lee P Reilly
Hi there, I wonder if anyone can offer me some advice... I have developed a portal using PHP, which allows users to uploads files into their own personal storage locations. These files are stored in a MySQL database. The system also allows the users to select these files and submit them for anal

Re: [PHP] parse error? how can I print spesific message for all error mesage

2002-03-12 Thread Ceyhun Güler
if I write directly "localhost/myphp/resmigoster.php" on his browser it response Warning: Undefined index: dir in c:\inetpub\wwwroot\kocak\resimgoster.php on line 1 Warning: Undefined index: res in c:\inetpub\wwwroot\kocak\resimgoster.php on line 3 if I write directly "localhost/myphp/resmigoste

Re: [PHP] archive

2002-03-12 Thread Andrey Hristov
http://marc.theaimsgroup.com/?l=php-general&r=1&w=2 Regards, Andrey - Original Message - From: "Jim Long" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 12, 2002 8:51 PM Subject: [PHP] archive > Hello, > > Is there a searchable archive of this PHP- general subscriber

[PHP] archive

2002-03-12 Thread Jim Long
Hello, Is there a searchable archive of this PHP- general subscriber list? Thanks in Advance, Jim Long -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php array

2002-03-12 Thread Jim Lucas [php]
you could referance the element id of the form something like if(window.document.form.element[1].value = "") { do_something(); } not sure of the exact js construct, but you get my idea. Jim Lucas www.bend.com - Original Message - From: "Rodrigo Peres" <[EMAIL PROTECTED]> To: "P

RE: [PHP] Form Based Authentication

2002-03-12 Thread Matt Schroebel
First, change the names of your include files to something.inc.php so that no-one can download the files and get thte source, should their names become known. Second, you either must use session_register or $_SESSION['variablename'] and not mix their use. So instead of: $authenticated_user = 7

RE: [PHP] php array

2002-03-12 Thread Demitrious S. Kelly
Something like this: -Original Message- From: Rodrigo Peres [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 12, 2002 10:11 AM To: PHP Subject: [PHP] php array Hi list, I think this could be an idiot question but I couldn't find an answer. I have 4 input text in a html, and I'd like to

[PHP] php array

2002-03-12 Thread Rodrigo Peres
Hi list, I think this could be an idiot question but I couldn't find an answer. I have 4 input text in a html, and I'd like to store them as a list, so I've named it Name[]. OK, php understand it as an array, but how can I make an validation code with javascript to know if the user didn't typed i

[PHP] Form Based Authentication

2002-03-12 Thread Anson Smith
I am new to PHP and I am attempting to use some type of authentication in my site.   My first page is a simple HTML form page with 2 fields username and passwrd. that form is POST'ed to a 2nd page.   In the second page I start a session, and if $_

[PHP] Dynamic Web Navigation

2002-03-12 Thread Omland Christopher m
Does anyone have a good link to a tutorial, or a book suggestion that will help me learn more about making dynamic web pages with MySQL/PHP. Mainly things like loading navigation menues, and pics and what not? Thanks. -Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vis

[PHP] phpinfo() and phpmyAdmin

2002-03-12 Thread Daniel Negron/KBE
I can get phpinfo() working properly on a page that I just create in the same directory. But why will the phpmyAdmin phpinfo.php not show anything but a blank page ? All other functions of phpMyAdmin work properly. Thank You <><><><><><><><><><><><><><><><> Daniel Negrón Lotus Notes Adminis

Re: [PHP] index.php question

2002-03-12 Thread Daniel Negron/KBE
Still haven't gotten this to work properly with IIS. any other suggestions ? Thank You <><><><><><><><><><><><><><><><> Daniel Negrón Lotus Notes Administrator / Developer KB Electronics, Inc. 954.346.4900x122 http://www.kbelectronics.com <><><><><><><><><><><><><><><><>

RE: [PHP] Hi can we write a form inside td element of a table?

2002-03-12 Thread Rick Emery
-Original Message- From: Balaji Ankem [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 12, 2002 12:12 AM To: Php-General Subject: [PHP] Hi can we write a form inside td element of a table? Hi, can we give a form element as td inside table element? Thanks in advance Balaji --

RE: [PHP] reset auto_increment field mysql

2002-03-12 Thread Rick Emery
It worked for me. What results did you get? -Original Message- From: Claudiu [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 12, 2002 8:51 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] reset auto_increment field mysql I wish it was that simple... No.. It doesn't work this way... On Tue

Re: [PHP] Re: Variables within a string

2002-03-12 Thread Erik Price
On Monday, March 11, 2002, at 10:34 PM, Jason Wong wrote: >>> On Monday 11 March 2002 11:10, Chris Cocuzzo wrote: $foo = "Entry for " . $HTTP_POST_VARS["name"]; >>> >>> $foo = "Entry for for $HTTP_POST_VARS[name]"; >> >> But that's not good programming. Associative arrays should have the

Re: [PHP] Re: reset auto_increment field mysql

2002-03-12 Thread Erik Price
On Tuesday, March 12, 2002, at 06:51 AM, Jordan S. Jones wrote: > Direct quote from MySQL by Paul DuBois Just a quick plug for that book -- it is excellent. If you use MySQL for anything beyond casual experimentation, I highly recommend it as well worth the $40-50 (US) that it costs. The f

Re: [PHP] question

2002-03-12 Thread Andrey Hristov
Probably the value you want to sent to the php page is on the page but not between and . Regards, Andrey Hristov - Original Message - From: "John Gurley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 12, 2002 5:26 PM Subject: [PHP] question > don't know exactly if

Re: [PHP] question

2002-03-12 Thread Martín Marqués
On Mar 12 Mar 2002 12:26, you wrote: > don't know exactly if anybody will understand what I am asking, but any > help would be appreciated. > > I am taking a value off a web page, posting this value to another web page, > where more values are taken and submitted to a php page. The problem is > th

[PHP] question

2002-03-12 Thread John Gurley
don't know exactly if anybody will understand what I am asking, but any help would be appreciated. I am taking a value off a web page, posting this value to another web page, where more values are taken and submitted to a php page. The problem is that the first value (taken from the initial we

RE: [PHP] reset auto_increment field mysql

2002-03-12 Thread Matt Schroebel
How about: ALTER table auto_increment=0 > -Original Message- > From: Claudiu [mailto:[EMAIL PROTECTED]] > I wish it was that simple... > No.. It doesn't work this way... > > On Tue, 12 Mar 2002, Rick Emery wrote: > > > your query is: DELETE FROM mytable; > > > > -Original Message

Re: [PHP] "undefined symbol: compress" during install?

2002-03-12 Thread Erik Price
On Monday, March 11, 2002, at 07:50 PM, Michael Sims wrote: > bugs.php.net is extremely helpful for stuff like this, (even though > strictly speaking those types of things shouldn't be submitted as bugs) > and I don't think enough people out there know to check it. It's > actually helped me

Re: [PHP] Error Handling!

2002-03-12 Thread Jan Rademaker
On Tue, 12 Mar 2002, Thomas Edison Jr. wrote: > I want errors reported on a page when the mail() > function for any reason fails to send emails. FOr > example, if there is a malformed email address or > anything, and the mail is not sent, how can i catch > the Error and Display it on the page? t

RE: [PHP] reset auto_increment field mysql

2002-03-12 Thread Claudiu
I wish it was that simple... No.. It doesn't work this way... On Tue, 12 Mar 2002, Rick Emery wrote: > your query is: DELETE FROM mytable; > > -Original Message- > From: Claudiu [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 12, 2002 5:09 AM > To: [EMAIL PROTECTED] > Subject: [PHP]

Re: [PHP] Hi How to compare two dates using PHP which are from mysqldatabase?

2002-03-12 Thread Jan Rademaker
On Tue, 12 Mar 2002, Jason Lotito wrote: > Why not compare them in the SQL Query itself? > That could work just as well, depending in what you want to do with the data. -- Jan Rademaker <[EMAIL PROTECTED]> http://www.ottobak.com -- PHP General Mailing List (http://www.php.net/) To unsubsc

RE: [PHP] Hi How to compare two dates using PHP which are from mysqldatabase?

2002-03-12 Thread Jan Rademaker
On Tue, 12 Mar 2002, Balaji Ankem wrote: > Hi Jan, > I want to compare the DTAETIME1,DATETIME2 which are from mysql > table and want to compare in PHP. > But strtotime takes only one argument and it checks whether it > is valid or not. True, after you've fetched a record with, e.g. $

Re: [PHP] Help in PHPDoc

2002-03-12 Thread Andrey Hristov
I used it few times. You have to make modifications to index.php, so the engine will know where to look to for .php scripts that have to be documented. I've attached my index.php - Original Message - From: "S.Murali Krishna" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, Marc

[PHP] Help in PHPDoc

2002-03-12 Thread S.Murali Krishna
Is anybody using PHPDoc for creating documentation, if yes could you tell me how to create documentation for a single "php" file which has enough comments needed by PHPDoc. <[EMAIL PROTECTED]> --- We must use time wisely a

Re: [PHP] Is there a faster way to escape special characters in a regex?

2002-03-12 Thread Jason Wong
On Tuesday 12 March 2002 22:30, Andrey Hristov wrote: > Yes they are identical. The rule is that the first and the last(excluding > modificators) symbol must be identical so > > |abc| > > ~abc~ > /abc/ > %abc%(not sure for that) should be ok. > are equivalent. The docs uses // syntax because it

[PHP] Error Handling!

2002-03-12 Thread Thomas Edison Jr.
I want errors reported on a page when the mail() function for any reason fails to send emails. FOr example, if there is a malformed email address or anything, and the mail is not sent, how can i catch the Error and Display it on the page? Thanks, T. Edison Jr. = Rahul S. Johari (Director)

  1   2   >