Re: [PHP] Holy Moly...

2002-01-03 Thread Kevin Keeler
Well, this *is* a good list, but the subjects tend to be of a more intermediate nature .. You gotta know a little before you know what to ask. I would reccomend staying subscribed and just skimming subject headings for things topics that sound interesting to you. It's surprisingly easy to get a

Re: [PHP] Holy Moly...

2002-01-03 Thread B. van Ouwerkerk
At 17:16 2-1-02 -0900, Julie Hull wrote: Could someone please direct a total novice to the best PHP beginner news group. Just to many to choose from ~:) Start by visiting www.php.net and click on links. You'll find many websites with tutorials.. Much better to learn something there before you

[PHP] Re: If Statement with more than one conclusion

2002-01-03 Thread George Nicolae
if (($text==com)||($text==net)||($text==org)||($text==info)) { } -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... How can I do an if

Re: [PHP] easy quickie..

2002-01-03 Thread TD - Sales International Holland B.V.
On Wednesday 02 January 2002 20:20, Seb Frost stuffed this into my mailbox: For the ease I guess I use alt-leftarrow to go back :-) I've never understood why people do this? My browser has a back button. I know how to use it. It's only a centimetre of mouse travel away from the page

Re: [PHP] Licensing??

2002-01-03 Thread TD - Sales International Holland B.V.
On Wednesday 02 January 2002 20:14, Michael A. Peters stuffed this into my mailbox: Hmm but ClibPDF is an additional library package which is not part of the PHP engine right? regards I would like to note that you may need to purchase licensing for certain uses. For instance, I use

Re: [PHP] Including files variables ...

2002-01-03 Thread Tamas Arpad
On Wednesday 02 January 2002 20:43, you wrote: What you need to do is simply set the variables before you include the script. When you include a script with include() or require(), they fall into the same namespace as the include() or require() function that called them. I read that in the

[PHP] Q: PHP3 / Read STDIN when missing Content-Type

2002-01-03 Thread role+php-general
I'm stuck with PHP3 at present and need to process POSTed data that has a missing Content-Type, so the HTTP_POST_VARS don't work. Is the raw STDIN data accessible in this situation, please? Pretty please? Cheers, J. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

RE: [PHP] Holy Moly...

2002-01-03 Thread scott
... and dont forget, download some free PHP scripts and dissect them. my method for learning a new language is just to throw myself head-first into it, and start writing something in that language, using online manuals and printed works to fill in the gaps along the way. On Wed, 2 Jan 2002,

Re[2]: [PHP] Holy Moly...

2002-01-03 Thread role+php-general
On Wed, 2 Jan 2002, Julie Hull wrote: Could someone please direct a total novice to the best PHP beginner news group. Just to many to choose from ~:) Thank You, Julie ~:) Jump right in, but be sure to read the introductory chapters of the PHP manual, especially on security, and

[PHP] RE: array_multisort?

2002-01-03 Thread Tim Ward
If title can be guaranteed to be unique then just amend your code to ... $product = array($id, $title, $price); $shop[$title] = $product; if not then you'll have to make the key unique, something like ... $product = array($id, $title, $price);

[PHP] nested includes

2002-01-03 Thread V
I have this tree: myroot | |--folderone | | | |--foldertwo | | | | | |--archivethree.php | | | |--archivetwo.php | |--archiveone.php I need to include archiveone.php: In archivetwo.php I make one include: include(../archiveone.php);

[PHP] SSL fsockopen()

2002-01-03 Thread Jeff Rossi
Is there a way to make an SSL connection between to servers with fsockopen()? I'm using PHP 3.0.13 and don't have cURL support. -- Data Driven Design 1506 Tuscaloosa Ave Holly Hill, Florida 32117 Phone : (386) 226-8979 http://www.datadrivendesign.com Websites That WORK For You -- PHP

php-general Digest 3 Jan 2002 12:22:53 -0000 Issue 1089

2002-01-03 Thread php-general-digest-help
php-general Digest 3 Jan 2002 12:22:53 - Issue 1089 Topics (messages 79274 through 79302): Re: INI file parsing 79274 by: Steve Edberg Code not working in 4.1 79275 by: Jonathan Hilgeman 79276 by: Martin Towell Re: XML Parsing Problem 79277 by: Matthew

Re: [PHP] Can I config PHP RPM?

2002-01-03 Thread Miles Thompson
A simple page containing nothing but ? phpinfo();? will return all the information you need about the modules compiled into PHP. So you may not have to do anything more. There are source rpm's available, but I'm suggesting an alternate route. If you have access and rights on the server,

[PHP] File opening, writting and location

2002-01-03 Thread RRNews
I'm a newbie to PHP and the web. I've been programming in VB for about 3 years and XBase for about 15. I would like to place a bunch of text files in a directory and have a PHP script pick them up and place the top X lines in a center section of a page followed by a MORE link. It would do this

[PHP] php-gtk compile prob

2002-01-03 Thread David Norman
I've been trying to compile php-gtk on slack 8 with php 4.1.1. I've tried CVS and 0.1.1, but I get the following during make whether I use ./buildconf or phpize: gen_gtk.c:1: parse error before `:' I looked at ext/gtk+/gen_gtk.c, and there is one line: usage: php -q generator.php [-o

Re: [PHP] php-gtk compile prob

2002-01-03 Thread Henning Sprang
Hy, this is for [EMAIL PROTECTED], there you'll get answers I think... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] RE: nested includes

2002-01-03 Thread Tamas Arpad
On Thursday 03 January 2002 13:36, Tim Ward wrote: Include will act relative to the path of the script not the included file that the include is in. If you have an include in a file which is itself included and which isn't always called from files in the same directory you need to make the

RE: [PHP] Session troubles

2002-01-03 Thread Junior, Ricardo
Hi Sean ! I had the same problem... this can be resolved using the function session_write_close() at the end of each script you use sessions. It will force PHP to call the write and close function. In some combinations of PHP version, Apache and OS, this problem doesn't happens, but as you, I

Re: [PHP] Q: PHP3 / Read STDIN when missing Content-Type

2002-01-03 Thread Bogdan Stancescu
Your question intrigued me enough to start searching for an answer. Never did this myself, but you may try http://download.php.net/manual/en/html/function.fopen.html (fifth paragrapgh of explanations). Hope it works with Apache - I was unable to determine if this only works when you run PHP

[PHP] PHP Doesn't Crash but show blank page

2002-01-03 Thread [EMAIL PROTECTED]
Hello everyone! I'm having issues with my php pages. When I have errors, Instead of crashing or showing errors, the browser shows a blank page. For example, if I leave the left bracket in my if statement, like if(blah blah) ---missing left bracket '{' do this }else { do that } or, I

Re: [PHP] PHP Doesn't Crash but show blank page

2002-01-03 Thread Tamas Arpad
I'm having issues with my php pages. When I have errors, Instead of crashing or showing errors, the browser shows a blank page. PHP does not report the error. My php.ini is configured as error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR|E_USER_ERROR|E_USER_WARNING|E_ USER_NOTICE

RE: [PHP] Session troubles

2002-01-03 Thread Jaime Bozza
Ricardo, I've had some strange problems with session writing, but they always returned back to the fact that return false was being used in the session read function. PHP 4.0.6 wouldn't write out sessions when register_globals was set to off when you were using return false. PHP 4.1.0

[PHP] Regular Expression

2002-01-03 Thread [-^-!-%-
Hello everyone! I'm trying to get the text inside the BODY tag, using regular expression. $area = eregi('(body)(.*))',$str); Where $str is the string containing body bgcolor=#99 tex=#... ... When I print $area, the string contains the entire content of $str. I get something like: body

[PHP] PHP dependent on connection speed?

2002-01-03 Thread charlesk
Is the php engine slowed by users with a slow connection? Charles Killmer NetgainTechnology.com IIS 5.0 Win 2000 Server PHP 4.1.0 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

Re: [PHP] PHP Doesn't Crash but show blank page

2002-01-03 Thread Joe Koenig
Chances are the error is showing up on the page, but is not visible. If you view the source (HTML) from your browser, I bet you'll see the error. Hope this helps, Joe Tamas Arpad wrote: I'm having issues with my php pages. When I have errors, Instead of crashing or showing errors, the

RE: [PHP] Session troubles

2002-01-03 Thread Junior, Ricardo
Ok Jaime. I've imagine that he had the same problem that I have had before.. :) I'm really returning a ' in my read function when there is no data too... because of this I don't had the problem related by Sean... Thanks, _ Ricardo J. A. Júnior, Software Engineer

Re: [PHP] RE: nested includes

2002-01-03 Thread Bogdan Stancescu
This can be solved partly with include_path setting in php.in or in apache's config files (even in .htaccess). You can just set include_path to your project's (or application's) root directory, and make all the paths relative to this directory in include() and require(). Or if you intend to

[PHP] Re: PHP dependent on connection speed?

2002-01-03 Thread Joe Webster
Uh no, Php is completely server-side. Any kind of request will be built up, processed, and sent out to be sent to the user. If the user has a slow connection it will take longer to get that information, but PHP is done. -Joe Charlesk [EMAIL PROTECTED] wrote in message [EMAIL

[PHP] Re: PHP dependent on connection speed?

2002-01-03 Thread Julio Nobrega Trabalhando
No, it's server side. Only if you flush some kind of content, with parts of the script waiting to be executed after these contents are 'used' by the user. This would not affect in how much time certain script lines are executed (since it's the server who process them), but the overall

RE: [PHP] Session troubles

2002-01-03 Thread Jaime Bozza
Hmmm... So, there are yet more problems with the session functions. :) Are you using 4.1.1 or 4.0.6? Jaime -Original Message- From: Junior, Ricardo [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 03, 2002 9:34 AM To: 'Jaime Bozza'; [EMAIL PROTECTED] Subject: RE: [PHP] Session

Re: [PHP] PHP dependent on connection speed?

2002-01-03 Thread Henning Sprang
Am 03 Jan 2002 08:10:08 -0600 schrieb charlesk : Is the php engine slowed by users with a slow connection? it _should_ not under normal circumstances - but what problems are you exactly experiencing? henning -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] Java extensions with Apache

2002-01-03 Thread Gino Paoletti
Hi, I met some troubles using java extensions, my target is: send and receive jms message using a self made class methods where such methods are invoked by a php page via apache. my problem is: after few successfully attempts, apache starts to spawn a lot of process instances and stops to

[PHP] mktime and variables not working

2002-01-03 Thread Tom Beidler
I'm trying to calculate elapsed time and I'm having trouble using mktime with variables. Here's my code; $reformat_stop = str_replace(:, ,, $x[stop]) . ,1,1,2002; $stop=mktime($reformat_stop); I don't know how to format the code for mktime to use a variable. I keep getting -1 for $stop but if

Re[2]: [PHP] Q: PHP3 / Read STDIN when missing Content-Type

2002-01-03 Thread role+php-general
BS Your question intrigued me enough to start searching for an BS answer. Never did this myself, but you may try BS http://download.php.net/manual/en/html/function.fopen.html (fifth BS paragrapgh of explanations). Hope it works with Apache - I was BS unable to determine if this only works when

Re: [PHP] PHP dependent on connection speed?

2002-01-03 Thread Axoria Ltd
c Is the php engine slowed by users with a slow connection? No. (Well, beyond the fact that it won't start until it's got the request from the person over the slow connection, and then its swiftly despatched response won't get to the surfer until it's made it back down the wire to them. The

[PHP] Re: mktime and variables not working

2002-01-03 Thread George Nicolae
mktime have the folloing format int mktime (int hour, int minute, int second, int month, int day, int year) I don't understand what represent $x[stop]. maybe time in hh:mm:ss format? if is that you ca use $reformat_stop=explode(:,$x[stop].:.1:1:2001)

[PHP] PHP Doesn't Crash but show blank page

2002-01-03 Thread [EMAIL PROTECTED]
Hello everyone! I'm having issues with my php pages. When I have errors, Instead of crashing or showing errors, the browser shows a blank page. For example, if I leave the left bracket in my if statement, like if(blah blah) ---missing left bracket '{' do this }else { do that } or, I

RE: [PHP] Session troubles

2002-01-03 Thread Alok K. Dhir
FYI - I can confirm Jaime's assertion. I too had the exact same issue with the exact same fix. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]. net] On Behalf Of Jaime Bozza Sent: Thursday, January 03, 2002 9:09 AM To: [EMAIL PROTECTED] Subject: RE: [PHP]

RE: [PHP] Session troubles

2002-01-03 Thread Junior, Ricardo
I was using 4.06 version... but I don't test this issues with 4.1 version in my system (linux Mandrake 8.1)... I will test and let you know! :) _ Ricardo J. A. Júnior, Software Engineer Trainee Bowne Global Solutions Phone +55 21 2515 7713 [EMAIL PROTECTED]

RE: [PHP] Session troubles

2002-01-03 Thread Junior, Ricardo
This was problem that I had: the function write was not been called by PHP sessions functions when a script finish or when I change the variable contents. Searching on PHP.net I saw this solution there: add a call to function session_write_close() at the end of the php code. This should be

Re: [PHP] PHP Doesn't Crash but show blank page

2002-01-03 Thread Steve Cayford
Two other lines to look for in your php.ini file: display_errors = On log_errors = Off If display_errors is on the error will be displayed on the web page, if log_errors is on the error will be logged--assuming you're using Linux check /var/log/messages, but you can change this with the

[PHP] Help on a quick questions

2002-01-03 Thread Dan McCullough
Dynamic dropdown selection. What I need to do is two things. I need to get a list of all the parent categories, from one table, I then need to list those in the dropdown, I then need to have selected the correct parent category based on the parent_id of the subcategory. Can anyone help me

[PHP] PHP scripts timeout

2002-01-03 Thread charlesk
Every once in a while, maybe 10 times a day, scripts timeout. Different scripts, different places in the script, different IP addresses. I wrote an auto_append script that dumps the phpinfo to a file if the script ran longer than 30 seconds, and nothing is odd in those phpinfo's.

[PHP] Sessions

2002-01-03 Thread Kevin P
Hi I am working on a Admin view of an Intranet site. They need to enter orders. An order can include many inventory items so I have divided it up to two pages. I have set up a first page session that passes the first page info onto the second page where the inventory items are addes to the

[PHP] IMP 3.0 out!

2002-01-03 Thread Mike Eheler
So is Horde 2.0. And Turba 1.0 I think Chora 1.0 is due any day, as well. Just noticed this at http://www.horde.org/ For anyone who doesn't know, Horde is an application framework built upon the PEAR style of coding. IMP is *the* webmail solution for anyone looking to provide webmail to

[PHP] Re: Holy Moly...

2002-01-03 Thread Julie Hull
Thanks to everyone for all the suggestions Looks like I have my work cut out for me... Happy New Year, Julie ~:) Julie Hull wrote: Could someone please direct a total novice to the best PHP beginner news group. Just to many to choose from ~:) Thank You, Julie ~:) -- PHP

[PHP] file uploading = dumping into ram?

2002-01-03 Thread David
hi all, I wes doing some file upload stuff with php when i noticed that as the file is being uploaded, the entire file is stored in ram until it\'s finished. obviously, we know the problems associated with this(use up a lot of ram for large files), i\'m just wondering, is this going to be

[PHP] PHP and OpenLDAP

2002-01-03 Thread Quinn Perkins
I have installed OpenLDAP 2.x on an OS X Server 10.1.2 box. Everything seems to be fine. I have written a simple PHP front end to modify LDAP values. I can modify values in the core.schema without any problem, but if I try to modify anything in cosine.schema or inetorgperson.schema, I get an

[PHP] Form Validation class

2002-01-03 Thread Daniel Harik
Hello guys, at moment i'm reading Hack Proofing your web apps book, but it makes me scared, i have seen a class from newbienetwork.net(can't find it now), that validates user input, things like telephone number, state, country , email, and also can check if only letters or numbers are in text

Re: [PHP] Regular Expression

2002-01-03 Thread Jim Lucas [php]
I have seen this question reposted for the past week. now why don't you just work with the entire thing. get the body ... now once you have that, do this $str = preg_replace(body, , $str) $str = preg_replace(, , $str) now your $str var will only have the properties. Jim - Original

Re: [PHP] easy quickie..

2002-01-03 Thread Jim Lucas [php]
$GLOBALS['HTTP_REFERER'] Jim - Original Message - From: Kelly Meeks [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 02, 2002 10:15 AM Subject: [PHP] easy quickie.. Happy New Year, Does php set a variable that tells you the url of the page that a user has just come

[PHP] Warning: Unknown persistent list entry type in module shutdown (11)

2002-01-03 Thread Ed Swartz
Hi, The error message listed in the subject line is being displayed at the bottom of my HTML pages gen'd by PHP. Any hints how what might be causing this message? I looked in BUGS, FAQTS, etc not to no avail. The code uses: * ob_start(), ob_end_clean() * session variables * MySQL 3.23

Re: [PHP] file uploading = dumping into ram?

2002-01-03 Thread Chris Lee
set your max upload file size smaller then. default is 2mb max. I find that too small, I re-set mine to 5mb. I have 2g of ram on our server, 5mb isnt a worry to me. Id rather that then the slow speed of writing the file to the hd. -- Chris Lee [EMAIL PROTECTED] David [EMAIL PROTECTED]

[PHP] Re: Form Validation class

2002-01-03 Thread Chris Lee
Ive seen em on zend.com, I wrote my own. I would recommend you take a look at the ones on zend.com and modify it to taste. -- Chris Lee [EMAIL PROTECTED] Daniel Harik [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello guys, at moment i'm reading Hack

Re: [PHP] Regular Expression

2002-01-03 Thread Steve Cayford
You can do as Jim says here or go back and read the manual section again for eregi and ereg. What you're trying to do should be written more like this: ?php $str = 'body bgcolor=#ff'; $numMatches = eregi('(body)(.*)()',$str,$results); print(numMatches: $numMatches br\n); print(body

Re: [PHP] Re: Form Validation class

2002-01-03 Thread Daniel Harik
Hello Chris, Thursday, January 03, 2002, 10:41:34 AM, you wrote: CL Ive seen em on zend.com, I wrote my own. I would recommend you take a look CL at the ones on zend.com and modify it to taste. CL -- CL Chris Lee CL [EMAIL PROTECTED] CL Daniel Harik [EMAIL PROTECTED] wrote in message CL

[PHP] Re: PHP scripts timeout

2002-01-03 Thread Fred
First of all, there is no need to worry about database connections, PHP does not count the time that it is waiting for database connections to complete. The best suggestion I can make is to try to determine if the scripts that time out have been passed a common post or get variable, that may be

[PHP] application variable

2002-01-03 Thread Ye Tun
Do we have application variable in PHP as in ASP? I have a small database running with user name and password kept in MySQL database. Once user is login, how can I prevent the same user from logging in again? REgards, Ye -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] test, pls del

2002-01-03 Thread louie miranda
test -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] php+mysql simple query help me pls! ty.

2002-01-03 Thread louie miranda
Hi, can someone help me here! :( I can't query the data on my sql from php. db is fine, i couldnt see the prob in php! pls help, ty. # MSQL ### mysql desc members; +--+-+--+-+-++ | Field

Re: [PHP] Re: PHP scripts timeout

2002-01-03 Thread charlesk
I have looked at the post variables and sometimes it times out when nothing is passed to it. Either through post get or cookie.(I know this from looking at the phpinfo that I dump everytime a script runs too long.) Its got me stumped. Hopefully someone someday will figure it out. Thanks

[PHP] find all the numeric positions of a character that appears in a string multiple times

2002-01-03 Thread David Yee
Hi guys. What is the best way to find all the numeric positions of a character that appears in a string multiple times? E.g. let's say I have the following string: $str = a href=http://foo.barbtest/b/a; And I want to parse the string and extract everything between . Now if the string only

[PHP] web page visitor simulation

2002-01-03 Thread Jason Bell
Hi! I would like to simulate a user, browsing to a webpage and logging in via a web form. is there a way to do this? I don't have curl installed, although I'm going to open a ticket asking if my host will install it I tried using the Snoopy class, but it doesn't seem to work... I

[PHP] Re: [PHP-DB] php+mysql simple query help me pls! ty.

2002-01-03 Thread louie miranda
yes, i forgot something, this = mysql_select_db(mydb,$db); i did not specify my db name. thanks :) louie - Original Message - From: Rick Emery [EMAIL PROTECTED] To: 'louie miranda' [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, January 04, 2002 4:06 AM

[PHP] Getting Sablotron to work on Windows 2000 w/Apache

2002-01-03 Thread Dan Lasaga
I am having great dificulty getting the php_sablot.dll to work on my system: My setup: Windows 2000 Apache 1.3 php 4.10 extension_dir = c:\php\extensions extension=php_sablot.dll I have confirmed that sablot.dll and sabcmd.exe are in my path and are functioning correctly The error I get when

[PHP] PHP XML with Dynamic Content

2002-01-03 Thread Emile Bosch
Hi a lot of todays proffesional content management systems use XML, now i was wondering how it's possible to mix XML with Dynamic Content, or content which is change sensitive, IE A shop, or an auction, let's say you have a shop with 1000 products, how am i gonna mix this in the XML? Does anyone

Re: [PHP] find all the numeric positions of a character that appears in a string multiple times

2002-01-03 Thread Kevin Stone
SPLIT to the rescue! Split tears up your string into lists (arrays) which you can cycle through and extract normaly. So this is going to look like hell but here we go... ? $str = a href=http://foo.barbtest/b/a; $str_list1 = split ('', $str); // Note: $str_list1 now == array (a

Re: [PHP] find all the numeric positions of a character that appears in a string multiple times

2002-01-03 Thread David Yee
Thanks Kevin- yeah I guess I'll have to chop up the string. David - Original Message - From: Kevin Stone [EMAIL PROTECTED] To: David Yee [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, January 03, 2002 12:30 PM Subject: Re: [PHP] find all the numeric positions of a character that

[PHP] Session Timeout

2002-01-03 Thread Ye Tun
What is the optionin php.ini for session timeout? here is my session setting. session.save_handler = files ; handler used to store/retrieve data session.save_path = /home/apache/newmob/tmp; argument passed session.use_cookies = 1 ; whether to use cookies

[PHP] APXS problem with compile. Please help :)

2002-01-03 Thread Stephen Loeckle
I am having a problem compiling the php module for apache. I have mod_so.c enabled: Compiled-in modules: http_core.c mod_so.c suexec: disabled; invalid wrapper bin/suexec I don't understand the last line though. Hopefully it's not a a problem. I am running perl 5.6.1 freshly downloaded and

Re: [PHP] APXS problem with compile. Please help :)

2002-01-03 Thread louie miranda
Hi, try to check if apxs is present in your $apache/bin/ directory. The output of /usr/local/apache/bin/apxs follows ./configure: /usr/local/apache/bin/apxs: bad interpreter: No such file or directory configure: error: Aborting If you compile your php w/mod_so support, hm. it should work but

Re: [PHP] printing php variable into html print $result; ?

2002-01-03 Thread charlesk
something like ? $result = mssql_query($sql); for ($i=0;$imssql_num_rows($result);$i++) { mssql_data_seek($result,$i); $row = mssql_fetch_object($result); echo $row-someColumnInTable; echo $row-someOtherColumnInTable; } ? -- Original Message

Re: [PHP] APXS problem with compile. Please help :)

2002-01-03 Thread louie miranda
If you compile your php w/mod_so support, hm. it should work but anyway, just try to compile it again if u have time. i mean apache :) sorry.. - Original Message - From: louie miranda [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 04, 2002 5:17 AM Subject: Re: [PHP]

[PHP] Sending Generic TCP/IP Data

2002-01-03 Thread Jonathan Hilgeman
I have a host and a port and I BELIEVE that the protocol is HTTPS but I'm not sure. In the event that it's not using HTTPS protocol - how would I go about sending just TCP/IP packets through a socket to the host, since cURL only supports certain protocols? - Jonathan -- PHP General

Re: [PHP] php+mysql simple query help me pls! ty.

2002-01-03 Thread Mehmet Kamil ERISEN
I hope I am not wrong, but the problem is with the mysql_result() functions. Instead, I would use: whilie ($myrow=mysql_fetch_array($result)) { //put whatever you like here. } and instead of mysql_result($result,0,asl) $myrow[asl] I hope this helps. from the manual

[PHP] printing php variable into html print $result; ?

2002-01-03 Thread louie miranda
Hi, is it possible to print the sql query? i mean i want to print the output of the command SELECT * FROM members; and output it into html, i tried print $result; -- it gives me different output.. Resource id #2 ty, louie... # PHP SCRIPT ### html

Re: [PHP] printing php variable into html print $result; ?

2002-01-03 Thread Mehmet Kamil ERISEN
use $sql = select .. ; $result = mysql_query($sql); echo $sql; --- louie miranda [EMAIL PROTECTED] wrote: Hi, is it possible to print the sql query? i mean i want to print the output of the command SELECT * FROM members; and output it into html, i tried print $result; -- it gives me

[PHP] Re: Form Validation class

2002-01-03 Thread Manuel Lemos
Hello, Daniel Harik wrote: Hello guys, at moment i'm reading Hack Proofing your web apps book, but it makes me scared, i have seen a class from newbienetwork.net(can't find it now), that validates user input, things like telephone number, state, country , email, and also can check if

[PHP] More on images...

2002-01-03 Thread Matthew Walker
Related to my last question about the cookies in images, is there any way to get the referrer from the calling page without passing it as an argument to the image generation script? Matthew Walker Ecommerce Project Manager Mountain Top Herbs --- Outgoing mail is certified Virus Free. Checked

[PHP] email user file upload

2002-01-03 Thread toni baker
I would like my php script to e-mail a file upload. Can someone give me an example of how this might be done? Thanks __ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com -- PHP General Mailing List

Re: [PHP] printing php variable into html print $result; ?

2002-01-03 Thread Philip Olson
A quick rewrite of your code: ?php $conn = mysql_connect($host, $user, $pass); if (!$conn) { echo 'Could not connect: '. mysql_error(); exit; } mysql_select_db($dbname); $sql= SELECT * FROM members; $result = mysql_query($sql); if (!$result) { echo 'Could

[PHP] Recursive Threading

2002-01-03 Thread Jonathan Chum
I'm using recursive threading for a simple thread board script, but the problem is the # of queries needed to execute. That is, once given the main thread post, it'll have to find all the posts where the parentID matches the current ID, then requery again for each of the post. So I'm trying to

[PHP] Re: Sending Generic TCP/IP Data

2002-01-03 Thread LaserJetter
use fsockopen to open a socket on the host and call it $f then fwrite($f,$data)?? would that work? LJ Jonathan Hilgeman [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have a host and a port and I BELIEVE that the protocol is HTTPS but I'm not sure. In the

Re: [PHP] If Statement with more than one conclusion

2002-01-03 Thread Adam Baratz
Switch statements work well for these situations as well. They might be faster than checking for the item in a list from an array since an array must be created and searched through. General programming tip: your method *definitely* wouldn't work. The or operator has precendence over the ==

[PHP] Re: Sending Generic TCP/IP Data

2002-01-03 Thread Jonathan Hilgeman
Possibly - I've hit a small stop for a bit. My goal is to create a PHP API for PsiGate/LinkPoint/CardService. I will let everyone know if anything comes up. Thanks! - Jonathan Laserjetter [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... use fsockopen to open a

Re: [PHP] APXS problem with compile. Please help :)

2002-01-03 Thread Stephen Loeckle
Thanks Louie! You rock! I can get a ./configure to work now, BUT (ack!) it bombs on the make now :( here's the output: (The next message will be the configure output in case it's needed) Making all in Zend make[1]: Entering directory `/root/php-4.1.1/Zend' make[1]: Nothing to be done for `all'.

Re: [PHP] email user file upload

2002-01-03 Thread steph
Ive seen this done with at least 2 scripts on hotscripts.com. http://www.hotscripts.com/Detailed/6329.html (Jack's Formmail, which is the one I use) and there's another but I cant seem to find it. Maybe check the code on these. Steph - Original Message - From: toni baker [EMAIL

Re: [PHP] APXS problem with compile. Please help :)

2002-01-03 Thread Stephen Loeckle
Configure output in case it's needed: loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... found checking for working

Re: [PHP] find all the numeric positions of a character that appears in a string multiple times

2002-01-03 Thread David Yee
Here's the function I came up with- seems to work: //finds all occurrences of $char in $temp and returns char positions in an array function char_positions($temp, $char) { while (strpos($temp, $char) !== FALSE){ //note the two '==' $found = strpos($temp, $char); $result[] =

[PHP] Has anyone tried Serlient?

2002-01-03 Thread Andrew Chase
Per Triplehash's website at http://www.triplehash.com/serlient: Triplehash Serlient lets you package, run and distribute your PHP and CGI-based websites into Windows software. Serlient does its work by combining intelligent web-server simulation software and web-browsing (Internet ExplorerR)

[PHP] Re: APXS problem with compile. Please help :)

2002-01-03 Thread Stephen Loeckle
Never mind :) I deleted the source directory and untared it again. I forgot I had been playing around in there a little too much LOL. Louie, you're the best! Everything works great now! Stephen Stephen Loeckle [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I

RE: [PHP] More on images...

2002-01-03 Thread Matthew Walker
Buh. That's the problem. There's no assurance that in will be used from a PHP script, so I can't do that. Mrrr. Let me explain what I'm doing, and someone can pipe up if they have a better idea. I'm writing a tracking module for a shopping cart system, so that we can track where people came to

[PHP] Re: More on images...

2002-01-03 Thread Joe Webster
$GLOBALS[ HTTP_REFERER ]; Matthew Walker [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Related to my last question about the cookies in images, is there any way to get the referrer from the calling page without passing it as an argument to the image generation

[PHP] Re: Recursive Threading

2002-01-03 Thread Philip Hallstrom
There's a couple of ways you could do this... - search zend.com and other PHP sites for something similar :) - pick up Joe Celko's SQL for Smarties which talks about building trees and graphs in SQL (which is what this is)... this can get kind of complicated though. or... - modify your table

Re: [PHP] XML Parsing Problem

2002-01-03 Thread Ben Gollmer
Huh - I guess it could be useful. I still think this should be an option you could set with xml_parser_set_option(), or something. In case anyone is interested, I solved the problem by creating a new global variable, $previousTag. Each time my character parsing function is called, it compares

[PHP] how can I add a variable to this sample

2002-01-03 Thread Tom Beidler
I have a large form that I would like to edit a number of records. I'm putting all of the fields into one array and then I would like to pull the fields independently from a loop. Here's part of the loop foreach ($z as $key = $value) { $service_type_insert = $x['$keyservice_type'];

[PHP] Re: More on images...

2002-01-03 Thread Mike Eheler
$HTTP_SERVER_VARS['HTTP_REFERER'] or (php 4.1.x) $_SERVER['HTTP_REFERER'] Mike Matthew Walker wrote: Related to my last question about the cookies in images, is there any way to get the referrer from the calling page without passing it as an argument to the image generation script?

[PHP] Re: how can I add a variable to this sample

2002-01-03 Thread Philip Hallstrom
$service_type_insert = $x[${key}service_type]; should work. On Thu, 3 Jan 2002, Tom Beidler wrote: I have a large form that I would like to edit a number of records. I'm putting all of the fields into one array and then I would like to pull the fields independently from a loop. Here's

[PHP] An idea for a PHP tool

2002-01-03 Thread Mike Eheler
Like google has it's toolbar, why not have a PHP Manual toolbar? That would be *great*. Just type in the function name and hit go and the manual comes up. One for Moz one for IE I'm sure would be appreciated. I'd do it myself, but I have not the ability to code in C (or C++ for that

  1   2   >