[PHP] Re: Want to exclude first 10 records from table

2002-10-15 Thread arvind
Try this, To retrieve all rows from a certain offset upto the end of the result set, you can use -1 for the second parameter: mysql> SELECT * FROM table LIMIT 95,-1; # Retrieve rows 96-last. "Manisha" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am having

Re: [PHP] Want to exclude first 10 records from table

2002-10-15 Thread Jason Wong
On Wednesday 16 October 2002 14:44, Manisha wrote: > I am having forum table. First 10 records are treated as Current postings > and rest are treated as Archive. > > I know how to take first 10 > > select * from forum order by postdate desc LIMIT 10 > > But I do not know how to take postings exclu

[PHP] file upload and php (Not a begginer question!)

2002-10-15 Thread Baroiller Pierre-Emmanuel
Hi, everyone know how to upload files from the browser to your web server using multipart-form method with move_downloaded_file() php function. But... It's a slow method for multiple files & huge files transfert. I'm currently working on a big photo album tool, and I want to provide user the ab

[PHP] Re: Need help with HTTP-Authentication

2002-10-15 Thread BAROILLER
Hi, a simple question.. :) how do you do ? You can use 2 methods : with a .htaccess file on your webserver, updated with your table fields or a direct authentification with http headers and a little bit of php... Tell me more? may be I could help you. Regards, P.E. Baroiller "Davy Obdam" <[EMAI

RE: [PHP] File upload and php... not a beginner question...

2002-10-15 Thread David Freeman
> I'm currently working on a big photo album tool, and I want > to provide user > the ability to upload a lot of jpeg files in one time... > The big problem with form is it's too slow... > > Does anyone know how to by-pass this ( with java or other > tools )? It's primarly slow bec

[PHP] File upload and php... not a beginner question...

2002-10-15 Thread Baroiller Pierre-Emmanuel
Hi, everyone know how to upload files from the browser to your web server using multipart-form method with move_downloaded_file() php function. But... It's a slow method for multiple files & huge files transfert. I'm currently working on a big photo album tool, and I want to provide user the ab

Re: [PHP] Fedex rate calculator

2002-10-15 Thread dwalker
It may be too soon for anyone to have gotten around to the task of putting together a new PHP script for the new rates. Has EVERYTHING changed or just a few things? Will FEDEX help you out? THIS E-MAIL MESSAGE AND ALL ATTACHMENTS TRANSMITTED HEREWITH ARE TRADE SECRET AND/OR CONFIDENTIAL INFORM

[PHP] Want to exclude first 10 records from table

2002-10-15 Thread Manisha
I am having forum table. First 10 records are treated as Current postings and rest are treated as Archive. I know how to take first 10 select * from forum order by postdate desc LIMIT 10 But I do not know how to take postings excluding above 10. I do not want to make use of loop rather I want

Re: [PHP] Fedex rate calculator

2002-10-15 Thread arvind
Hi Dwalker, Fedex has changed the site after sep 22 2002.Most of the scripts i got where for the http://rate.dmz.fedex.com/servlet/RateFinderServlet?orig_country=US&language =english link which does not work any more. Arvind "Dwalker" <[EMAIL PROTECTED]> wrote in message 01c274db$0bbeaae0$d076

[PHP] test

2002-10-15 Thread BAROILLER Pierre-Emmanuel
only to see if i can post messages -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: PHP & XML

2002-10-15 Thread Simon Taylor
To me this is a lot of work and processing for limited benefits, a simple db abstraction layer provides you with a divide between you db queries and the presentation of your site, what benefits do you see in doing this? Cheers Simon -Original Message- From: Alexandru COSTIN [mailto:[EMAIL

[PHP] Re: Option value

2002-10-15 Thread BAROILLER
you can do this with javascript calls. "Uma Shankari T." <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > > > Hello, > > Is it possible to extract the value option which item name selected..for > example i am having list of soap brand in the options..is it possible that

Re: [PHP] Fedex rate calculator

2002-10-15 Thread dwalker
http://www.phpbuilder.com/snippet/detail.php?type=snippet&id=413 THIS E-MAIL MESSAGE AND ALL ATTACHMENTS TRANSMITTED HEREWITH ARE TRADE SECRET AND/OR CONFIDENTIAL INFORMATION INTENDED ONLY FOR THE VIEWING AND USE OF ADDRESSEE. IF THE READER OF THIS MESSAGE IS NOT THE INTENDED RECIPIENT, YOU ARE

[PHP] How to use imap?

2002-10-15 Thread ns_andy
I've imap-2001a.tar downloaded, but don't know how to get it work? I am using Windows 2k , Can I have the steps of installation of imap? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Fedex rate calculator

2002-10-15 Thread dwalker
try this link http://clickit.go2net.com/search?cid=239171&site=srch&area=srch.noncomm.goog le&shape=textlink&cp=dogpile&rawto=http://www.phpbuilder.com/snippet/browse. php%3Fby%3Dcat%26cat%3D11 THIS E-MAIL MESSAGE AND ALL ATTACHMENTS TRANSMITTED HEREWITH ARE TRADE SECRET AND/OR CONFIDENTIAL INF

[PHP] Fedex rate calculator

2002-10-15 Thread arvind
hi all, Where can i get the fedex rate calculator in php for the new fedex site?.Fedex has changed the earlier url for the rates and my old script have stopped working . Anyone can help me out on this ? Thanks @rvi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

[PHP] Option value

2002-10-15 Thread Uma Shankari T.
Hello, Is it possible to extract the value option which item name selected..for example i am having list of soap brand in the options..is it possible that to tell that the user seleced this brand of soap while in the submittion of the form..can any one please tell me how to do this.. Regard

[PHP] Re: Passing string variable to HTML TITLE tag fails within Netscape but works well within IE.

2002-10-15 Thread Owen Prime
Have you considering putting the inside a Cheers, Owen Prime http://www.noggin.com.au Dwalker wrote: > Passing string variable to HTML TITLE tag fails within Netscape but work > well within IE. > > I have a single page consisting of inventory items to be sold. When an > item is selected, it

[PHP] PHP Shopping Carts

2002-10-15 Thread Nick Oostveen
I'm currently looking for a basic, php based shopping cart solution which is flexible (preferably using a template system of some sort), customizable and will allow me to get up and running in a minimum amount of time. I know that there are literally dozens of free or cheap (less than $200) pr

[PHP] Crystal Reports & PHP MySQL

2002-10-15 Thread Webmaster MBTRADINGCO
Hi does anyone knows if Crystal Reports works fine with PHP MySQL Enviroment, or can anyones suggest me a good reporter for PHP MySQL Site? The Vampmaster. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Passing string variable to HTML TITLE tag fails withinNetscape but works well within IE.

2002-10-15 Thread Chris Shiflett
You should give more information about your original problem rather than inquire about any workaround. I don't understand how "passing string variable to html title tag fails within Netscape but work well within IE". dwalker wrote: > Passing string variable to HTML TITLE tag fails within Nets

[PHP] Passing string variable to HTML TITLE tag fails within Netscape but works well within IE.

2002-10-15 Thread dwalker
Passing string variable to HTML TITLE tag fails within Netscape but workwell within IE.I have a single page consisting of inventory items to be sold. When an itemis selected, it passes the product name to a DETAIL page as part of theTITLE tag for the DETAIL page. My problem is: Netscape do

[PHP] Installing PHP 4.2.3 with Apache 2.0.43 on WinXP Home Edition

2002-10-15 Thread Reginald Alex Mullin
Team, I've been trying to get PHP working on my WinXP machine for the past few days now, but have been unsucessful. The Apache web server itself starts and works fine (without PHP), but whenever I try loading the PHP module, it doesn't restart. Instead, I get the following error message: "Th

[PHP] local IP script question

2002-10-15 Thread eriol
I assume this would be easy to accomplish, but I can't seem to figure it out.. I'm running Apache/PHP on my machine (WinXP Pro).. I want to create a local php script that detects my ISP's assigned IP address and add a port to it (e.g.: http://xxx.xxx.xxx.xxx: ).. I often am running SpyAmp (a

RE: [PHP] Creating a variable out of a IF statement

2002-10-15 Thread Ben C.
John, It works...thanks -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 8:34 PM To: 'Ben C.'; [EMAIL PROTECTED] Subject: RE: [PHP] Creating a variable out of a IF statement > What I want to do is have an IF statement which the results w

[PHP] Difference between "$object = new Class" and "$object =& new Class"

2002-10-15 Thread Tim Molendijk
Hi, I'm using a 3rd pary debug class (ErrorHandler - http://www.phpclasses.org/browse.html/package/345.html) in this project I'm working on. For this ErrorHandler class to work it just needs to be instantiated at the beginning of a php file and it will catch the errors, warnings and notices. But

RE: [PHP] Creating a variable out of a IF statement

2002-10-15 Thread John W. Holmes
> What I want to do is have an IF statement which the results would create a > variable. The IF statement is: > > IF ($car == "BMW" AND $model == "530i") echo ("Price is 35,000 dollars"); > > I want the "Price is 35,000 dollars" to be a variable. Please help with > how > to do this. if($car =

[PHP] Creating a variable out of a IF statement

2002-10-15 Thread Ben C.
What I want to do is have an IF statement which the results would create a variable. The IF statement is: IF ($car == "BMW" AND $model == "530i") echo ("Price is 35,000 dollars"); I want the "Price is 35,000 dollars" to be a variable. Please help with how to do this. Thanks, Ben -- PHP Ge

Re: [PHP] how to user

2002-10-15 Thread Rasmus Lerdorf
You need to name it name="fieldname[]" in your HTML and then access each selected value using $_REQUEST['fieldname'][0], $_REQUEST['fieldname'][1], ... -Rasmus On Wed, 16 Oct 2002, Khalid El-Kary wrote: > hi, > If i have a form that has a with multiple="ture" how would i be > able to retireve

Re: [PHP] Sessions: Trigger a new one, Expire an old one

2002-10-15 Thread Jonathan Sharp
Ok, here is my solution: I wanted this to be as self contained as possible: function clean() { /* get name of session & find session id */ $name = ini_get('session.name'); $sessid = ( !$_COOKIE[$name] ? ( !$_GET[$name] ? ( !$_POST[$name] ? fa

Re: [PHP] Sessions: Trigger a new one, Expire an old one

2002-10-15 Thread Chris Shiflett
Yeah, John hinted at the answer there. You just need to make the session ID go away prior to starting the session . Just unset it or set it to the empty string or whatever you want to do. It is probably either $_COOKIE["PHPSESSID"] or $_GET["PHPSESSID"]. Chris John W. Holmes wrote: >>"Simpl

RE: [PHP] Sessions: Trigger a new one, Expire an old one

2002-10-15 Thread John W. Holmes
> "Simple" question. If a users session expires or has timed out, how do I > 'force' php to generate a new sessionId? > > I wrote a handler that stores sessions into a mysql table, and am able > to test if it has expired or not. But how do I get php to start a new one? Session_start() ?? If the

[PHP] Sessions: Trigger a new one, Expire an old one

2002-10-15 Thread Jonathan Sharp
"Simple" question. If a users session expires or has timed out, how do I 'force' php to generate a new sessionId? I wrote a handler that stores sessions into a mysql table, and am able to test if it has expired or not. But how do I get php to start a new one? -js -- PHP General Mailing List

RE: [PHP] how to user

2002-10-15 Thread John W. Holmes
> -Original Message- > From: John W. Holmes [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 15, 2002 9:36 PM > To: 'Khalid El-Kary'; [EMAIL PROTECTED] > Subject: RE: [PHP] how to user > > > hi, > > If i have a form that has a with multiple="ture" how would i > be > > able to retir

Re: [PHP] how to user

2002-10-15 Thread Jonathan Sharp
If I remember correctly, you must set the name field with [] to make it an array. Example: then $foo is an array of the selections. -js Khalid El-Kary wrote: > hi, > If i have a form that has a with multiple="ture" how would i be > able to retireve it's multiple values in the PHP script, i

[PHP] Re: how to user

2002-10-15 Thread Owen Prime
Heres an example from the Variables from outside PHP section of the PHP docs. Warthog Guinness Stuttgarter Schwabenbräu So basically you need to add the [] to the name. So in this example your results will come back as an array: $beer = array("warth

Re: [PHP] how to user

2002-10-15 Thread Chris Wesley
On Wed, 16 Oct 2002, Khalid El-Kary wrote: > If i have a form that has a with multiple="ture" how would i be > able to retireve it's multiple values in the PHP script, i tried the > $_REQUEST['fieldname'] it gave me only the last selected value You need to make sure you get back an array holdin

RE: [PHP] how to user

2002-10-15 Thread John W. Holmes
> hi, > If i have a form that has a with multiple="ture" how would i be > able to retireve it's multiple values in the PHP script, i tried the > $_REQUEST['fieldname'] it gave me only the last selected value > > note: multiple selection is done by holding ctrl :) PHP will make an array for you.

[PHP] how to user

2002-10-15 Thread Khalid El-Kary
hi, If i have a form that has a with multiple="ture" how would i be able to retireve it's multiple values in the PHP script, i tried the $_REQUEST['fieldname'] it gave me only the last selected value note: multiple selection is done by holding ctrl :) khalid ___

Re: [PHP] Authentication: HTTP or homegrown?

2002-10-15 Thread Chris Shiflett
Jackson, It really depends on what you are wanting to protect, but in most cases, it is better to use a "homegrown" solution. If you are interested in why I say this, read on ... HTTP authentication has two breeds, basic and digest. With basic, the *authentication* credentials (e.g., name and

Re: [PHP] $_SESSION

2002-10-15 Thread Gary
John W. Holmes wrote: >>Hi All, >> still trying to update old code. Am I using $_SESSION properly? >> >> >> if (mysql_num_rows($res) ==1){ >> /* If correct start session*/ >>session_start(); >>$_SESSION['SESSION_UNAME']; >>$SESSION_UNAME = $user; >> >>header("Location: welcome.php"); >>

RE: [PHP] passing mysql_error() out put to a different page?

2002-10-15 Thread John W. Holmes
> Just wanted to say thanks to both Brad and John for their help i got it > going with the following No problem... > > function new_user() { > >$res = mysql_query("..."); > if ($res == FALSE) > { > $error = mysql_error(); > $_SESSION['mysqlerror'] = $error; > Header("Locatio

RE: [PHP] passing mysql_error() out put to a different page?

2002-10-15 Thread John W. Holmes
> Well, the die() function takes a limited number of parameters, which as > you > noted is why it doesn't like the assignment of the mysql_error() and the > header > statements both inside the die() function. So, why not something like > this: > > $res = mysql_query(.); > if ($res == FALSE)

RE: [PHP] passing mysql_error() out put to a different page?

2002-10-15 Thread Peter Houchin
Just wanted to say thanks to both Brad and John for their help i got it going with the following function new_user() { $res = mysql_query("..."); if ($res == FALSE) { $error = mysql_error(); $_SESSION['mysqlerror'] = $error; Header("Location: logerror.php?op=insert_error"); }

RE: [PHP] $_SESSION

2002-10-15 Thread John W. Holmes
> Hi All, >still trying to update old code. Am I using $_SESSION properly? > > >if (mysql_num_rows($res) ==1){ >/* If correct start session*/ > session_start(); > $_SESSION['SESSION_UNAME']; > $SESSION_UNAME = $user; > > header("Location: welcome.php"); > mysql_free_result ($r

Re: [PHP] $_SESSION

2002-10-15 Thread Rasmus Lerdorf
> Hi All, >still trying to update old code. Am I using $_SESSION properly? > > >if (mysql_num_rows($res) ==1){ >/* If correct start session*/ > session_start(); > $_SESSION['SESSION_UNAME']; > $SESSION_UNAME = $user; Instead of those two lines, use: $_SESSION['SESSION_UNAME'] = $u

[PHP] $_SESSION

2002-10-15 Thread Gary
Hi All, still trying to update old code. Am I using $_SESSION properly? if (mysql_num_rows($res) ==1){ /* If correct start session*/ session_start(); $_SESSION['SESSION_UNAME']; $SESSION_UNAME = $user; header("Location: welcome.php"); mysql_free_result ($res); TIA Gary

Re: [PHP] Re: Another odd file problem / Limit on File uploads?

2002-10-15 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 15 October 2002 04:45 pm, David Freeman wrote: > How large are the files you're using for testing? Try repeating the > test with files under 1k and see if the result is different. You might > be running into a page timeout rather than fil

Re: [PHP] PHP & XML

2002-10-15 Thread Rick Widmer
At 09:25 AM 10/15/02 -0500, Chris Boget wrote: > Do you realize more benifit for the back end > processes when using XML that makes any additional time it takes > to display a page to the user worth it? Just ask the user if they really want to wait longer for something they can't even see,

Re: [PHP] PHP & XML

2002-10-15 Thread .: B i g D o g :.
On Tue, 2002-10-15 at 15:03, Chris Boget wrote: > > Here are some ideas you might want to review these options: > > Other people have suggested variations of the below so I'll just respond > here to cut down on the bandwidth. > > > 1. Try storing the data in the database as xml files them selve

Re: [PHP] PHP & XML

2002-10-15 Thread Rick Widmer
At 09:25 AM 10/15/02 -0500, Chris Boget wrote: >Let me preface this by saying that I know the benefits of using >XML It seems to me most of the benefits of XML actually go to the hardware and network suppliers. They get to sell you bigger storage for the bloated data, faster processors for the m

Re: [PHP] passing mysql_error() out put to a different page?

2002-10-15 Thread Brad Bonkoski
Well, the die() function takes a limited number of parameters, which as you noted is why it doesn't like the assignment of the mysql_error() and the header statements both inside the die() function. So, why not something like this: $res = mysql_query(.); if ($res == FALSE) //which is what I

Re: [PHP] Re: Another odd file problem / Limit on File uploads?

2002-10-15 Thread Jason Young
Well... you asked for it :D Here's the code: Key: When the user puts the URL or clicks the "Browse" button, they're required to hit the "Show Picture" button. This puts that picture into the 'pic[]' img space, and enables picInc[]. I didn't bother putting the javascript function picShow in her

RE: [PHP] Re: Another odd file problem / Limit on File uploads?

2002-10-15 Thread David Freeman
> post_max_size = 10M > upload_max_filesize = 8M > memory_limit = 8M > > As I said before, however.. even without throwing files > there, my loop > test code only spits out '01234', meaning that its only > looping 5 times > through the code before exiting... Does file handling only

Re: [PHP] PHP & XML

2002-10-15 Thread Chris Boget
> Here are some ideas you might want to review these options: Other people have suggested variations of the below so I'll just respond here to cut down on the bandwidth. > 1. Try storing the data in the database as xml files them selves. You > then do not have to create the xml file. This wil

Re: [PHP] PHP & XML

2002-10-15 Thread .: B i g D o g :.
Chris, Here are some ideas you might want to review these options: 1. Try storing the data in the database as xml files them selves. You then do not have to create the xml file. This will no doubt increase your database size. 2. Store your xml templates in the database for faster retrieval.

Re: [PHP] Re: Another odd file problem / Limit on File uploads?

2002-10-15 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey, AFAIK, There is no "limit" on the amount of files that can be uploaded at once. Could you post the html code for the form? Note: The post_max_size should be larger than the upload_max_filesize & the memory limit has to be larger than the post_m

Re: [PHP] PHP & XML

2002-10-15 Thread Geoff Hankerson
A few ideas: 1. I have been setting up a system to do almost exactly what you are doing (database --> xml --> xslt-->html via a custom class) and have not noticed any significant performance hit, but this is not in production so your mileage may vary, but my gut feeling is the performance hit i

Re: [PHP] Re: Another odd file problem / Limit on File uploads?

2002-10-15 Thread Jason Young
Sure.. post_max_size = 10M upload_max_filesize = 8M memory_limit = 8M As I said before, however.. even without throwing files there, my loop test code only spits out '01234', meaning that its only looping 5 times through the code before exiting... Does file handling only allow for 5 files at

Re: [PHP] Re: Another odd file problem / Limit on File uploads?

2002-10-15 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Can you post the values of the post_max_size, upload_max_filesize, & memory limit ini settings? ~Paul On Tuesday 15 October 2002 03:21 pm, Jason Young wrote: > Can't anyone help me with this? :-/ > > Read below... > > I wrote: > > Hey yet again... >

[PHP] Re: Another odd file problem / Limit on File uploads?

2002-10-15 Thread Jason Young
Can't anyone help me with this? :-/ Read below... I wrote: > Hey yet again... > > I've got a 3x3 grid of type 'file' input elements, for a nifty total of > 9 upload spaces.. > > After specifying a file in all 9, and attempting upload, I only got 5.. > I noticed the total filesize was 2 megs, so

RE: [PHP] Help Needed

2002-10-15 Thread Carl Brandenburg
But then you would have to rely on the end user having a working email client and working email account. Plus with submitting to a PHP script you can process and format the form to fit your exact needs. Carl -Original Message- From: Chris Boget [mailto:[EMAIL PROTECTED]] Sent: Tuesday, O

[PHP] Need help with HTTP-Authentication

2002-10-15 Thread Davy Obdam
Hi People,. I have a problem with HTTP-Authentication, i have 2 users in my database, and i want both to be able to login. However it works, but only the first user is able to login. I Use a MySQL 3.23.xx database, PHP 4.2.3 and Apache 2.0.40. Can anyone help me with this, any help would be great

Re: [PHP] odbc_exec() act funny.....

2002-10-15 Thread Scott Fletcher
When I try to do the two seperate SQL command with the 2nd odbc execution right after the 1st odbc execution. It work fine. Weird!! --clip-- //SQL Command #1 $ask = "SELECT * FROM CUSTOMERS "; $ask .= "WHERE CUSTOMERS.CUSTOMER_ID = '".$_POST['Customer_Id']."'"; //SQL Command #2

Re: [PHP] odbc_exec() act funny.....

2002-10-15 Thread Scott Fletcher
clip $database = "ECBI_DB"; $user = "db2inst1"; $pass = "ibmdb2"; $cid = @odbc_connect($database,$user,$pass) or die("Unable to connect to Database !!!") ; $ask = "SELECT * FROM CUSTOMERS, USERS "; $ask .= "WHERE CUSTOMERS.CUSTOMER_ID = '".$_POST['Customer_Id']."

RE: [PHP] odbc_exec() act funny.....

2002-10-15 Thread Jay Blanchard
[snip] With odbc_exec() function, it is able to execute and retrieve the data pretty well. Unfortunately, when the number of fields grow and grow then the odbc_exec() return false and a blank data. I don't get it! When I run the SQL command through the database interface, it work like a charm.

RE: [PHP] odbc_exec() act funny.....

2002-10-15 Thread Jay Blanchard
[snip] With odbc_exec() function, it is able to execute and retrieve the data pretty well. Unfortunately, when the number of fields grow and grow then the odbc_exec() return false and a blank data. I don't get it! When I run the SQL command through the database interface, it work like a charm.

Re: [PHP] Help Needed

2002-10-15 Thread Chris Boget
> The easiest way to do this would be to have your survey be a basic HTML > page. Then use a single PHP processing page. You could just write the value > of $_POST to a variable and send that in your email. > $string = implode("\n",$_POST); > mail($to,$subject,$string); Correct me if I'm mistaken

[PHP] odbc_exec() act funny.....

2002-10-15 Thread Scott Fletcher
With odbc_exec() function, it is able to execute and retrieve the data pretty well. Unfortunately, when the number of fields grow and grow then the odbc_exec() return false and a blank data. I don't get it! When I run the SQL command through the database interface, it work like a charm. So, it

Re: [PHP] Help Needed

2002-10-15 Thread Jennifer Swofford
--- Pushpinder Singh Garcha <[EMAIL PROTECTED]> wrote: > Hi > > I am trying to create an online survey using PHP > ...I am using MySQL as > the database and MAC OS Jaguar. I do not need the > results to be added to > the database. I need to be able to send the results > of the survey to an > email

Re: [PHP] Help Needed

2002-10-15 Thread 1LT John W. Holmes
> I am trying to create an online survey using PHP ...I am using MySQL as > the database and MAC OS Jaguar. I do not need the results to be added to > the database. I need to be able to send the results of the survey to an > email addressI know that this is possible using MS FrontPage but > wi

[PHP] Help Needed

2002-10-15 Thread Pushpinder Singh Garcha
Hi I am trying to create an online survey using PHP ...I am using MySQL as the database and MAC OS Jaguar. I do not need the results to be added to the database. I need to be able to send the results of the survey to an email addressI know that this is possible using MS FrontPage but with

RE: [PHP] WYSIWYG HTML Editor

2002-10-15 Thread Clint Tredway
Look at www.editworkspro.com I have used this one and I like it a lot and it was easy to install. -Original Message- From: Jadiel Flores [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 12:23 PM To: Chris Boget; PHP General Subject: Re: [PHP] WYSIWYG HTML Editor They have dif

Re: [PHP] show a file

2002-10-15 Thread Kevin Stone
I may be wrong about this as I have little experience dealing with binary files. But I do not blieve that Content-Type: application/x acts like a universial content type. It seems to me that you're going to have to build in a conditional that sets the appropriate Content-Type: based on the file

Re: [PHP] WYSIWYG HTML Editor

2002-10-15 Thread Jadiel Flores
They have different versions of this app, one for CF, another one for php, another one for ASP, you have to buy it for php if that's what you want, personally I don't like the php version, it's a little bit difficult to install, but, because we bought the CF version I changed the code from CF

[PHP] show a file

2002-10-15 Thread Félix García Renedo
Hello, I have to show a file pdf in a browser but its name in the filesystem is something like "name_file.file" and the file is word, pdf, gif, etc I tried to do: http://domain.org/path/to/file/'; $file = "name_file.file"; header('Content-Type: application/x'); header('

Re: [PHP] WYSIWYG HTML Editor

2002-10-15 Thread Chris Boget
> Check at cfdev.com they have a WYSIWYG editor for coldfusion and php, the > name is active edit, I found this tool very useful for some sites, the > price is a little bit high but you can get the source code and make some > changes. Thanks, i'll check it out. But it requires ColdFusion to be

Re: [PHP] WYSIWYG HTML Editor

2002-10-15 Thread Chris Boget
> Well, maybe not something written in PHP. Java perhaps... I was hoping to avoid java (though JS wouldn't be out of the question). But it looks more and more that it'll have to be. I was hoping for something fairly simple. *shrug* Chris -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] WYSIWYG HTML Editor

2002-10-15 Thread @ Edwin
Well, maybe not something written in PHP. Java perhaps... - E On Wednesday, October 16, 2002 1:46 AM Chris Boget wrote: > I've gone to PHPBuilder and PHPClasses and unless I > totally missed something like it (a distinct possiblity :p), > does anyone know of (or have) a WYSIWYG HTML > editor t

Re: [PHP] WYSIWYG HTML Editor

2002-10-15 Thread Adam Voigt
Theres a properitory Microsoft tag you can add to a frame in a frameset, which will make little virtual editor. I guess you could look on microsoft.com for it, but it doesn't work on anything but I.E. 5.5 and later I believe. Adam Voigt [EMAIL PROTECTED] On Tue, 2002-10-15 at 12:46, Chris Boget

Re: [PHP] WYSIWYG HTML Editor

2002-10-15 Thread Jadiel Flores
Check at cfdev.com they have a WYSIWYG editor for coldfusion and php, the name is active edit, I found this tool very useful for some sites, the price is a little bit high but you can get the source code and make some changes. At 11:46 AM 10/15/2002 -0500, Chris Boget wrote: >I've gone to PHPB

Re: [PHP] Session problem

2002-10-15 Thread Jonathan Sharp
I believe it's a cookie issue, as when I hard code in an active session: http://linuxserver.pergelcrm.com/count.php?PHPSESSID=7bf48f99e86e2d3d401c57c4f39dabbc it counts correctly. Oops! Try this... session.cookie_domain=linuxserver.pergelcrm.com NOT www.cardiologicforum.com Cheers, -js Ferhat

[PHP] WYSIWYG HTML Editor

2002-10-15 Thread Chris Boget
I've gone to PHPBuilder and PHPClasses and unless I totally missed something like it (a distinct possiblity :p), does anyone know of (or have) a WYSIWYG HTML editor that you can implement in a browser? I'm curious... Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

[PHP] Re: PHP & XML

2002-10-15 Thread Alexandru COSTIN
Hello, Most of what you are looking for is already implemented and fully working in our Krysalis Professional platform. We help you create dynamic XML files, we provide you reusable taglibs to avoid rewriting similar code multiple times, wr provide various levels of caching and many more. P

[PHP] Authentication: HTTP or homegrown?

2002-10-15 Thread Jackson Miller
I am curious what method of authentication is preferred by people on this list. Are you using PHP scripts for authentication and limiting access, or are you using HTTP header info. Maybe it is best to use both. For my sites I usually store user info in a database and use php and sessions to aut

RE: [PHP] to connect an access database,

2002-10-15 Thread Negretti, John (CCI-San Diego)
Andy, As, Jon stated, you would need to use the built-in ODBC functions of PHP. Keep in mind that "SQL Statements" are NOT the same as for MySQL. There are plenty of resources on the internet that show you how to format your SQL Statements just for Microsoft Access. John Negretti We

[PHP] The hunt for PHP Developers [job applicant search]

2002-10-15 Thread Dan Hardiker
Hi, [sorry about this being kinda off topic, but hey :P if anyone knows of a more appropriate place - let me know!] I am looking for prospective employee's which a high level of PHP experiance, with an interest in learning Java in the next few months. Before I continue - the position is onsite

Re: [PHP] Session problem

2002-10-15 Thread Ferhat Can
Thank you for replying Jonathan, I set the session.cookie_domain in php.ini but it didn't work. I have too many session files in my /tmp directory. Everytime I refresh the page a new session file is created unfortunately. Ferhat Can - Original Message - From: "Jonathan Shar

RE: [PHP] Win 98 Apache - Directory style Query Strings on PHP Files without extensions

2002-10-15 Thread Ford, Mike [LSS]
> -Original Message- > From: Andy White [mailto:[EMAIL PROTECTED]] > Sent: 15 October 2002 16:08 > To: [EMAIL PROTECTED] > > I'm trying to allow my Apache webserver, on Win 98 to run PHP > files without > extensions. > > Where the file is "index" without an extension and "xxx" and > "y

Re: [PHP] Session problem

2002-10-15 Thread Jonathan Sharp
Try setting the session.domain in your php.ini... -js Ferhat Can wrote: > Dear All, > I have a problem and need your help. I use PHP 4.2.3, Apache 1.3.27 and > a local version of Red Hat. Here is the problem: I have a web site that > depends on Session, but the Session ID seems to be regnerate

Re: [PHP] Session problem

2002-10-15 Thread Jonathan Sharp
Sorry... session.cookie_domain in php.ini Make sure you can also write to /tmp -js Ferhat Can wrote: > Dear All, > I have a problem and need your help. I use PHP 4.2.3, Apache 1.3.27 and > a local version of Red Hat. Here is the problem: I have a web site that > depends on Session, but the Se

[PHP] Session problem

2002-10-15 Thread Ferhat Can
Dear All, I have a problem and need your help. I use PHP 4.2.3, Apache 1.3.27 and a local version of Red Hat. Here is the problem: I have a web site that depends on Session, but the Session ID seems to be regnerated evertime I refresh the page. I have tried different versions of PHP with differen

RE: [PHP] to connect an access database,

2002-10-15 Thread Jon Haworth
Hi Andy, > which method and object should I use? AFAIK you have to connect over ODBC (unless PHP has grown native Access functions since I last looked). Here's a function that might be of interest: http://www.php.net/manual/en/function.odbc-connect.php > and may I have some related examples?

[PHP] HTTP-authentication

2002-10-15 Thread Davy Obdam
Hiya people, I am building a admin page for a guestbook and i want more people to be able to log in. I have made a table in the database called user(gebruikers) wich keeps both a loginname(loginnaam) and password. I have 2 users in this table right now. Now i ve a problem.. I can login with the f

[PHP] to connect an access database,

2002-10-15 Thread Ns_Andy
which method and object should I use? and may I have some related examples? -- Regards, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Win 98 Apache - Directory style Query Strings on PHP Files without extensions

2002-10-15 Thread Jon Haworth
Hi Andy, > Although http://www.mysite.com/ or http://www.mysite.com/index > work fine, picking up the index file okay http://www.mysite.com/xxx/yyy/ > or http://www.mysite.com/index/xxx/yyy/ come back with internal > server errors. Have a look into mod_rewrite, I think you'll be able to achi

[PHP] Win 98 Apache - Directory style Query Strings on PHP Files without extensions

2002-10-15 Thread Andy White
Hi, I'm trying to allow my Apache webserver, on Win 98 to run PHP files without extensions. This is all working but the second part to the plan involves changing the query string into the format of a directory. e.g. Where the file is "index" without an extension and "xxx" and "yyy" are the sect

Re: [PHP] Adding users to a linux system?

2002-10-15 Thread Shane Wright
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A C wrapper running setuid root? I guess there's less chance of getting a 'bad' username to execute arbitrary commands, but at the same time I wonder about the possiblity of exploiting overflows, but that'd be much harder. (hmm, if the C program

[PHP] Another odd file problem / Limit on File uploads?

2002-10-15 Thread Jason Young
Hey yet again... I've got a 3x3 grid of type 'file' input elements, for a nifty total of 9 upload spaces.. After specifying a file in all 9, and attempting upload, I only got 5.. I noticed the total filesize was 2 megs, so I changed the php.ini to 8.. yet I still got that problem. So I check

Re: [PHP] Adding users to a linux system?

2002-10-15 Thread Tim Monaghan
Is it better to use a c wrapper to do this? thats what Ive always done. Which is more secure? Tim =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Custom Programming Web Programming community & discussion http://www.inter-apps.com - Original Message - From: "Shane Wright" <[EMAIL PROTECTED]> To: <[E

  1   2   >