[PHP] Re: Is there a way to put a scroll in a table ???

2002-02-25 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (J.F.Kishor) wrote: > I'am breaking my head by trying to put a scroll in a table, > my problem is, using php 'am trying to display a report and the report > should have three tables, data to display are taken from three different > tables

[PHP] Is there a way to put a scroll in a table ???

2002-02-25 Thread J.F.Kishor
Hi all, I'am breaking my head by trying to put a scroll in a table, my problem is, using php 'am trying to display a report and the report should have three tables, data to display are taken from three different tables and number of rows returned are three different values, the n

RE: [PHP] What's wrong w/ this line?

2002-02-25 Thread Demitrious S. Kelly
A .phps would be helpful -Original Message- From: Nick Richardson [mailto:[EMAIL PROTECTED]] Sent: Monday, February 25, 2002 10:05 PM To: PHP General Subject: [PHP] What's wrong w/ this line? PHP seems to be completly ignoring this line... Funny part is that i use this same line in ano

Re: [PHP] What's wrong w/ this line?

2002-02-25 Thread Jason Wong
On Tuesday 26 February 2002 14:04, Nick Richardson wrote: > PHP seems to be completly ignoring this line... > > Funny part is that i use this same line in another place in my code and it > works fine there... i have no clue - Need coffee. > > } elseif(!(preg_match("/^[A-Za-z0-9-]+$/",$uname))

Re: [PHP] What's wrong w/ this line?

2002-02-25 Thread Peter Janett
I'm guessing it's out of context. It must be after an if block, and before and else block: if ($value) { print "some stuff is true"; } elseif(!(preg_match("/^[A-Za-z0-9-]+$/",$uname))) { print "$uname is valid"; } else { print "$uname is not valid"; } -

Re: [PHP] switch & continue statements

2002-02-25 Thread Jason Cox
A switch will match the value to one of the cases and then continue executing each line until it encounters the end of the switch block or encounters a 'break'; It doesn't do any other validation after the initial sucessfull case validation. I've never used a continue inside a switch block but I

Re: [PHP] What's wrong w/ this line?

2002-02-25 Thread Jason Cox
Nick, I believe you need a space between 'else' and 'if'. Should be two separate words. If that doesn't work, please send more of the code. Regards, Jason Cox - Original Message - From: "Nick Richardson" <[EMAIL PROTECTED]> To: "PHP General" <[EMAIL PROTECTED]> Sent: Monday, February

[PHP] What's wrong w/ this line?

2002-02-25 Thread Nick Richardson
PHP seems to be completly ignoring this line... Funny part is that i use this same line in another place in my code and it works fine there... i have no clue - Need coffee. } elseif(!(preg_match("/^[A-Za-z0-9-]+$/",$uname))) { //Nick Richardson [EMAIL PROTECTED] [EMAIL PROTECTED] -

[PHP] Help needed with Sessions

2002-02-25 Thread WG4- Cook, Janet
Hi all, I am trying to get sessions to work to use to pass some data around, but the values do not seem to be coming through - I've probably got something basic wrong PHP version is 4.0.4pl1 sources are validate.php Today's Date Connection established on $dbcnx"); if (!$dbcnx) {

[PHP] word wrapping again

2002-02-25 Thread Michael P. Carel
Hi there, Is there any function that can i used in wrapping a continuous line of words that will be displayed in the HTML table to avoid destroying its table format. I've tried wordwrapping function but it only wraps word with spaces between them. I have a REPORT NO. that is continously increme

RE: [PHP] Variables containing HTML?

2002-02-25 Thread Demitrious S. Kelly
It breaks the individual characters down into their ascii equivalent, and makes it one big 'numerical' string... then breaks the string back into separate values and translates each value back into a character, then recreates the string from the characters... I got sick of slashing and un slashin

RE: [PHP] Variables containing HTML?

2002-02-25 Thread Nick Richardson
Right on!!! - This works great!! Can you explain what it does ;) - i'm completly lost in it ;) //Nick -Original Message- From: Demitrious S. Kelly [mailto:[EMAIL PROTECTED]] Sent: Monday, February 25, 2002 8:02 PM To: 'Nick Richardson'; 'PHP General' Subject: RE: [PHP] Variables contain

[PHP] Re: Return values?

2002-02-25 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > [EMAIL PROTECTED] (Daniel alsén) wrote: > > > Hi, > > > > how do i display return values from functions? > > Ie i want to see whether mail() returns TRUE or FALSE. > > echo mail(...); > shows the return value, then you can do: > > i

RE: [PHP] Variables containing HTML?

2002-02-25 Thread Demitrious S. Kelly
Try these... function encode($string) { $string=stripslashes($string); $temp=''; $newstring=''; for ( $counter=0; $counter != ; $counter++ ) { $temp=substr($string, $counter, 1); if ( $temp == '' ) { break

RE: [PHP] Variables containing HTML?

2002-02-25 Thread Martin Towell
there's htmlentities or something like that - try that w/ your hidden field -Original Message- From: Nick Richardson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 26, 2002 2:56 PM To: PHP General Subject: [PHP] Variables containing HTML? Stupid question for everyone... i'm just hav

[PHP] Variables containing HTML?

2002-02-25 Thread Nick Richardson
Stupid question for everyone... i'm just having one of those braindead moments. I have a page which allows users to add custom headers and footers in HTML. (i.e. Fill in a text area with a bunch of html, and that's stored in a mysql database and retrived when that user logs in again). The proble

[PHP] My first piece of decent PHP (I think :-)

2002-02-25 Thread Timothy J. Luoma
Hello folks! I've been lurking the last 200 messages or so (i.e. 10-15 minutes ;-) I've already learned a lot, including that this list will be well worth the bandwidth. I hope my post will be worth the reading. I think I have my first contribution to make, and at the same time would like to a

[PHP] Re: multilanguage support

2002-02-25 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Leonid Zilber) wrote: > On our site, we have page with a form a user puts his/her information such > as company name, givenname, etc. Currently, if a name entered is anything > but English characters, PhP fails. > > For example, if I enter Norw

[PHP] Re: php, win32, xml bug?

2002-02-25 Thread J Wynia
The first thing I'd do is run your transformation through one of (or all of) the rest of the XSL engines out there. There's a lot more variability out there in XSL engines. Unfortunately, Sablotron isn't the most conformant of the field. I haven't used Sablotron in a while for XSLT processing so a

[PHP] Re: Changing arguments in the php.ini file

2002-02-25 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Kostas Karadamoglou) wrote: > When I change an argument from off to on and then restart the Apache server > the php.info() function displays thats no changes took place. > Exambles like register_global and display_errors. > I dont know what is

Re: [PHP] header problem

2002-02-25 Thread Michael P. Carel
Thank you George you are right, Im looking for a redirector once details have been checked in the form and written in the database, but how can i do it what whould be the second option? i 've searching for javascript redirector but i cant find one. Could you please help me im stuck here. Regard

[PHP] Re: Creating a installer...

2002-02-25 Thread Julio Nobrega
www.phpbb.org has one. Basically creates a bunch of database tables and modify a few files. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 "Sascha Ragtschaa" <[EM

[PHP] Filemaker Pro 5.5

2002-02-25 Thread John Steele
Hello, I'm wondering if anyone here has had experience interfacing to FM on an NT box. Any gotcha's to look out for? They don't want to be stuck with something as closed as ASP with several non-MS platforms to support. It's the Unlimited edition, I *assume* it has ODBC support (didn't fin

Re: [PHP] switch & continue statements

2002-02-25 Thread Lars Torben Wilson
On Sat, 2002-02-23 at 20:13, KAT 44 wrote: > Hello, > I'm not sure if this is a newsgroup, list or direct e-mail > address. In any case, I ask of anybody who can answer my > question to *send me an e-mail* at [EMAIL PROTECTED], > and not answer on the list/newsgroup/etc. (Thank you.) I'm reply

[PHP] Changing arguments in the php.ini file

2002-02-25 Thread Kostas Karadamoglou
Hi my system has the following characteristics Windows Me Apache for window 1.3... and PHP 4.1.1 When I change an argument from off to on and then restart the Apache server the php.info() function displays thats no changes took place. Exambles like register_global and display_errors. I dont kno

Re: [PHP] Re: ? re phpwebhosting.com - still in business??

2002-02-25 Thread Frank
Anything in effect saying "any transfer without extra cost" (or "unlimited diskspace") is not for users expecting quality. Bandwidth and diskspace costs money. What they mean is "It's unlimited unless off course you use too much", in other words unserious advertising and so it's a business yo

[PHP] switch & continue statements

2002-02-25 Thread KAT 44
Hello, I'm not sure if this is a newsgroup, list or direct e-mail address. In any case, I ask of anybody who can answer my question to *send me an e-mail* at [EMAIL PROTECTED], and not answer on the list/newsgroup/etc. (Thank you.) My question is the following: When having a switch statement as fo

Re: [PHP] MySQL joins

2002-02-25 Thread Richard Baskett
Try this instead: SELECT *, DATE_FORMAT(appointment.startdatetime, '%m-%d-%y') AS yrappt FROM appointment LEFT JOIN guest USING (appointment_id) That should work, but I don¹t know what your table is like so I can only guess all the required elements are there. Rick "Every person you meet - and

[PHP] MySQL joins

2002-02-25 Thread Alexander P. Javier
the query is: select appointment.*, date_format(appointment.startdatetime,'%m-%d-%Y') as yrappt from appointment left join guest on appointment.appointment_id = guest.appointment_id i think it's syntactically correct, it returns the correct rows when run with the mysql.exe program but gets a

RE: [PHP] MySQL joins

2002-02-25 Thread Martin Towell
can you supply some examples please -Original Message- From: Alexander P. Javier [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 26, 2002 10:34 AM To: [EMAIL PROTECTED] Subject: [PHP] MySQL joins why do i get errors on MySQL queries that have joins? alyx ---

[PHP] MySQL joins

2002-02-25 Thread Alexander P. Javier
why do i get errors on MySQL queries that have joins? alyx - Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games

[PHP] Forms

2002-02-25 Thread Chiew, Richard
Hi there, i have the following php code that works fine. But when i click on the submit button and then it takes me to the next page, it displays the following error mesage at the top Warning: MySQL: A link to the server could not be established in c:\program files\nusphere\apache\nsdocs\mug_worl

Re: [PHP] downloading text files stored in database?

2002-02-25 Thread Lee P Reilly
Hi, Thanks for your help, but that assumes that file is (at least temporarily) stored on disc - I'd like to take the file data straight out of the database and be available for "download" by the user. Is this possible at all, or will I have to create a temporary file to hold the data, and *then*

RE: [PHP] Numbered Arrays

2002-02-25 Thread Hunter, Ray
That is probably faster than going through the for loop... Helps if I read the documentation on Arrays. Thanks for info Lars, Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message- From: Lars Torben Wilson [mailto:[EMAIL PROTECTED]] Sent: Monday, February 25, 2002 3:05

Re: [PHP] Numbered Arrays

2002-02-25 Thread Lars Torben Wilson
On Mon, 2002-02-25 at 13:56, Phillip S. Baker wrote: > What is the quick way to generate numbered arrays? > I cannot seem to find it in my documentation. > > Looking to generate and populate an array with the numbers 0-23. > > Thanks > > Phillip http://www.php.net/range Cheers, Torben

RE: [PHP] Numbered Arrays

2002-02-25 Thread Hunter, Ray
Put it in a for loop and add data to the array. Example: for( $i = 0; $i < 24; $i++) { $arr[$i] = "Data here."; } This is one of the fastests; however, there are other ways as well. Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message

[PHP] str_replace and associative arrays

2002-02-25 Thread Michael Crowl
I haven't been able to find any leads on this in the archives, nor in the documentation, so here goes. When feeding an associative array to str_replace as the subject, does it still return an associative array? My instance: extract(str_replace(",","",$result_row)); After pulling an associativ

[PHP] Numbered Arrays

2002-02-25 Thread Phillip S. Baker
What is the quick way to generate numbered arrays? I cannot seem to find it in my documentation. Looking to generate and populate an array with the numbers 0-23. Thanks Phillip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] downloading text files stored in database?

2002-02-25 Thread Ivan Balazs
In the download_file.php put a header() function which redirects the browser to the file, like header("Location: test.dat"). After that it should show the dialog screen. Balazs On Mon, 25 Feb 2002, Lee P Reilly wrote: > Hi, > > I wonder if someone can point me in the direction of an example and

RE: [PHP] Freeing up locked table?

2002-02-25 Thread Hunter, Ray
This is mysql doing the locking, you will need to look into your mysql configuration. Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message- From: Jeff Lewis [mailto:[EMAIL PROTECTED]] Sent: Monday, February 25, 2002 2:41 PM To: [EMAIL PROTECTED] Subject: [PHP] Freeing up

[PHP] Freeing up locked table?

2002-02-25 Thread Jeff Lewis
Sometimes when using PHP/mySQL I have encountered a locked table. I have no idea why it occurs, I am not explicitly locking the tables but sometimes in phpmyadmin it says "in use". Is there a way to "unlock" this table using PHP? Jeff -- PHP General Mailing List (http://www.php.net/) To uns

Re: [PHP] How many files can be in one directory?

2002-02-25 Thread Thalis A. Kalfigopoulos
On Mon, 25 Feb 2002, Andy wrote: > Hi there, > > I am building a web application which is storing pictures. > > Is there a limit of files in one directory on LINUX systems? Perhaps it > might end in a problem after having 3 files in the same dir? Performance > issues ore something else. Th

Re: [PHP] Converting arrays

2002-02-25 Thread Gary
Simon Willison wrote: > Gary wrote: > >> Hi All, >> I am not too bad at building arrays in php but I need to convert a >> javascript form into php. How wuld I conver the small snippit here? >> >> var d = new Array(), l = new Array(); >> l[0] = new Array(1, -360, 1, "CHICAGO"); >> l[1] = new Arr

Re: [PHP] grab a file from location and save it to server

2002-02-25 Thread Lars Torben Wilson
On Mon, 2002-02-25 at 13:03, Mike Krisher wrote: > Is there a way with PHP to grab a file from an external server > (http://www.domain.com/image.jpg) and save/upload it onto my local server? > > Thanks in advance, > __ > Mike Krisher http://www.php.net/curl Cheers,

[PHP] Re: grab a file from location and save it to server

2002-02-25 Thread Henrik Hansen
[EMAIL PROTECTED] (Mike Krisher) wrote: > Is there a way with PHP to grab a file from an external server > (http://www.domain.com/image.jpg) and save/upload it onto my local server? use fopen() -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:/

[PHP] How many files can be in one directory?

2002-02-25 Thread Andy
Hi there, I am building a web application which is storing pictures. Is there a limit of files in one directory on LINUX systems? Perhaps it might end in a problem after having 3 files in the same dir? Performance issues ore something else. Has anybody got experiance on that? Thanx for any

Re: [PHP] Converting arrays

2002-02-25 Thread Simon Willison
Gary wrote: > Hi All, > I am not too bad at building arrays in php but I need to convert a > javascript form into php. How wuld I conver the small snippit here? > > var d = new Array(), l = new Array(); > l[0] = new Array(1, -360, 1, "CHICAGO"); > l[1] = new Array(1, -420, 1, "EDMONTON"); > l[2

Re: [PHP] Converting arrays

2002-02-25 Thread Jason Lotito
$d = array(); $l = array(); $l[0] = array(1, -360, 1, "CHICAGO"); $l[1] = array(1, -420, 1, "EDMONTON"); $l[2] = array(1, -540, 1, "FAIRBANKS"); - Original Message - From: "Gary" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 25, 2002 4:15 PM Subject: [PHP] Converting

[PHP] Re: SOAP status

2002-02-25 Thread Henrik Hansen
[EMAIL PROTECTED] (Robert Mena) wrote: > Hi, > > I was wondering if anyone has developed web services > using SOAP with php. I'd like to use it in a future > project but was wondering which "tools" (classes, > exemples) do we have and how stable are they. I think something is cooking in t

[PHP] Apache is not parsing my php...sometimes...

2002-02-25 Thread Kevin Halverson
I've got an exceedingly wierd issue. I'm running a default installation of Linux Slackware 8.0. I've got the apache and mod_php modules installed. If I access my php document as follows, everything is parsed correctly: http://www.example.net/mypage.php However, if I access the page wit

[PHP] Re: sometimes browser just recieves half the page

2002-02-25 Thread Gary
[EMAIL PROTECTED] wrote: >Gary wrote: > >> >>John Ericson wrote: >> >>>Im programming a page where I have a java-tree-menu that gets generated >>>from a db. The code works perfectly but sometimes when a browser reads the >>>page I just get half of the page. I have noticed this behaivour on many

[PHP] Re: [PHP-DEV] SAP DB

2002-02-25 Thread Alex Black
> SAP DB is just another name for AdabasD from a programmers point of view- Ah, cool. > http://www.php.net/manual/en/ref.odbc.php Well, yes. > " In addition to normal ODBC support, the Unified ODBC functions in PHP allow > you to access several databases that have borrowed the semantics of th

[PHP] downloading text files stored in database?

2002-02-25 Thread Lee P Reilly
Hi, I wonder if someone can point me in the direction of an example and / or some documentation for the following task: I have a DB table containing the name and contents of plain text files that users have uploaded. I have a facility which allows users to view these, but I would also like the u

Re: [PHP] when to use htmlspecialchars()

2002-02-25 Thread Stewart G.
If you will be using the data elsewhere then use it when it is displayed on the screen, or your other program will have to parse it. It is a good idea to always run htmlspecialchars when outputting text to the browser that came from a form. -- Stewart On Mon, 25 Feb 2002, Erik Price wrote: >

Re: [PHP] PHP Forms

2002-02-25 Thread Stewart G.
Your submit button does not have name="submit" set. So $submit is never being set. Also your html is full of errors, I would clean that up and put it thru a validator, try html tidy (www.w3c.org). And, make sure that formvalidation() is passing true, is that fails the form will never be submi

[PHP] when to use htmlspecialchars()

2002-02-25 Thread Erik Price
I was wondering if anyone could give me some advice in deciding the most appropriate time to use htmlspecialchars(): When user input is accepted and error-checked and ready to be inserted into the database? Or when user input is pulled from the database and ready to be displayed to the screen

Re: [PHP] PHP Forms

2002-02-25 Thread Jason Wong
On Tuesday 26 February 2002 02:31, Chiew, Richard wrote: > I have the following php code to asks for a new student to fill out a > registration form. Using php, take what the user enters and put it into > the "students" table. But when i select * from students in mysql, it > didn't show, why?

RE: [PHP] Re: php - assigning date variables

2002-02-25 Thread Craig Westerman
Joe, I don't want to change the query itself like you show. I want to use this query $query = "" mysql_query("SELECT * FROM table WHERE date LIKE '%". $query ."%'"); and change only the variable $query = "" I use $query throughout script for other things. Thanks Craig ><> [EMAIL PROT

[PHP] php, win32, xml bug?

2002-02-25 Thread Alexander Gräf
hi, when im using i get Sablotron error on line 1: unknown encoding 'ISO-8859-1' in on line ... but i think iso-8859-1, utf-8, etc. support must be build in. in addition, when i try to include an external xsl with or a xml file with "document()", no matter what encoding the target-file

Re: [PHP] Why Remember Session ??

2002-02-25 Thread William Lovaton
Well, you have to destroy the session... see session_destroy() I never tried this, but you can call a PHP script on the onUnLoad event of the body page... so when the window is closed, it calls a given script and this script destroy the session. William. El lun, 25-02-2002 a las 12:29, Beta e

[PHP] SOAP status

2002-02-25 Thread Robert Mena
Hi, I was wondering if anyone has developed web services using SOAP with php. I'd like to use it in a future project but was wondering which "tools" (classes, exemples) do we have and how stable are they. regards, Rt. __ Do You Yahoo!? Yahoo! Sp

[PHP] Re: php - assigning date variables

2002-02-25 Thread Lerp
Hi there :) 1. mysql_query("SELECT * FROM table WHERE date ='$mydate'"); # where date is same 2. mysql_query("SELECT * FROM table WHERE date > '$mydate'"); # where date is newer 3. mysql_query("SELECT * FROM table WHERE date < '$mydate'"); # where date is older 4.mysql_query("SELECT * FROM t

[PHP] magic_quotes_gpc

2002-02-25 Thread Tim Thorburn
Hi, Is it possible to activate magic_quotes_gpc on a server running PHP 3.0.16 without the php.ini settings being physically altered? I ask became my hosting company is hesitant to activate it for some unknown reason - however without it I cannot enter information into a database for a conten

[PHP] php - assigning date variables

2002-02-25 Thread Craig Westerman
$query = "" mysql_query("SELECT * FROM table WHERE date LIKE '%". $query ."%'"); // returns all items in database $query = "2001-01-01" mysql_query("SELECT * FROM table WHERE date LIKE '%". $query ."%'"); // returns all rows that have 2001-01-01 as the date What is proper way to define a varia

Re: [PHP] Fetching the values from previous page

2002-02-25 Thread Batara Kesuma
On Mon, 25 Feb 2002 10:04:07 -0800 Steven Walker <[EMAIL PROTECTED]> wrote: > Dear Batara, > > There are global variables that serve this purpose. You must have > register_globals turned on: > > http://www.php.net/manual/en/language.variables.predefined.php > $_POST > An associative array of v

Re: [PHP] Re: GD - dynamic PNG generation

2002-02-25 Thread Conor McTernan
hmm, sounds like a good idea, i'll give it a try. it seems too, that if i dont break up my text, i.e. print all of it in one long line, it runs a lot faster i'm running this under Win2k, i got a PIII i dunno how many mhz(it's a college PC, and everything is locked down on me) but i'd guess at

[PHP] PHP Forms

2002-02-25 Thread Chiew, Richard
I have the following php code to asks for a new student to fill out a registration form. Using php, take what the user enters and put it into the "students" table. But when i select * from students in mysql, it didn't show, why? REGISTRATION FORM REQUIRED QUESTIONS:

[PHP] Re: GD - dynamic PNG generation

2002-02-25 Thread Michael Kimsal
Holy cow that's a big graphic. 20 seconds does sound a tad long, but might not be depending on the server and memory - what are the specs? What might possibly speed it up a bit is to create multiple small versions first (20 one line graphics, for example) and build them all together at the en

Re: [PHP] HTML Email Has Random '!'

2002-02-25 Thread Steven Walker
Thanks Martin, That was indeed the problem! I simply added a '\n' to the end of each line. And since html doesn't recognize it, it does no harm to the formatting. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] On Sunday, February 24, 2002, at 06:26 PM, Martin Towell

Re: [PHP] Fetching the values from previous page

2002-02-25 Thread Steven Walker
Dear Batara, There are global variables that serve this purpose. You must have register_globals turned on: http://www.php.net/manual/en/language.variables.predefined.php $_POST An associative array of variables passed to the current script via the HTTP POST method. Automatically global in any

[PHP] Option for Serial or Comm port communication with PHP?

2002-02-25 Thread Ken Lancaster
Hi everyone, I was hoping to work on a hairbrained idea that would allow me to use php to control an X10 or other serial device (security system, irrigation controller, etc,). I have read several hints at using the fopen function to do serial communications but these posts were a year old. Is

Re: [PHP] writing files with php

2002-02-25 Thread Steven Walker
Try: SITE CHMOD 666 filename Also be sure that the file name in PHP matches the exact file name on disk. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] On Monday, February 25, 2002, at 12:36 AM, Sven Jacobs wrote: > Hey > > How can I create files with php, I've tried

[PHP] Fetching the values from previous page

2002-02-25 Thread Batara Kesuma
Hi all, I have a page that post a lot of variables to the next page. It looks like: one two three On next.php I can access all the values through: $f_text1, $f_text2, and an array $f_multiple1. My question is, how can I pack all of these variables from previous page _without_knowing_ t

RE: [PHP] Using sessions

2002-02-25 Thread Kevin Stone
Just a guess but would using session_register(myvar); instead of registering directly to the global list make any difference? -Original Message- From: Joel Alexandre [mailto:[EMAIL PROTECTED]] Sent: Monday, February 25, 2002 9:39 AM To: Lista de PHP Subject: [PHP] Using sessions i'm h

[PHP] getting the URL of a parent frame

2002-02-25 Thread Unger
Hello! How can i get the url of the main page with a script, that is running in a frame of that page? Thanks, Klaus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Why Remember Session ??

2002-02-25 Thread Beta
BlankHI, i have a problem, When i close the browser the session is NOT killed, when i enter the page that requires login i can enter the page that was previosly entered via login (but i closed it). So it remembers session or cookies i don't know. How to prevent this, How to kill the session when

[PHP] Creating a installer...

2002-02-25 Thread Sascha Ragtschaa
Just curious to know if someone already has a approach on that... Are there any experiences on a installer for php projects? Sascha Ragtschaa -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] multilanguage support

2002-02-25 Thread ZILBER,LEONID (HP-NewJersey,ex1)
Hi, On our site, we have page with a form a user puts his/her information such as company name, givenname, etc. Currently, if a name entered is anything but English characters, PhP fails. For example, if I enter Norwegian characters lsløæ PhP returns the following errors: "Last name fie

Re: [PHP] bouncy mail();

2002-02-25 Thread annazaraah
hi.. setting a fifth parameter with (-f ) works.. eg. mail($send_email,$subject,$body,$headers,"[EMAIL PROTECTED]"); thanks! - Original Message - From: Jon Haworth <[EMAIL PROTECTED]> Newsgroups: php.general To: 'DigitalKoala' <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, Feb

RE: [PHP] bouncy mail();

2002-02-25 Thread Jon Haworth
> if i set the return-path of a email to be > "[EMAIL PROTECTED]", will bounced be > returned here? You may want to investigate the Errors-To header as well (although you never know your luck - have you tried it?) Cheers Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

Re: [PHP] get out of frameset?

2002-02-25 Thread William Lovaton
try this: Log out or Log out William El lun, 25-02-2002 a las 12:00, Jan Grafström escribió: > Hi! > > I have build a webshop inside a framset using sessions, and move around in > my mainframe. > I wonder how to get out of the mainframe when I logg out and destroy the > session. > It doese

[PHP] images with GD

2002-02-25 Thread Jackson Miller
I have been playing around with creating images in php using GD, and I have some questions for the list. How much more processing power does it take to create an image versus just sending the image? Aside from photo album type apps, how are people using GD? Is GD well suited for navigational im

[PHP] get out of frameset?

2002-02-25 Thread Jan Grafström
Hi! I have build a webshop inside a framset using sessions, and move around in my mainframe. I wonder how to get out of the mainframe when I logg out and destroy the session. It doesen´t work with: Header("Location: /naba/logout.php?".SID."); Can I use target or something with Location? Thanks

[PHP] Re: Delete checked files

2002-02-25 Thread Stefan
make a form, one "delete"-button and put a checkbox before every file. the checkbox's name is 'delete_file['.$filename.']' ... wehen pressed delete open a file which foreach's every entry in delete_file and unlink it. but be careful - this could be a huge security-hole ... + stefan "Nautilis" <

[PHP] Using sessions

2002-02-25 Thread Joel Alexandre
i'm having some trouble using sessions. first of all i have to use php 4.0.6. When i use $HTTP_SESSION_VARS, the session variable isn't being saved. for example: if(!isset($HTTP_SESSION_VARS['id'])){ $HTTP_SESSION_VARS['id'] = 0; } else{ $HTTP_SESSION_VARS['id']++; } echo $H

[PHP] Q: sessions in a switch block not working

2002-02-25 Thread Joe Rice
Hello, I'm hoping to get some help with a sessions problem i've ran into. track_vars is enabled and register_globals is off. i'm using PHP 4.0.6 and custom session handlers with ADODB connecting to mysql. at the top: session_start(); if (!isset($HTTP_SESSION_VARS["old_folder"])) { e

[PHP] Re: Has anyone created or called a Web Service from PHP? (SOAP)

2002-02-25 Thread George Whiffen
Yeah, >From php, I've called paybox (http://www.paybox.de), which is a mobile phone based payment service. You exchange transactions with them via xml. They have their own "cartridge" for php, but it's just a perl rewrite and not very wonderful, so I rewrote most of it. The basic approach is s

Re: [PHP] using a mysql temporary table.

2002-02-25 Thread Jeff Bearer
DOH, I always figure it out after I post to the mailing list, the user didn't have create table privileges, that's why it didn't persist in my first attempt to do this with separate queries. On Mon, 2002-02-25 at 10:34, Jeff Bearer wrote: > Hello, > > I'm trying to use a temporary table in mySQ

Re: [PHP] PHP & Frames?

2002-02-25 Thread William Lovaton
You have to pass the params received in index.php to the rest of the pages in the frames... eg: http://mysite.com/index.php?s=1 so, the index.php script will looks something like this: name=menu>"; name=main>"; name=foot>"; William. El lun, 25-02-2002 a las 03:03, Jason Cal

Re: [PHP] Problem about Reading input from a Form

2002-02-25 Thread Stewart G.
OK, Im an idiot, glad I caught myself before someone else did. I didnt see the PHP print statments. :) Follow mikes advice on the register globals, and restarting the server. Or try using $HTTP_POST_VARS['user'] or $_POST['user']. -- Stewart On Mon, 25 Feb 2002, Stewart G. wrote: > Its not

[PHP] Delete checked files

2002-02-25 Thread Nautilis
Hi everybody, I show a list of files that I upload to the user's folder using the next code: $path= "../clients/$user"; $dir = opendir ($root); while ($archivo = readdir ($dir)) { $size = filesize("$path/$filename"); $size = ($size/1024); $s

[PHP] RE: php email question

2002-02-25 Thread Rick Emery
Terry: I forwarded this to php-general list. Perhaps they can answer your question -Original Message- From: Terry Romine [mailto:[EMAIL PROTECTED]] Sent: Monday, February 25, 2002 10:01 AM To: Subject: php email question I am trying to set up a MIME email that would include an HTML and

[PHP] register_shutdown_function

2002-02-25 Thread Stefan
hi, when i use register_shutdown_function in an included or required script, will the function be called after the processing of the included / required script, or after all scripts? i think they are called last, but i'm not sure ... does anyone know? + stefan -- PHP General Mailing List (

Re: [PHP] Re: form submission error trapping

2002-02-25 Thread Stewart G.
You do not need to use javascript. Simple create a form that submits to itself. And check the values, then reprint the form or redirect. Example: \n"; } } if (!empty($err_msg)) print $err_msg; } ?> Hope that helps, -- Stewart On Mon, 18 Feb 2002, George Whiffen wrote: > Jason

[PHP] bouncy mail();

2002-02-25 Thread DigitalKoala
hi folks, if i set the return-path of a email to be "[EMAIL PROTECTED]", will bounced be returned here? thanks! dk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] creating dropdown lists from fetched arrays.

2002-02-25 Thread Jon Haworth
> while ($row = mysql_fetch_array($results){ ITYM while ($row = mysql_fetch_array ($results)) { Cheers Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Problem about Reading input from a Form

2002-02-25 Thread Ford, Mike [LSS]
> -Original Message- > From: Kostas Karadamoglou [mailto:[EMAIL PROTECTED]] > Sent: 25 February 2002 14:35 > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: [PHP] Problem about Reading input from a Form > > > I set the register_globals On in the php.ini file but when i > do php.info

RE: [PHP] using a mysql temporary table.

2002-02-25 Thread Darren Gamble
Good day, I would have to dig around to find the appropriate note in the documentation, however I seem to recall reading that PHP's MySQL wrappers intentially prohibit a user from using semicolons- basically to prevent one's database from being hacked due to a poorly constructed query using user

Re: [PHP] Problem about Reading input from a Form

2002-02-25 Thread Stewart G.
Its not a register_globals issue. You must wrap $user and $address in php print statements rather than just in the html. Your name is . Your address is . That will work with either GET or POST. -- Stewart On Mon, 25 Feb 2002, Kostas Karadamoglou wrote: > I set the register_globals On in the

Re: [PHP] creating dropdown lists from fetched arrays.

2002-02-25 Thread William Lovaton
El dom, 24-02-2002 a las 17:39, Matthew Darcy escribió: > Hi, > > I want to create a dropdown list with options from a table. > > ie > > > > > $sql_select = "select * from dropdown_options"; > $results = mysql_query($sql_select); > > while ($row = mysql_fetch_array($results); > { > e

  1   2   >