Re: [PHP] equivalent to PERL's qq

2001-03-26 Thread Carsten Gehling
From: "Michael Hall" <[EMAIL PROTECTED]> Sent: Monday, March 26, 2001 9:36 PM > Hi. I'm a converted Perl guy. While I generally like PHP better than Perl, > I do severely miss the Perl operator qq, which allowed statements (in my > case, lengthy SQL statements) to be written on multiple lines.

RE: [PHP] submit form witout clilck submit button

2001-03-26 Thread Ankur Verma
you can do this using Javascript place this in your HTML code | | Head title and the other stuff | | | | Continue with the HTML Code | | This will cause the form to be sumitted as soon as the page completes up loading hope that helps regards Ankur Verma NetCentric Division HCL

[PHP] submit form witout clilck submit button

2001-03-26 Thread Jacky
Hi all I have to submit username, domain name and password values to the cgi file, It starts from the login page and submit values to a php page to tie up username and domain name value together before submit it to the cgi file as two values ( "username+domainname" , "password") . The thing is

RE: [PHP] File upload and database optimization questions

2001-03-26 Thread Jason Murray
> 1. > 2. Both seem fine to me. > 3. At the time of upload, it is possible to specify a list of > users who can "view" and "modify" the file. Currently I am storing > this list as a whitespace-separated list in a mySQL TEXT column. > > Column "view" data: 3 11 1 > > At the time of display

[PHP] File upload and database optimization questions

2001-03-26 Thread Vikram Vaswani
Hello all, I'm in the process of building a document-storage system for my firm with PHP. The goal is this is essentially to allow users to upload documents to our server (central repository) and allow other users to view/modify these files. I have a number of questions, most of them related to

php-general Digest 27 Mar 2001 07:02:09 -0000 Issue 591

2001-03-26 Thread php-general-digest-help
php-general Digest 27 Mar 2001 07:02:09 - Issue 591 Topics (messages 45632 through 45700): POP client available + mcrypt question 45632 by: mark.amtmedia.com GD problem 45633 by: Brandon Orther 45650 by: Sterling 45673 by: David Robley equivalent to PERL's

Re: [PHP] Is it possible?

2001-03-26 Thread Philip Olson
what setup do you have? assuming mysql and just starting out : learn a few basics : http://devshed.com/Server_Side/PHP/PHP101_1/ (part 1 of 5) know about strings : http://www.zend.com/zend/tut/using-strings.php nail down some sql : http://www.sqlcourse.com/ interact thy mysql : htt

Re: [PHP] Is it possible?

2001-03-26 Thread Deependra B. Tandukar
Thanks! I just need to browse the fields from the table, that's it. Some ideas please. Warm Regards, Deependra B. Tandukar - Original Message - From: "Luke Welling" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 27, 2001 11:03 AM Subject: Re: [PHP] Is it possible?

[PHP] newbie question

2001-03-26 Thread Francis Xavier
Hello! I am relatiovely new to PHP and I need help with the "fsockopen". Well I use this to check if the server is online or down. But that's not exactly what I wanted it to do. I have this "downloads page" and I am more into detecting if the "remote files" are available for download or not. C

Re: [PHP] setting Check box

2001-03-26 Thread David Robley
On Tue, 27 Mar 2001 14:24, Peter Houchin wrote: > >> Hiya can some one pls let me know if i am on the right track pls, > >> this is in a form that updates if there is an id else it inserts, > >> now what i want it if there is an id i want the check box to be > >> either checked or unchecked depen

RE: [PHP] setting Check box

2001-03-26 Thread Philip Olson
Use that code, $avail just isn't evaluating to 'n' so try this somewhere above it : $avail = 'n'; And it will be checked otherwise it won't. And btw, you tried setting value="n" that won't work unless this script submits to itself AND the user checks it before submitting so it'll remain chec

Re: [PHP] setting Check box

2001-03-26 Thread elists
Try setting up your code so that the following is the result: or Andrew Elliston On Monday, March 26, 2001, at 11:54 PM, Peter Houchin wrote: >>> Hiya can some one pls let me know if i am on the right track pls, this >>> is in a form that updates if there is an id else it inserts, now >>>

Re: [PHP] Is it possible?

2001-03-26 Thread Luke Welling
""Deependra B. Tandukar"" wrote: > Is it possible to extract the field values in MySQL by PHP into the web > browser so that it looks like files in Windows Explorer? That depends a little on what you mean. Making it _look_ like Windows Explorer should be easy. You can create HTML tables to mimi

RE: [PHP] setting Check box

2001-03-26 Thread Jason Murray
> ok I've changed it the SELECT to CHECKED but it had no effect ... > 'n') { echo 'CHECKED'; }?>> > > I've also tried it with a "n" value so it reads like > == 'n') { echo 'CHECKED'; }?>> but that didn't have any luck > either ... is there anything else i can do? Send some code to the list

RE: [PHP] setting Check box

2001-03-26 Thread Peter Houchin
>> Hiya can some one pls let me know if i am on the right track pls, this >> is in a form that updates if there is an id else it inserts, now what i >> want it if there is an id i want the check box to be either checked or >> unchecked depending on the 'y' / 'n' value in the db >> > echo 'S

[PHP] Help with Posting Data

2001-03-26 Thread Peter Phillips
Hi, I need a way to POST data to another script on another server, without using a form and without using GET (i.e. foobar.php?name=value), I then need the user to be sent to that page (which now has the data). Is that possible? I found some functions (PostToHost), but they only POST the data and

Re: [PHP] setting Check box

2001-03-26 Thread David Robley
On Tue, 27 Mar 2001 13:55, Peter Houchin wrote: > Hiya can some one pls let me know if i am on the right track pls, this > is in a form that updates if there is an id else it inserts, now what i > want it if there is an id i want the check box to be either checked or > unchecked depending on the '

[PHP] setting Check box

2001-03-26 Thread Peter Houchin
Hiya can some one pls let me know if i am on the right track pls, this is in a form that updates if there is an id else it inserts, now what i want it if there is an id i want the check box to be either checked or unchecked depending on the 'y' / 'n' value in the db "> Peter Houchin [EMA

Re: [PHP] Strings in URL

2001-03-26 Thread trogers
the href should be print "http://www.contus.com/test_quote/quotepage.php3?site=$site&page=miniquote&; subject=$headline'\"> I think.. Tom At 09:41 PM 26/03/01 -0500, Claudia wrote: >I am attempting to pass a string value via a URL. I have tried using >urlencode and ereg_replace--with no luck. >

[PHP] Is it possible?

2001-03-26 Thread Deependra B. Tandukar
Greetings ! Is it possible to extract the field values in MySQL by PHP into the web browser so that it looks like files in Windows Explorer? Looking forward to hearing from you. Warm Regards, Deependra B. Tandukar -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMA

[PHP] examine inner workings of functions

2001-03-26 Thread Jack Dempsey
hi all, I was thinking about some of the built-in functsions (like array_sort) and was wondering how I could find out what the code is behind them. ie, is it an insertion sort? quicksort? etc...do i have to look into CVS for that? thanks! -jack -- PHP General Mailing List (http://www.php.net/

Re: [PHP] Strings in URL

2001-03-26 Thread CC Zona
In article <99ou1p$tif$[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("Claudia") wrote: > $headline=urlencode("$headline"); > print " ='http://www.contus.com/test_quote/quotepage.php3?site=$site&page=miniquote&; > subject=$headline'>Contact us for more information"; > > Then in the quotepage.php3 file

Re: [PHP] Strings in URL

2001-03-26 Thread David Robley
On Tue, 27 Mar 2001 12:11, Claudia wrote: > I am attempting to pass a string value via a URL. I have tried using > urlencode and ereg_replace--with no luck. > > Here is sample code: > > $headline=urlencode("$headline"); > print " ='http://www.contus.com/test_quote/quotepage.php3?site=$site&page=m

RE: [PHP] Strings in URL

2001-03-26 Thread Jack Dempsey
I believe you have to urldecode. Try that and see what happens... -jack -Original Message- From: Claudia [mailto:[EMAIL PROTECTED]] Sent: Monday, March 26, 2001 9:41 PM To: [EMAIL PROTECTED] Subject: [PHP] Strings in URL I am attempting to pass a string value via a URL. I have tried u

[PHP] Strings in URL

2001-03-26 Thread Claudia
I am attempting to pass a string value via a URL. I have tried using urlencode and ereg_replace--with no luck. Here is sample code: $headline=urlencode("$headline"); print "Contact us for more information"; Then in the quotepage.php3 file if( $page == "miniquote" ) { print "Get A Quote"; pri

Re: [PHP] sql problem

2001-03-26 Thread Brett Bandy
InterBase isn't real good with subselects. Try using a join instead: select e.empname from employer e join badclient b on e.empno = b.employercode where b.pesal = '$Persal'; Brett ""Wade Halsey"" <[EMAIL PROTECTED]> wrote in message 00a501c0b38b$e2a27ea0$256410ac@wadeh">news:00a501c0b38b$e2a27

Re: [PHP] The ubitquitous forum project

2001-03-26 Thread Pierre-Yves Lemaire
The style of forum you choose for your site depends on your users. Novice user have a difficult time with usenet or bbs style forum. They will not use it unless you make it very easy. That is why you see bilboard style forum on large public site or portals. They have done user testing. py At 0

php-general@lists.php.net

2001-03-26 Thread Yasuo Ohgaki
I got the same results from my benchmarks, also. Unless you want to change variable in function and get modified value, do not use reference. Without reference, PHP4 executes script faster. Due to reference counting in PHP4, probably. Regards, -- Yasuo Ohgaki "Christian Dechery" <[EMAIL PROTEC

Re: [PHP] The ubitquitous forum project

2001-03-26 Thread Stephan Ahonen
[Explanation of UBB-style] ...And that's USENET-style. In OE I can expand and contract threads at will, like you mentioned, and I can tell which posts are in reply to which other posts. Sig for a Day Stephan Ahonen, ICQ 491101 "That's very funny Scotty, now beam down my clothes!" Come back tomor

[PHP-CVS] cvs: php4 /pear/DB common.php ifx.php pgsql.php

2001-03-26 Thread Thomas V.V.Cox
cox Mon Mar 26 16:57:25 2001 EDT Modified files: /php4/pear/DB common.php ifx.php pgsql.php Log: ifx.php * Changed default fetchmode to ORDERED * Remove extra checks in connect and added $dns property * fetchRow() now uses fetchInto() common.p

Re: [PHP] Question from Rookie

2001-03-26 Thread David Robley
On Tue, 27 Mar 2001 07:01, Rob McMahan, Jr. wrote: > Hi All, > > Quick rookie question for you.. > > I have a PHP page where I'm manipulated data and re-organized the data > in table. Now I want to write out the page containing the table data > with the HTML file extension. How would I go ab

Re: [PHP] getting number of days in agiven month

2001-03-26 Thread David Robley
On Tue, 27 Mar 2001 10:22, Juan Luis Baptiste wrote: > Hi, > > Is there a way to find out the mumber of days of a given month? for > > example a function that I pass the month number i.e. 02 (February) and > > it returns 28? > > thanks. See date() and the t format character. -- David Robley

RE: [PHP] getting number of days in agiven month

2001-03-26 Thread Jason Murray
> Is there a way to find out the mumber of days of a given month? for > example a function that I pass the month number i.e. 02 (February) and > it returns 28? Date("t", $unixtimestamp); If you have a month "2", you need a year as well since February's days vary according to the year, so: $days

[PHP] getting number of days in agiven month

2001-03-26 Thread Juan Luis Baptiste
Hi, Is there a way to find out the mumber of days of a given month? for example a function that I pass the month number i.e. 02 (February) and it returns 28? thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [PHP] GD problem

2001-03-26 Thread David Robley
On Tue, 27 Mar 2001 05:09, Brandon Orther wrote: > Hello, > > Using GD i get this error. I know what it means I just wanted to know > if anyone knew how I resolve it. > > Error: ImageCreateFromJpeg: No JPEG support in this PHP build in > jpg.php on line 5 > > Do I need to get new GD files and cha

php-general@lists.php.net

2001-03-26 Thread Christian Dechery
By doing this: is PHP using the same amount of memory as this: because it seems to me, that the script gets a little slower when I introduce the function method. . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web De

Re: [PHP] 'How to jump..' part 2

2001-03-26 Thread Christian Dechery
>I don't think PHP will understand commas as command separators. > >Perhaps what you could try is a simple loop 0 to 6 and for each iteration >of the loop, unset the corresponding array element > >for($i=0; $i <= 6; $i++) { > unset($array[$i]; > } this actually worked... thanks for the hint:

Re: [PHP] 'How to jump..' part 2

2001-03-26 Thread Christian Dechery
>I don't think PHP will understand commas as command separators. > >Perhaps what you could try is a simple loop 0 to 6 and for each iteration >of the loop, unset the corresponding array element > >for($i=0; $i <= 6; $i++) { > unset($array[$i]; > } I got it working, and YES... PHP did understan

[PHP] PDF Output & Printing

2001-03-26 Thread dennis moore
I have a basic question regarding the printing quality using the PDF functions and lib. I need to place a high resolution image TIF or JPEG into a PDF file along with normal text from a database. The desired output will be printed at 600dpi. Are there issues associated in doing this with

Re: [PHP] What could I be doing wrong here

2001-03-26 Thread YoBro
Thanks everybody for all your help. It goes now. ""YoBro"" <[EMAIL PROTECTED]> wrote in message news:99oh2o$f95$[EMAIL PROTECTED]... : I can't figure out why this doesn't work. Rather than echo $myrow[0] which : works, I want to use the feild name. Like $myrow[make] to make reading the : code e

RE: [PHP] Is this possible? PHP + Javascript

2001-03-26 Thread Joe Sheble \(Wizaerd\)
in the onCLick event of the checkbox call a javascript function. In that function use a window.open() method to open aother browser window, using the open() methods various properties to control how that browser window looks and feels. For the URL for that browser window, make it a PHP script pa

[PHP-CVS] cvs: php4 /pear DB.php /pear/DB pgsql.php

2001-03-26 Thread Thomas V.V.Cox
cox Mon Mar 26 15:31:50 2001 EDT Modified files: /php4/pear DB.php /php4/pear/DB pgsql.php Log: pgsql.php * connect() always use pg_connect string instead of the deprecated params mode * removed duplicated functions prepare() and execute() (n

Re: [PHP] Is this possible? PHP + Javascript

2001-03-26 Thread Reuben D Budiardja
At 05:11 PM 3/26/01 -0600, Michael Champagne wrote: >I have a huge database-driven list of clients with a checkbox next to each >one. When I check one of these clients, I'm wanting one of those small >javascript boxes to pop up and display the contacts for this client (another >database lookup) a

Re: [PHP] What could I be doing wrong here

2001-03-26 Thread CC Zona
In article <99oh2o$f95$[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("YoBro") wrote: > I can't figure out why this doesn't work. Rather than echo $myrow[0] which > works, I want to use the feild name. Like $myrow[make] to make reading the > code easier. IS this possible? > > Here is some code: > > $d

Re: [PHP] What could I be doing wrong here

2001-03-26 Thread Pierre-Yves Lemaire
And like this? echo $myrow["id"] .""; //Usually $myrow[0] etc py At 10:53 AM 3/27/01 +1200, you wrote: >I can't figure out why this doesn't work. Rather than echo $myrow[0] which >works, I want to use the feild name. Like $myrow[make] to make reading the >code easier. IS this possible? > >H

[PHP] Unusual issue - saving state in an error class

2001-03-26 Thread Geoff Caplan
Hi folks An unusual problem (I think) with how to save state in an error class. THE AIM is to consolodate PHP errors, user errors and failed asserts into one common format, which can then be written to screen, logged, emailed or written to a socket in any combination required. THE MECHANISM is

Re: [PHP] offline reader for php generated websites

2001-03-26 Thread Christian Reiniger
On Monday 26 March 2001 20:31, you wrote: > Hello List, > knows anybody an offline reader which can download not only static > websites but also dynamic websites especially dynamic generated links? > Like websites which are only generated over one file over variables > like > > "dynamic.php?siteID

[PHP] Session handling and SSL

2001-03-26 Thread Sam Leibowitz
Apologies if this has been addressed earlier. I'm using session.auto_start under an apache-ssl driven site, and it seems that the sesion ID cookies aren't being sent with the "secure" flag set. As a result, the browser is effectively ignoring the cookie. Is this an obvious configuration problem

Re: [PHP] General question :)

2001-03-26 Thread Henrik Hansen
"Godd" <[EMAIL PROTECTED]> wrote: > Execution time!! > Big files if not well developed = large exec time meaning server timeouts. you have any numbers for this? I think small files with slam code takes as much memory? > > small files = less timeouts and better debugging and modularity

Re: [PHP] General question :)

2001-03-26 Thread Henrik Hansen
"FredrikAT" <[EMAIL PROTECTED]> wrote: > Hi! > > What do you think is best..: > - have alot of small .php (files)? > - or a few big? > > What's good & bad with these solutions?! Depends, usualy i dont have scripts over 1000 lines. I like to have a few larger files in my directory sepera

Re: [PHP] Problems passing data via GET and POST

2001-03-26 Thread Jason Stechschulte
On Sat, Mar 24, 2001 at 05:05:59PM -0500, Matt Adams wrote: > I recently wrote a (yet another) mailing portal which takes a certain > action based on the contents of a hidden form field (i.e. if state==deliver > then deliver mail to the recipient). Although I am certain the code > could be better

[PHP-CVS] cvs: php4 /ext/domxml php_domxml.c

2001-03-26 Thread Jani Taskinen
sniper Mon Mar 26 13:42:02 2001 EDT Modified files: /php4/ext/domxmlphp_domxml.c Log: Fixed a typo. Index: php4/ext/domxml/php_domxml.c diff -u php4/ext/domxml/php_domxml.c:1.33 php4/ext/domxml/php_domxml.c:1.34 --- php4/ext/domxml/php_domxml.c:1.33 Wed

[PHP] sessions and javascript.

2001-03-26 Thread Larry Hotchkiss
Running linux RH 7, apache and php 4.04 as a module. I have a web pagewith an image that is chopped up and regrouped into a table. There are a few spots on the image that link (a href="") to other pages and I use some javascript for rollovers. Now, within the table, I have two input fields

[PHP-CVS] cvs: php4 / configure.in

2001-03-26 Thread Jani Taskinen
sniper Mon Mar 26 13:34:59 2001 EDT Modified files: /php4 configure.in Log: Fixed the problem with libbind (again). Index: php4/configure.in diff -u php4/configure.in:1.224 php4/configure.in:1.225 --- php4/configure.in:1.224 Thu Mar 22 20:56:51 2001

[PHP] Question from Rookie

2001-03-26 Thread Rob McMahan, Jr.
Hi All, Quick rookie question for you.. I have a PHP page where I'm manipulated data and re-organized the data in table. Now I want to write out the page containing the table data with the HTML file extension. How would I go about writing out an HTML file from within a PHP Page. Thank

Re: [PHP] GD problem

2001-03-26 Thread Sterling
H- You might want to make sure your version of GD supports JPG format. If I'm not mistaken newer versions of GD don't support GIF anymore and the earlier versions of GD didn't support JPG but PNG format has always been supported. Maybe it's related to GD and not PHP at all. Just a thought.

[PHP] Create new accounts with PHP

2001-03-26 Thread O.J. Alcaraz
I'm beginning to implement an application for a webhost that will administer accounts (create users, mailboxes, FTP, etc.) and will be using PHP to do this. Are there any problems with using PHP to do this? I have done some research but haven't come across anything related to PHP. Just looking

Re: [PHP] just a newbie in php, don't get mad

2001-03-26 Thread Philip Olson
Check out the tutorials found at : http://www.devshed.com/(very basic php tutorials exist here) http://www.zend.com/ (quality tutorials and articles) http://www.phpbuilder.com/ (intermediate) http://php.faqts.com/ (useful words) http://www.php.net/manual/ (inclu

Re: [PHP] just a newbie in php, don't get mad

2001-03-26 Thread Johannes Janson
Hi, get an editor which suits your needs and demands, a server and (if needed somr database app) and just do it by trial and error. tutorials on php: www.phpbuilder.com www.webmonkey.com www.devshed.com feed any search engine with "php tutorials" and find more. good luck Johannes p.s. what's

RE: [PHP] drop down used to redirect?

2001-03-26 Thread duirfire
hmmm... thanks, but I want to use a directory. I've tried "Page but the "/" url that get's passed is: nav.php?loc=dir1%2Fdir2%2Fpage.html can I escape the quotes somehow? thanks! duirfire > -Original Message- > From: Data Driven Design [mailto:[EMAIL PROTECTED]] > Sent: Monday, March

Re: [PHP] offline reader for php generated websites

2001-03-26 Thread Godd
one of the nice things of dynamically created sites is the ability to protect your site from people just using your code and potentially harming not just your site but others. The code that is used to the site sometimes have some very hesitive data and data manipulation routines that you don't wa

Re: [PHP] General question :)

2001-03-26 Thread Godd
Execution time!! Big files if not well developed = large exec time meaning server timeouts. small files = less timeouts and better debugging and modularity which ALWAYS better. Modularity allows you to plug in and pull out pages with out rendering you whole site unusable. Of course you can h

Re: [PHP] Serializing/unserializing objects

2001-03-26 Thread Michael Kimsal
You'll be reinitializing the object on every page request - objects aren't perisistant across requests. You can make the data in that object persistent - basically recreate the object every page with the old data (PHP4 sessions would be one way to go here) but you won't be able to make the objec

[PHP] General question :)

2001-03-26 Thread FredrikAT
Hi! What do you think is best..: - have alot of small .php (files)? - or a few big? What's good & bad with these solutions?! - Fredrik A. Takle Bergen, Norway [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

RE: [PHP] Serializing/unserializing objects

2001-03-26 Thread Chris Cocuzzo
wow. I really don't think you can pull this off in a day. In any case, I'd recommend checking out www.phpbuilder.com and looking through the articles -Original Message- From: Kevin Beckford [mailto:[EMAIL PROTECTED]] Sent: Monday, March 26, 2001 3:18 PM To: [EMAIL PROTECTED] Subject: [PHP

[PHP] Serializing/unserializing objects

2001-03-26 Thread Kevin Beckford
What I want to do is to use an object to create a site.I plan on initiaizing the object on my page index.php, and just recycling index.php with different variables, so that I get different pages. Ideally, I want the object to read a site config file, so that I can modify the site config file f

Re: [PHP-CVS] cvs: php4 / NEWS

2001-03-26 Thread Andrei Zmievski
Done. > Can I make a request for get_class_methods() and get_class_vars() to > accept class instances as well as a string? > > - Colin > -Andrei "The time from now until the completion of the project tends to become constant." -- Douglas Hartree -- PHP CVS Mailing List (http://www.php.n

[PHP-CVS] cvs: php4 / NEWS

2001-03-26 Thread Andrei Zmievski
andrei Mon Mar 26 12:10:19 2001 EDT Modified files: /php4 NEWS Log: More news. Index: php4/NEWS diff -u php4/NEWS:1.623 php4/NEWS:1.624 --- php4/NEWS:1.623 Mon Mar 26 11:03:36 2001 +++ php4/NEWS Mon Mar 26 12:10:19 2001 @@ -2,8 +2,8 @@

Re: [PHP] just a newbie in php, don't get mad

2001-03-26 Thread Wade DeWerff
buy Meloni's "PHP Essentials" or the "Teach yourself PHP in 24 hours" to start. They are made for total beginners. Then move on to "Professional PHP programming" or "PHP4 Bible". That will give you a better start. >> ok as you got it already i am a newbie in php >> could anyone please please po

RE: [PHP] just a newbie in php, don't get mad

2001-03-26 Thread Jeff Oien
> ok as you got it already i am a newbie in php > could anyone please please post me what programs do I need or which could > help me to make some php stuff > sry for this may sound stupid to you all but all the manuals in the web > just were just talkin' 'bout totally technical stuff > > ok t

[PHP] just a newbie in php, don't get mad

2001-03-26 Thread Martin Mark
ok as you got it already i am a newbie in php could anyone please please post me what programs do I need or which could help me to make some php stuff sry for this may sound stupid to you all but all the manuals in the web just were just talkin' 'bout totally technical stuff ok thnx :p

Re: [PHP] Get info to a perl script and then continue without going to that perl script.

2001-03-26 Thread Matt Friedman
> http://php.net/manual/en/function.exec.php > > $return = exec("/pathtocgi/script.cgi VAR1 VAR2 &"); > > if you want the data returned, its in $return. If there are multiple lines returned, you'll only get the last line in $return. See the manual link to get the full info. Matt Friedman ---

RE: [PHP] equivalent to PERL's qq

2001-03-26 Thread Cal Evans
$this = "Select * From xsdfs Group by date Order by id"; Should work. Cal http://www.calevans.com -Original Message- From: Michael Hall [mailto:[EMAIL PROTECTED]] Sent: Monday, March 26, 2001 1:36 PM To: [EMAIL PROTECTED] Subject: [PHP] equivalent t

[PHP] equivalent to PERL's qq

2001-03-26 Thread Michael Hall
Hi. I'm a converted Perl guy. While I generally like PHP better than Perl, I do severely miss the Perl operator qq, which allowed statements (in my case, lengthy SQL statements) to be written on multiple lines. $this = qq|Select * From xsdfs Group by date

Re: [PHP-CVS] cvs: php4 / NEWS

2001-03-26 Thread Andrei Zmievski
On Mon, 26 Mar 2001, Colin Viebrock wrote: > Can I make a request for get_class_methods() and get_class_vars() to > accept class instances as well as a string? For get_class_methods(), yes, for the other requrest, see get_object_vars(). -Andrei * Anything will fit if you push hard enough * --

[PHP] GD problem

2001-03-26 Thread Brandon Orther
Hello, Using GD i get this error. I know what it means I just wanted to know if anyone knew how I resolve it. Error: ImageCreateFromJpeg: No JPEG support in this PHP build in jpg.php on line 5 Do I need to get new GD files and change php.ini or chan I just change the library? Thank you,

Re: [PHP-CVS] cvs: php4 / NEWS

2001-03-26 Thread Colin Viebrock
> +- Modified get_parent_class() to accept a class name as well as a class > + instance. (Andrei, Zend engine) Can I make a request for get_class_methods() and get_class_vars() to accept class instances as well as a string? - Colin -- PHP CVS Mailing List (http://www.php.net/) To unsubscrib

[PHP] POP client available + mcrypt question

2001-03-26 Thread mark
Hi folks, Version 1.0 of my POP mail client "PHPost" is now available for download (it's freeware) at http://webgadgets.com/ There's one problem that's bugging me though. The script checks for the mcrypt module and uses it to encrypt/decrypt the contents of the session data file. If it's not a

[PHP-CVS] cvs: php4 / NEWS

2001-03-26 Thread Sebastian Bergmann
sbergmann Mon Mar 26 11:03:36 2001 EDT Modified files: /php4 NEWS Log: Nitpicking. Index: php4/NEWS diff -u php4/NEWS:1.622 php4/NEWS:1.623 --- php4/NEWS:1.622 Mon Mar 26 10:59:01 2001 +++ php4/NEWS Mon Mar 26 11:03:36 2001 @@ -3,7 +3,7 @@

[PHP-CVS] cvs: php4 / NEWS

2001-03-26 Thread Andrei Zmievski
andrei Mon Mar 26 10:59:02 2001 EDT Modified files: /php4 NEWS Log: Zend related news update. Index: php4/NEWS diff -u php4/NEWS:1.621 php4/NEWS:1.622 --- php4/NEWS:1.621 Fri Mar 23 06:26:17 2001 +++ php4/NEWS Mon Mar 26 10:59:01 2001 @@ -2,6 +2

php-general Digest 26 Mar 2001 18:58:56 -0000 Issue 590

2001-03-26 Thread php-general-digest-help
php-general Digest 26 Mar 2001 18:58:56 - Issue 590 Topics (messages 45583 through 45631): Re: oracle last inserted 45583 by: Thies C. Arntzen Re: Email validation 45584 by: Manuel Lemos PHP Authentication 45585 by: Jon 45586 by: Jack Dempsey 45589

Re: [PHP] Another problem installing PHP under Solaris 8.0

2001-03-26 Thread Joe Rice
you need ar. my solaris 8 install has it in /usr/ccs/bin if you have it there, make sure /usr/ccs/bin is in your PATH. if you need to know what package ar is part of let me know. joe Emiliano Marmonti([EMAIL PROTECTED])@Mon, Mar 26, 2001 at 03:12:00PM -0300: > > Dear Friends: > > I have

[PHP] offline reader for php generated websites

2001-03-26 Thread Andre
Hello List, knows anybody an offline reader which can download not only static websites but also dynamic websites especially dynamic generated links? Like websites which are only generated over one file over variables like "dynamic.php?siteID=3001" Thanks Andre! -- PHP General Mailing Li

[PHP-CVS] cvs: php4 / FUNCTION_LIST.txt

2001-03-26 Thread Sterling Hughes
sterlingMon Mar 26 10:29:13 2001 EDT Removed files: /php4 FUNCTION_LIST.txt Log: Remove FUNCTION_LIST.txt, the file is sadly out of date and not really used... -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Another problem installing PHP under Solaris 8.0

2001-03-26 Thread Emiliano Marmonti
Dear Friends: I have had another problem, after succesfully find flex package installed in this machine and make a link to a folder that is included in PATH. After ./configure, after the message that PHP was configured OK, following the instructions I write: make. This is the error

Re: [PHP] Cookie problem

2001-03-26 Thread Chris Lee
I have to agree Nuno, sessions are alot easier/simpler. -- Chris Lee [EMAIL PROTECTED] "Nuno Silva" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, short: try removing the third parameter to setcookie and if the errors go away you know it's a co

Re: [PHP] imap_open() dosen't work :(

2001-03-26 Thread Chris Lee
have you edited your php.ini file ? you have to uncomment the imap dll. extension=php_imap4r2.dll if you dont have this dll, you'll have to find it, cant help you there. -- Chris Lee [EMAIL PROTECTED] ""Nilesh Parmar"" <[EMAIL PROTECTED]> wrote in message 001b01c0b54e$fa191c00$[EMAIL P

Re: [PHP] php sessions and classes

2001-03-26 Thread Chris Lee
yes this will work, are you passing the class as a session ? remember to declare the class BEFORE you call session_start() ie. do not have session_start before the class declaration. how do you like postgres? what version? speed/reliability/stability ? In some benchmarks I did I found postg

Re: [PHP] New PHP Coder - needs advice

2001-03-26 Thread Chris Lee
Im not quite sure what kind of advise your looking for... you want to know how todo this? use a form, save the contents in the db. echo the contents to the screen to view them. table category fieldcategory_id fieldcategory_date fieldcategory_name I like to store dates as a unix t

Re: [PHP] Get info to a perl script and then continue without going to that perl script.

2001-03-26 Thread Chris Lee
you want to just execute the perl script? use http://php.net/manual/en/function.exec.php $return = exec("/pathtocgi/script.cgi VAR1 VAR2 &"); if you want the data returned, its in $return. -- Chris Lee [EMAIL PROTECTED] ""Brandon Orther"" <[EMAIL PROTECTED]> wrote in message [EMAIL P

[PHP] oci8 and primary key & its speed

2001-03-26 Thread almir
first of all thank all of you who helpd me up to now, to make this work now when i make SELECT c.column_name, c.position FROM user_cons_columns, c, user_constraints t WHERE t.table_name='YOURTABLENAME' AND t.constraint_type='P' AND t.constraint_name=c.constraint_name AND t.table_name=c.table

RE: [PHP] I don't understand HTTP_SESSION_VARS

2001-03-26 Thread Michael Champagne
Hi Kirk, I'm not sure that's how it is supposed to work. I really think that this is a PHP bug. I had to turn register globals back on in order to get my code working again. I thought you're supposed to be able to simply declare a variable, do a session_register on it, and then access it on sub

[PHP] Getting Javascript variable into PHP

2001-03-26 Thread Michael Champagne
Has anyone had to get a javascript variable into your PHP script? I'm trying to have a javascript popup box come up whenever a user clicks to revoke a user's privilege. How do I know what was clicked on the javascript box in order to know whether to revoke the user's privilege or not? If there'

[PHP] Get info to a perl script and then continue without going to that perl script.

2001-03-26 Thread Brandon Orther
Hello, I have a script that takes information and sends it to a cgi script using the header("location: http://www.domain.com/script.cgi?var1=VAR1&var2=VAR2"). Is there a way for my script to send info to a cgi script but then keep the person connected to the php script and not get the results of

[PHP] New PHP Coder - needs advice

2001-03-26 Thread Rob McMahan, Jr.
All, I am new coder of PHP and I love it. I have completed all the tutorials for PHP 101 on Devshed.com . I have PHP and MYSql up and running. I have a problem that I'm sure is is a very simple problem to solve for many of you. I am looking at the best way to write this simple PHP script and I

Re: [PHP] Header Problem...

2001-03-26 Thread Renze Munnik
There may not be any headers before you use the 'header' statement. The header("Location:...") should be the first output you send. You might want to consider moving the two 'anti-cache' headers after the header("Location;...") statement. RenzE. On Mon, Mar 26, 2001 at 11:06:11PM +0800, E K L w

RE: [PHP] .doc to .txt

2001-03-26 Thread Max Pyziur
On Mon, 26 Mar 2001, Ankur Verma wrote: > check out the microsoft word parser at www.wvware.com > > you can call this program ysing the exec() or system() function. > > also, search the mail archives for discussion on this topic in the very > recent past. There is one utility which I find very

[PHP] stil problems with fopen and URL

2001-03-26 Thread marco trevisani
Sorry for re posting this problem, but after spending a bunch of hours still there is something "misterious" to me: can you find anything broken in this code? (Again it works fine with 3.3.0.15 and 3.3.0.16 but is broken with 3.3.0.18, on Debian, apache). $noaa = "http://weather.noaa.gov/cgi-bi

[PHP] Header Problem...

2001-03-26 Thread E K L
Hi all, could any one tell me that how do I go to a specific URL using php command.At the same time, I would like to pass the variable to the page. I used header to do it but failed, with the error message:- Warning: Cannot add header information - headers already sent by (output started at /u

[PHP] Help, I can't understand the 'arg_separator' directive

2001-03-26 Thread loic-info
Hi! My system : win 98SE, Apache 1.3.19 & the latest php4.0.5-RC1 binaries from www.php4win.de My problem is that I can't understand how the 'arg_separtor' directive works. Here is my test script : '); ?> test with simple '&' test with '& amp;' Note that the second lin

  1   2   >