Re: [PHP] abreviating echo commands

2003-09-15 Thread Eugene Lee
: Kris Yates <[EMAIL PROTECTED]> wrote: : > : > I forget where but I found some source awhile back that abbreviated : > echo. It was something like : > which worked the same as . Maybe it was : > .. Obviously I dont remember.. which is why I am asking.. : > :) Does anyone have a link to so

Re: [PHP] Re: PHP|Con insane pricing

2003-09-15 Thread - Edwin -
Hi, "John W. Holmes" <[EMAIL PROTECTED]> wrote: > Jeremy Brand, B.S. wrote: > > Thanks to everyone for their responses, though I still have not found a > > way to get to the conference at a reasonable price (what I consider > > reasonable). > > > > If anyone has any comments other than justify

Re: [PHP] abreviating echo commands

2003-09-15 Thread - Edwin -
Hi, Kris Yates <[EMAIL PROTECTED]> wrote: > Hello.. > > I forget where but I found some source awhile back that abbreviated > echo. It was something like > which worked the same as . Maybe it was > .. Obviously I dont remember.. which is why I am asking.. > :) Does anyone have a link to

[PHP] [Newbie Guide] For the benefit of new members

2003-09-15 Thread tech
= This message is for the benefit of new subscribers and those new to PHP. Those who do not want to be bothered just filter out the [Newbie Guide] mails. Please feel free to add more points and send to the list. ===

Re: [PHP] Japanese on a page

2003-09-15 Thread - Edwin -
Hi, On Fri, 12 Sep 2003 12:24:33 -0700 "Chris W. Parker" <[EMAIL PROTECTED]> wrote: > (now to the entire list) > > Mark McCulligh > on Friday, September 12, 2003 11:48 AM said: > > > I am trying to create both an English and Japanese version of a site. > > The Eng

Re: [PHP] MySql temporary tables

2003-09-15 Thread andu
On Mon, 15 Sep 2003 22:31:08 -0500 Jackson Miller <[EMAIL PROTECTED]> wrote: > On Monday 15 September 2003 10:26, andu wrote: > > I did this blog where I create a temporary table to store entries while > > editing them (spell checking, preview, etc). The problem I was having is > > that sometimes

Re: [PHP] MySql temporary tables

2003-09-15 Thread Jackson Miller
On Monday 15 September 2003 10:26, andu wrote: > I did this blog where I create a temporary table to store entries while > editing them (spell checking, preview, etc). The problem I was having is > that sometimes the temporary table is created sometimes not. For every > transaction with MySql I use

[PHP] MySql temporary tables

2003-09-15 Thread andu
I did this blog where I create a temporary table to store entries while editing them (spell checking, preview, etc). The problem I was having is that sometimes the temporary table is created sometimes not. For every transaction with MySql I used mysql_pconnect(). Since I changed to using mysql_conn

Re: [PHP] Re: PHP|Con insane pricing

2003-09-15 Thread Dan Anderson
> These gatherings are most likely for people sponsored by their employers, don't > imagine participants come out of it $500 smarter then they went in. If it makes Well I suppose that depends on exactly what you are looking to get out of it. Conferences can be many things. For instance, you have

Re: [PHP] Re: PHP|Con insane pricing

2003-09-15 Thread andu
On Mon, 15 Sep 2003 18:22:05 -0700 "Jeremy Brand, B.S." <[EMAIL PROTECTED]> wrote: > Thanks to everyone for their responses, though I still have not > found a way to get to the conference at a reasonable price (what I > consider reasonable). > > If anyone has any comments other than justifying

Re: [PHP] Re: PHP|Con insane pricing

2003-09-15 Thread Robert Cummings
I've been hearing a lot lately about online donations. People setting up paypal or whatnot accounts to have people donate for new boobies, new clothes, new whatever. Maybe you could set up a paypal donation fund for people to help pay your way there. Now admittedly it's not going to be all the rave

Re: [PHP] PHP|Con insane pricing

2003-09-15 Thread Jeremy Johnstone
Let me also say, that I fully think their price is fair. It's right in line with most other conferences (if not cheaper). I was just clarifying that the $495 price is not all inclusive. I wish I would be able to attend, but unfortunately money is tight right now for me, and I can't afford it. I mos

Re: [PHP] PHP|Con insane pricing

2003-09-15 Thread John W. Holmes
Jeremy Johnstone wrote: Actually the $495 is the conference fee only... It does not include the $160 a night for the hotel room (price of the hotel the conference is at), or food, or transportation. That is just your ticket into the conference. Factor in everything else, and your easily up to $150

RE: [PHP] Re: PHP|Con insane pricing

2003-09-15 Thread Cody Phanekham
> -Original Message- > From: Jeremy Brand, B.S. [mailto:[EMAIL PROTECTED] > actually add value by being there, not only in supporting my > friends who are doing speaking at the conference, maybe ask your friends that are speaking at the conference if they can sneak you in? or get you a

Re: [PHP] PHP|Con insane pricing

2003-09-15 Thread Jeremy Johnstone
Actually the $495 is the conference fee only... It does not include the $160 a night for the hotel room (price of the hotel the conference is at), or food, or transportation. That is just your ticket into the conference. Factor in everything else, and your easily up to $1500-$2000. Using the averag

[PHP] Oracle 8i problem connection with pear

2003-09-15 Thread ORLANDO POZO
Hello, mailing-list people, I need help about connect the RDBMS Oracle8i through PEAR library, look this code Test DB Class - PEAR NAMEPHONEADDRESS //connect require_once('DB.php'); $db =DB::connect("oci8://system:[EMAIL PROTECTED]/orcl"); // message if (DB::iserror($db)) { di

Re: [PHP] Re: PHP|Con insane pricing

2003-09-15 Thread John W. Holmes
Jeremy Brand, B.S. wrote: Thanks to everyone for their responses, though I still have not found a way to get to the conference at a reasonable price (what I consider reasonable). If anyone has any comments other than justifying the price of the conference, like a friends of php list I can get o

[PHP] Re: PHP|Con insane pricing

2003-09-15 Thread Jeremy Brand, B.S.
Thanks to everyone for their responses, though I still have not found a way to get to the conference at a reasonable price (what I consider reasonable). If anyone has any comments other than justifying the price of the conference, like a friends of php list I can get on so I can attend it woul

[PHP] Language filter

2003-09-15 Thread Kris Reid
Hi All I have a website with a standard html form on it. Every now and then some jerk submits the form with some dirty words. This is then seen by my clients which as you can imagine is very unprofessional. I want to build a language filter but can't think of good way of doing in it. The best id

Re: [PHP] Win2K and trans_sid

2003-09-15 Thread Raditha Dissanayake
The only sure fire way to make sure you sessions do not get killed without cookies is to append the session identifier to the end of each link. Adam H. Pendleton wrote: I am running Apache 2.0.47 with PHP 4.3.3 on a Windows 2000 server, and I am having some trouble getting cookie-less sessions

Re: [PHP] How to comment out chunk of html/php mixed code?

2003-09-15 Thread Raditha Dissanayake
Wrong approach all together. Start using CVS Wei Wang wrote: >hi, > >This may sound very newbie. But since html comment uses which doesn't >comment out the >php code. And the php comment /**/ // apparently doesn't work on html. So how do I >comment out >a chunk of html/php mixed code? > > >M

Re: [PHP] simple online form stuck at !isset($first) condition

2003-09-15 Thread Wei Wang
Dear Curt, Thanks a lot. Is this related to the register_global variable as well? I was stuck at the $request_method and $_SERVER['request_method'] for quite a long time. Wei - Original Message - From: "Curt Zirzow" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, Septembe

Re: [PHP] simple online form stuck at !isset($first) condition

2003-09-15 Thread Curt Zirzow
* Thus wrote Wei Wang ([EMAIL PROTECTED]): > > > > note the method -- > First Name: > > > Last Name: > > > > > > > > > if(!isset($first)) { make this if (!isset($_POST['first'])) { see: http://php.net/language.variables http://us3.php.net/register_global

[PHP] simple online form stuck at !isset($first) condition

2003-09-15 Thread Wei Wang
hi, all, I have this code at http://weiwang.freeshell.org/formprac.php and the execution kept stuck at the condition part of: if(!isset($first)) { show_form(); } Even if I input some text into both field and click submit, the execution wouldn't go to any other conditional branch and be

Re: [PHP] mysql_query not returning true on innodb

2003-09-15 Thread daniel
i am doing a straight mysql_query without an autocommit=0 should i be doing an autocommit=0 if i am doing a read ? > Hi there i have a random issue where mysql_query is not returning true > sometimes on an innodb table which will trigger a custom error, this > happens randomly if i go back to that

[PHP] mysql_query not returning true on innodb

2003-09-15 Thread daniel
Hi there i have a random issue where mysql_query is not returning true sometimes on an innodb table which will trigger a custom error, this happens randomly if i go back to that page its fine ?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP|Con insane pricing

2003-09-15 Thread Dan Anderson
> ah like with 4 kids I have nothing better to do than run down and grab a > book and evaluate my parenting skills. It's not about parenting but about money management. It's pretty cool and shows you how to minimize taxes (so the govn't gets less then 40%). > umm I take it you dont have kids and

Re: [PHP] PHP|Con insane pricing

2003-09-15 Thread Curt Zirzow
* Thus wrote Chris Sherwood ([EMAIL PROTECTED]): > and umm socialist system.. umm where you been hiding? > at least I dont live in a police state. ouch :) Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vis

Re: [PHP] PHP|Con insane pricing

2003-09-15 Thread Chris Sherwood
> > Yea its not bad if you dont have a life outside of programming and/or > > computers > Well most professionals who would go to this conference -- IMHO -- would > be doing it because it would be worth while. For instance, I considered > going because if it reduced the time it takes for me to dev

Re: [PHP] PHP|Con insane pricing

2003-09-15 Thread Dan Anderson
> Unless I'm missing out on all the gold (which is a possibility), speakers > usually get a very modest honorarium and their expenses paid. I can't imagine > that speakers are the most significant cost of a conference. Well it does depend on the fame (or infamy) of the speaker. If you want Bill C

Re: [PHP] PHP|Con insane pricing

2003-09-15 Thread Dan Anderson
> Yea its not bad if you dont have a life outside of programming and/or > computers Well most professionals who would go to this conference -- IMHO -- would be doing it because it would be worth while. For instance, I considered going because if it reduced the time it takes for me to develop softw

Re: [PHP] PHP|Con insane pricing

2003-09-15 Thread Chris Shiflett
--- Dan Anderson <[EMAIL PROTECTED]> wrote: > speakers (very pricey), etc. Unless I'm missing out on all the gold (which is a possibility), speakers usually get a very modest honorarium and their expenses paid. I can't imagine that speakers are the most significant cost of a conference. Chris ==

RE: [PHP] PHP|Con insane pricing

2003-09-15 Thread Roger B.A. Klorese
> Yea its not bad if you dont have a life outside of programming and/or > computers > > if you have kids or other responsibilities then all of a > sudden 500$ becomes > a very large issue as thats a months groceries or what not... > > heh yea the average salary is 50K but then when the > govern

Re: [PHP] PHP|Con insane pricing

2003-09-15 Thread Chris Sherwood
Yea its not bad if you dont have a life outside of programming and/or computers if you have kids or other responsibilities then all of a sudden 500$ becomes a very large issue as thats a months groceries or what not... heh yea the average salary is 50K but then when the government takes 40% (if

Re: [PHP] PHP|Con insane pricing

2003-09-15 Thread Dan Anderson
> The pricing seems insane, and geared towards people with lots of > spare money... ::snip:: > but I'm not going to shell out $495 (the cheapest non-student If you consider the average salary for a computer programmer is probably $40k - $50k (at least in the US) this is not insane. (Heck, it's

[PHP] Re: How do I squelch warnings (without editing php.ini)?

2003-09-15 Thread Curt Zirzow
On Mon, 15 Sep 2003 13:20:05 -0400, Dan Anderson <[EMAIL PROTECTED]> wrote: I am running a script that occasionally utters a few warnings when the user does something dumb (but it does not kill the script). Is there a way to turn off warnings within a script? I really don't want my users to see

[PHP] Re: PHP|Con insane pricing

2003-09-15 Thread Curt Zirzow
On Mon, 15 Sep 2003 11:27:37 -0700, Jeremy Brand <[EMAIL PROTECTED]> wrote: Does anyone know a way to attend the PHP|con west as an observer in Santa Clara, CA, US on Oct. 23rd without spending tons of ca$h? I think technically its PHP{con west The pricing seems insane, and geared towards peopl

[PHP] Re: How to comment out chunk of html/php mixed code?

2003-09-15 Thread Curt Zirzow
On Mon, 15 Sep 2003 20:59:53 +0100, Wei Wang <[EMAIL PROTECTED]> wrote: hi, This may sound very newbie. But since html comment uses which doesn't comment out the php code. And the php comment /**/ // apparently doesn't work on html. So how do I comment out a chunk of html/php mixed code? for t

[PHP] Re: MS-SQL 2000 weird problem

2003-09-15 Thread Curt Zirzow
On Mon, 15 Sep 2003 15:21:41 -0300, Martin Greco <[EMAIL PROTECTED]> wrote: Hi everyone. I have a Redhat 8 box with Apache 2.0.40, PHP 4.3.1, FreeTDS 0.61 to work with an MS-SQL2000 server. It works fine and I have no problems but today i found this. When i call specific stored procedures it re

[PHP] Re: Is the "PHP List Automoderator" a spam bot?

2003-09-15 Thread Curt Zirzow
On Mon, 15 Sep 2003 17:49:44 -0400, Dan Anderson <[EMAIL PROTECTED]> wrote: I just got an email from some daemon claiming to be the "PHP List Automoderator" asking me to reply before my e-mail could be sent to the list. I assume that this is a spam bot. Anybody else having this problem? that us

Re: [PHP] multiple FORMS on same page problem.

2003-09-15 Thread Chris Shiflett
--- "Golawala, Moiz M (IndSys, GE Interlogix)" <[EMAIL PROTECTED]> wrote: > I am creating a page with 2 buttons. ... > > > > > > > > ... > I would like to see the variable 'someVal' in the $_POST of both > "page4 Submit" button and "page5 Submit" button. Then put so

[PHP] Is the "PHP List Automoderator" a spam bot?

2003-09-15 Thread Dan Anderson
I just got an email from some daemon claiming to be the "PHP List Automoderator" asking me to reply before my e-mail could be sent to the list. I assume that this is a spam bot. Anybody else having this problem? -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] MS-SQL 2000 weird problem

2003-09-15 Thread Dan Anderson
> Any thoughts? Are you dying and outputting an error where something could happen to bodge up the server? I'm not familiar with MS SQL Server, but I know under mysql: -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] abreviating echo commands

2003-09-15 Thread Kris Yates
Hello.. I forget where but I found some source awhile back that abbreviated echo. It was something like which worked the same as . Maybe it was .. Obviously I dont remember.. which is why I am asking.. :) Does anyone have a link to something that talks about how to abbreviate commands in

Re: [PHP] browser detector (php side)

2003-09-15 Thread Raquel Rice
On Mon, 15 Sep 2003 13:54:19 +0800 "Louie Miranda" <[EMAIL PROTECTED]> wrote: > Im looking for a browser detector and can redirect to a certain > page if its match something. So far phpsniff is the only thing i > found. > > But i didnt got it to work d redirection part. > > any ideas? > > > -

[PHP] MS-SQL 2000 weird problem

2003-09-15 Thread Martin Greco
Hi everyone. I have a Redhat 8 box with Apache 2.0.40, PHP 4.3.1, FreeTDS 0.61 to work with an MS-SQL2000 server. It works fine and I have no problems but today i found this. When i call specific stored procedures it retrieve no rows, and if i paste this query on the Query Analizer it works fine

Re: [PHP] multiple FORMS on same page problem.

2003-09-15 Thread CPT John W. Holmes
You can only use one form, as you've figured out. You can have PHP determine the action for each button, though.. In a form with two buttons, say names "submit1" and "submit2", only one variable will be set when the form is submitted, the actual button that was clicked. So you can use logic like t

RE: [PHP] multiple FORMS on same page problem.

2003-09-15 Thread Vail, Warren
I don't know of any rule that says you cannot have two submit button in the same form. Of course, if you need to know which was clicked, you will either need to name them differently or detect their values in your form processing routine. If the button is clicked that should take you to another

[PHP] Re: passthru causes php to lose internal variables

2003-09-15 Thread exasperated
system() has the same problem as passthru. Thanks for the suggestion anyway. I wonder if I should post this to the bug list? "Nicole" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > Did you try using the system() command instead and skip using exec and > passthru? > > -- >

[PHP] multiple FORMS on same page problem.

2003-09-15 Thread Golawala, Moiz M (IndSys, GE Interlogix)
I am creating a page with 2 buttons. One which will refresh the page and the other that will go to another page. My problem that I need to put all the values into $_POST and have access to when any of the 2 buttons are clicked. If I use the button in 2 seperate form tags I don't have access to a

RE: [PHP] How to comment out chunk of html/php mixed code?

2003-09-15 Thread Jennifer Goodie
> > your mixed html and php code here > > */ ?> > > that way php will take everything inside the tags and > comment them > out, regardless of if they are html or php or whatever. This won't work is your PHP code has comments using /* */ syntax in it already. I always just through an if(false){

Re: [PHP] How to comment out chunk of html/php mixed code?

2003-09-15 Thread Eugene Lee
On Mon, Sep 15, 2003 at 08:59:53PM +0100, Wei Wang wrote: : : This may sound very newbie. But since html comment uses : which doesn't comment out the php code. And the php comment /**/ // : apparently doesn't work on html. So how do I comment out a chunk of : html/php mixed code? Remove the chu

Re: [PHP] How to comment out chunk of html/php mixed code?

2003-09-15 Thread CPT John W. Holmes
From: "Wei Wang" <[EMAIL PROTECTED]> > This may sound very newbie. But since > html comment uses which doesn't > comment out the php code. And the php > comment /**/ // apparently doesn't work > on html. So how do I comment out a > chunk of html/php mixed code? /* and */ appears to work: HTML

Re: [PHP] How to comment out chunk of html/php mixed code?

2003-09-15 Thread Gabriel Guzman
On Monday 15 September 2003 12:59 pm, Wei Wang wrote: > hi, > > This may sound very newbie. But since html comment uses which > doesn't comment out the php code. And the php comment /**/ // apparently > doesn't work on html. So how do I comment out a chunk of html/php mixed > code? probably the e

Re: [PHP] How to comment out chunk of html/php mixed code?

2003-09-15 Thread Robert Cummings
You might try the following: This is untested, I've never had to face the issue. Cheers, Rob. On Mon, 2003-09-15 at 15:59, Wei Wang wrote: > hi, > > This may sound very newbie. But since html comment uses which doesn't > comment out the > php code. And the php comment /**/ // apparently do

[PHP] How to comment out chunk of html/php mixed code?

2003-09-15 Thread Wei Wang
hi, This may sound very newbie. But since html comment uses which doesn't comment out the php code. And the php comment /**/ // apparently doesn't work on html. So how do I comment out a chunk of html/php mixed code? Many thanks, Wei Wang

RE: [PHP] What is wrong with this code ?

2003-09-15 Thread Carl Furst
If should use double equals for comparison.. if ($doWork == 1) { etc here}. Of course doing multiple tests like this you are better off using switch case... Switch ($doWork) { Case 0: Exit; Break; Case 1: DoOne($arguments);

Re: [PHP] What is wrong with this code ?

2003-09-15 Thread Miroslaw Milewski
Daniel Szasz wrote: > What is wrong with this code ? == instead of =. -- miro. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What is wrong with this code ?

2003-09-15 Thread Robert Cummings
On Mon, 2003-09-15 at 15:29, Daniel Szasz wrote: > Hello > > What is wrong with this code ? > > $doWork = $_GET[doWork]; This is sloppy, put the quotes around the key string "doWork". > echo $doWork; > echo ( ""); > if ( $doWork = 0) { You just assigned 0 to $doWork, try using 0 == $doWork >

[PHP] PHP|Con insane pricing

2003-09-15 Thread Jeremy Brand, B.S.
Does anyone know a way to attend the PHP|con west as an observer in Santa Clara, CA, US on Oct. 23rd without spending tons of ca$h? The pricing seems insane, and geared towards people with lots of spare money... I would love to hear specifically the Advanced track on Oct. 23 (Michael Radwin, S

[PHP] What is wrong with this code ?

2003-09-15 Thread Daniel Szasz
Hello What is wrong with this code ? $doWork = $_GET[doWork]; echo $doWork; echo ( ""); if ( $doWork = 0) { exit; } else { if ( $doWork = 1) { ?> http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: installation help

2003-09-15 Thread Shadow
You didn't configure something right. I would go over the install steps again. I installed Foxserv on NT without IIS but I did install 4.3.2 on Windows 2003 server and found the instructions here a god-send. http://www.php.net/manual/en/install.windows.php Basically you need to make sure that php.

Re: [PHP] How do I squelch warnings (without editing php.ini)?

2003-09-15 Thread CPT John W. Holmes
From: "Dan Anderson" <[EMAIL PROTECTED]> > I am running a script that occasionally utters a few warnings when the > user does something dumb (but it does not kill the script). Is there a > way to turn off warnings within a script? I really don't want my users > to see them. Short of fixing you

[PHP] How do I squelch warnings (without editing php.ini)?

2003-09-15 Thread Dan Anderson
I am running a script that occasionally utters a few warnings when the user does something dumb (but it does not kill the script). Is there a way to turn off warnings within a script? I really don't want my users to see them. Thanks in advance, Dan Anderson -- PHP General Mailing List (http:/

RE: [PHP] Using PHP to do something with Acrobat PDF....

2003-09-15 Thread Luis Lebron
I use htmldoc http://www.easysw.com/htmldoc/ to generate pdf files from html documents. Another options is fpdf http://www.fpdf.org. Luis -Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED] Sent: Friday, September 12, 2003 9:11 AM To: [EMAIL PROTECTED] Subject: [PHP] Using

[PHP] Updated PayPal IPN class for PHP

2003-09-15 Thread Jeremy Johnstone
Unfortunately it seems PayPal has broke IPN processing for PHP users recently. This is important news because a good majority of the people using IPN with a PHP script are no longer able to automatically process payments, and PayPal offers nothing to help PHP users who are having trouble. In fact t

[PHP] PEAR::Pager examples

2003-09-15 Thread Mauricio Cuenca
Hello, I've been using the PEAR::DB_Pager class for a while, but looking at the PEAR documentation I saw that there is another database paging class. PEAR::Pager (http://pear.php.net/package/Pager/). It seems to be good, but I couldn't find any documentation about it. Has anyone had any experienc

[PHP] installation help

2003-09-15 Thread Jeremiah Breindel
I was recently involved in installing PHP 4.3.2 on a NT 4 server with IIS 4. We followed all of the installation instructions, but whenever we tried to run a test script through a browser to see if PHP was installed correctly, all the page did was load. And load and load and load. It never displa

[PHP] RE: [SMARTY] Re: dreamweaver extension

2003-09-15 Thread carlos castillo
I would like to know too, where i can get the dreamweaver extension for smarty, thanks! Carlos A. Castillo. Ingeniero de desarrollo [EMAIL PROTECTED] Su Aliado Efectivo en Internet www.imagine.com.co (57 1)2182064 - (57 1)6163218 Bogotá - Colombia _

[PHP] Oracle8i PEAR Connection problem

2003-09-15 Thread ORLANDO POZO
Hello, mailing-list people, I need help about connect the RDBMS Oracle8i through PEAR library, look this code Test DB Class - PEAR NAMEPHONEADDRESS //connect require_once('DB.php'); $db =DB::connect("oci8://system:[EMAIL PROTECTED]/orcl"); // message if (DB::iserror($db)) { die($db->

[PHP] Win2K and trans_sid

2003-09-15 Thread Adam H. Pendleton
I am running Apache 2.0.47 with PHP 4.3.3 on a Windows 2000 server, and I am having some trouble getting cookie-less sessions to work. I've search around trying to figure out how to get this to work, but most of what i have found is people going to other way. To be clear, I am trying to use P

Re: [PHP] FAQ in PHP

2003-09-15 Thread Raditha Dissanayake
Is this part of the 'mailing lists :: guess the missing paragraph' competition? Suresh Babu.A [Support] wrote: Hi Team, How to track a posting in a faq using mysql. Thanks in advance. Suresh A. -- Raditha Dissanayake -- http://www.ra

[PHP] Printing reports

2003-09-15 Thread Hardik Doshi
Hi, >From the different PHP mailing lists archives i found out that printing reports with the PDF is good solution. Let me know if you guys know any better solution for printing the reports. Currently i am testing report module with the FPDF library. My main goal is to print addresses information

[PHP] FAQ in PHP

2003-09-15 Thread Suresh Babu.A [Support]
Hi Team, How to track a posting in a faq using mysql. Thanks in advance. Suresh A. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Header and dfile download bug???

2003-09-15 Thread Curt Zirzow
* Thus wrote [EMAIL PROTECTED] ([EMAIL PROTECTED]): > header("Content-Disposition: attachment; filename=$file"); > header("Content-Length: " . filesize($path)); > header("Content-Type: " . filetype($path)); I didn't see this the first time, you should be calling: mime_content_type()

Re: [PHP] File Types

2003-09-15 Thread Ed Curtis
> Didn't google hard enough :) > > .pm5 application/x-pagemaker > I'd guess that can be extended to pm7 and 65 - I've seen x-pagemaker5 as > well. > > pmd is also pagemaker according to filext.com, as well as some software I've > never heard of. > > QXP is a good one, and you may need to

Re: [PHP] File Types

2003-09-15 Thread Duncan Hill
On Monday 15 Sep 2003 14:23, Ed Curtis wrote: > On Mon, 15 Sep 2003, Raditha Dissanayake wrote: > > You don't need to look any further than mime.types files included in > > your apache distro. > > Did that as well as googled for the list of extensions. Still can't seem > to find the mime type for .

php-general Digest 15 Sep 2003 13:41:11 -0000 Issue 2298

2003-09-15 Thread php-general-digest-help
php-general Digest 15 Sep 2003 13:41:11 - Issue 2298 Topics (messages 162591 through 162631): htmlentities -- can it skip tags 162591 by: Justin French 162592 by: John W. Holmes 162602 by: Justin French 162603 by: Justin French Re: How are variables called in

Re: [PHP] navigation question

2003-09-15 Thread Andre
Thanks for your reaction, You are right about your conclusion how I think the code should work. I am indeed trying to run the script off one server (my_domain1) and then attempting to "feed" the function a directory structure off another server (my_domain2). I suppose the function opendir() only

Re: [PHP] File Types

2003-09-15 Thread Raditha Dissanayake
Having done some coding for the print industry i can tell you that pm7 may be adobe page maker 7 and p65 could be pagemaker 6.5 no idea about qxp and .pmd though. Ed Curtis wrote: On Mon, 15 Sep 2003, Raditha Dissanayake wrote: You don't need to look any further than mime.types files incl

RE: [PHP] File Types

2003-09-15 Thread Ed Curtis
On Mon, 15 Sep 2003, Javier Tacon wrote: > > You could use the function exif_imagetype() to see what type of file > has been uploaded. > The filetypes are not all images types. Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Verifying E-mail Addresses

2003-09-15 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > I'm having a problem with e-mail addresses entered by users that are > invalid (i.e. $email == "some person at somewhere.com"). Is there a > function I could call like: > > > if (email_is_valid($email)) >{ mail_out_newsletter($e

Re: [PHP] File Types

2003-09-15 Thread Ed Curtis
On Mon, 15 Sep 2003, Raditha Dissanayake wrote: > You don't need to look any further than mime.types files included in > your apache distro. Did that as well as googled for the list of extensions. Still can't seem to find the mime type for .pm7, .p65, .qxp and .pmd. -- PHP General Mailing List

RE: [PHP] File Types

2003-09-15 Thread Javier Tacon
You could use the function exif_imagetype() to see what type of file has been uploaded. http://es.php.net/manual/en/function.exif-imagetype.php -Mensaje original- De: Ed Curtis [mailto:[EMAIL PROTECTED] Enviado el: lunes, 15 de septiembre de 2003 15:02 Para: [EMAIL PROTECTED] Asunto: [P

[PHP] Re: php generate thumbnails

2003-09-15 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Sir, I read in a thread that you mailed some code to generate thumbnails > Might I also have a copy ? > It's been driving me crazy, all week. > Thanks > Cheers > Russell Russell - you might try this google link if you don't get a mo

Re: [PHP] File Types

2003-09-15 Thread Raditha Dissanayake
You don't need to look any further than mime.types files included in your apache distro. Ed Curtis wrote: I currently limit file types in an upload script by using an allowed types array $allowed_types = array("image/jpeg", "image/gif"); I also need to allow files of with the following extentio

[PHP] File Types

2003-09-15 Thread Ed Curtis
I currently limit file types in an upload script by using an allowed types array $allowed_types = array("image/jpeg", "image/gif"); I also need to allow files of with the following extentions. .tif, .pm7, .p65, .pdf, .qxp, .pmd, .eps Is there a site out there anywhere that gives the mime ty

RE: [PHP] Sessions doubt

2003-09-15 Thread Javier Tacon
In PHP >= 4.3.3 versions, start a session when you have a session started already, causes a notice error and the second call is ignored. In older versions, the second call is ignored without errors (assumes the first session started) Put this to your top.php: @session_start(); And then, remo

RE: [PHP] Sessions doubt

2003-09-15 Thread Jay Blanchard
[snip] do I really need to have it in both or just one? or does it really matter at all? if just one it should be the file that is calling top.php right? [/snip] Just one, the calling page/script -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.ph

RE: [PHP] Security of php_auth_pw ?

2003-09-15 Thread Javier Tacon
If you want this type of level security, you should work under SSL connection, that works with crypted data between browser and server. Javier Tacón -Mensaje original- De: Neale Yates [mailto:[EMAIL PROTECTED] Enviado el: lunes, 15 de septiembre de 2003 7:47 Para: [EMAIL PROTECTED] Asu

RE: [PHP] Using PHP to generate Acrobat PDF...

2003-09-15 Thread Jay Blanchard
[snip] Ooohhh! Neat website! Here's the other info send to me by someone from email. Thanks for all of the feedback. Now i have something to get start --snip-- http://ca3.php.net/manual/en/ref.pdf.php [/snip] Don't forget the FPDF class at http://www.fpdf.org -- PHP General Mailing List

[PHP] Need to refresh a dozen times for php pages to load

2003-09-15 Thread Karan R.
hello people, i have apache2, php 4.3.2, win XP, mysql4, fairly fast comp. i'm hosting phpBB 2.0.6(latest) forums on my comp for the college LAN the speeds r very good so that's not a problem problem is that people have to refresh their pages somehitng like a dozen times before the page shows up.

Re: [PHP] Header and dfile download bug???

2003-09-15 Thread Marek Kilimajer
There are issues with acrobat and IE combination. Sometimes it just does not work and you have to close all IE windows so it starts working again. You should provide a download link for these cases. [EMAIL PROTECTED] wrote: Well, I'm on IE V6.0.2800 My boss, has the same version. Yet.. when she

Re: [PHP] Header and dfile download bug???

2003-09-15 Thread Tristan . Pretty
Well, I'm on IE V6.0.2800 My boss, has the same version. Yet.. when she hits the link, she get's the error, (unable to open file) However, I didn't say before, that it's Acrobat reader, that's giving the error. The file is downloaded etc... yet on my machine, I can see the file, and on hers, she

[PHP] Sessions doubt

2003-09-15 Thread Ryan A
Hi, I have a small (simple?) doubt, if you know the answer kindly reply. I have a top.php and bottom.php template files so that the whole site has pretty much the same look and feel, then I have around 150 scripts that call this files such as index.php or something.php like so: I am relying hea

[PHP] Re: passthru loses php posted variables

2003-09-15 Thread Nicole
Hi, Did you try using the system() command instead and skip using exec and passthru? -- Nicole "Exasperated" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Anyone come across something like this before? > > I have made a little test script as follows: > header ("Content-

[PHP] Yikes! Strange Occurrence of ! in mail

2003-09-15 Thread Nicole
Has anyone experienced exclamation points ! in their emails from no where? This is a really strange thing I have been noticing lately in emails I send to myself via PHP. When I send an email from 2 different machines using 2 different smtp servers, I still get the exclamations in the email. Any i

[PHP] Re: php sockets was Re: [PHP] socket_write eats data - solved

2003-09-15 Thread Daniel Souza
Probably your problems about "i can send about seven messages per second" may be relationed to OS's tcp connection stream buffering... try to flush every fd after write to it. I wrote a multi-threaded (pcntl_fork()) application in phpcli using many sockets and they worked well... array iterations a

RE: [PHP] Branching to a page

2003-09-15 Thread chris . neale
I don't understand what this achieves? Tell me more... C -Original Message- From: Todd Cary [mailto:[EMAIL PROTECTED] Sent: 15 September 2003 03:30 To: [EMAIL PROTECTED] Subject: [PHP] Branching to a page Back in the earlier days of PHP, pages were not cached so I developed a method of

Re: [PHP] navigation question

2003-09-15 Thread Petre Agenbag
The function is correct, BUT, it looks like you are trying to run this script off one server and then attempting to "feed" the function a directory structure off another server. Your code will work "as-is" if you run the script off my_domain2, but it won't work if you run it off my_domain asking f

  1   2   >