Re: [PHP] PHP command for issuing UNIX command???

2001-12-14 Thread J.F.Kishor
hello scott, Yes..! you can use system() comand It goes like this system("touch filename.ext"); // creates a file and file will be owned by nobody If you want to change the file permission do the following chmod("filepath/filename", 755); decimal; probably

Re: [PHP] seg fault with snmp

2001-12-14 Thread kancha
I did not get a core dump. I got following in my apache error log file [Sat Dec 15 13:35:19 2001] [notice] child pid 15278 exit signal Segmentation fault (11) [Sat Dec 15 13:35:19 2001] [notice] child pid 15277 exit signal Segmentation fault (11) [Sat Dec 15 13:35:19 2001] [notice] child pid 15

[PHP] Logout problem - help me out....!

2001-12-14 Thread J.F.Kishor
hello all, I have already posted this mail, Is there anyone to help me out?, it's urgent plz.! I have designed a web page using php, as a security measure I have kept it password protected. I have used Apache authentication, using htpasswd file. Now I want to keep a

Re: [PHP] seg fault with snmp

2001-12-14 Thread Brian Clark
* Kancha . ([EMAIL PROTECTED]) [Dec 15. 2001 01:46]: > i had compiled php with following configure > parameters. > > ./configure --with-apxs=/usr/sbin/apxs > --enable-calendar --with-pgsql --with-snmp > --enable-ucd-snmp-hack --enable-wddx --enable-sysvsem > --with-sysvshm --enable-inline-optim

Re: [PHP] seg fault with snmp

2001-12-14 Thread Yasuo Ohgaki
Kancha . wrote: > i had compiled php with following configure > parameters. > > ./configure --with-apxs=/usr/sbin/apxs > --enable-calendar --with-pgsql --with-snmp > --enable-ucd-snmp-hack --enable-wddx --enable-sysvsem > --with-sysvshm --enable-inline-optimization > --enable-ftp --with-gd --en

[PHP] Re: DOM XML?

2001-12-14 Thread Yasuo Ohgaki
Daniele Baroncelli wrote: > Hello, > > I would like to restyle one big site in XML and I would like some brief > straight info/suggestions. > > I am definitely interested in DOM XML, but as far as I can understand, the > module is still experimental and there to main risks: > - The module is no

[PHP] Re: Unable to return object references from functions

2001-12-14 Thread Yasuo Ohgaki
Manuel Lemos wrote: > Hello, > > I am trying to return a reference from an object created inside a > function and at the same time have the object stored in a global > variable. > > It seems that when I try doing it by assigning the object reference to a > function argument that is passed by re

Re: [PHP] seg fault with snmp

2001-12-14 Thread Kancha .
i had compiled php with following configure parameters. ./configure --with-apxs=/usr/sbin/apxs --enable-calendar --with-pgsql --with-snmp --enable-ucd-snmp-hack --enable-wddx --enable-sysvsem --with-sysvshm --enable-inline-optimization --enable-ftp --with-gd --enable-gd-native-ttf --with-openssl

Re: [PHP] seg fault with snmp

2001-12-14 Thread Rasmus Lerdorf
Backtrace? Works just fine for me on a RH-7.2 box. On Fri, 14 Dec 2001, Kancha . wrote: > I get segmentation fault when i try to execute > snmpwalk or any other snmp related functions. I'm > running php 4.1.0 on RH linux 7.2 with ucd-snmp that > comes along with the linux distribution. I compil

[PHP] seg fault with snmp

2001-12-14 Thread Kancha .
I get segmentation fault when i try to execute snmpwalk or any other snmp related functions. I'm running php 4.1.0 on RH linux 7.2 with ucd-snmp that comes along with the linux distribution. I compiled php with --with-snmp and the compilation was error free. phpinfo() alsow displyas the snmp infor

[PHP] Unable to return object references from functions

2001-12-14 Thread Manuel Lemos
Hello, I am trying to return a reference from an object created inside a function and at the same time have the object stored in a global variable. It seems that when I try doing it by assigning the object reference to a function argument that is passed by reference, nothing is returned in that

[PHP] Re: php4apache.dll please !!!!

2001-12-14 Thread Gaylen Fraley
Assuming your php folder is php, /php/sapi -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com/ PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwebsite/ "Rick" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... hi guys , could

[PHP] DOM XML?

2001-12-14 Thread Daniele Baroncelli
Hello, I would like to restyle one big site in XML and I would like some brief straight info/suggestions. I am definitely interested in DOM XML, but as far as I can understand, the module is still experimental and there to main risks: - The module is not completely stable - The functions are lik

[PHP] php4apache.dll please !!!!

2001-12-14 Thread rick
hi guys , could you tell me please , Where I can find the php4apache.dll ? Thanks , Ricardo

[PHP] What is the best way to reorder table columns...temp tables?

2001-12-14 Thread J. Roberts
I'm trying to update a report generator I have, using php and mysql. The setup is essentially listing employees and production data. What I did when I created it was for the column headers, made them links to requery the database..sample link follows (inside an anchor tag): "reports.php?userid=&d

Re: [PHP] Session storage and the --with-mm option

2001-12-14 Thread John Lim
This doesn't explain why mm is causing such a memory bloat though. Mark, are you storing big arrays as session variables? I am using mm myself for sessions and never have these problems (I only store less than 1K of data in sessions anyway). Regards, John Jeremy Allen <[EMAIL PROTECTED]> wrote

RE: [PHP] Opening a new window.

2001-12-14 Thread Michael J. Seely
HI Brandon, It's actually easy to do this is PHP. A tag will take a TARGET window attribute that will let you control what happens after the form is processed. The resultant page can appear in a new window, in the parent window, to the same window the form was used, to the full browser win

[PHP] preg match question

2001-12-14 Thread phantom
I am passing a string and making sure all the characters in that string are valid. Example: For a persons age I am using: if (!preg_match("/^[0-9]+$/", $Age)) echo "Enter numeric value for age". But how would I include the following characters as permissible in preg match ~!@#$%^&*()-=_+,.?

[PHP] Is PHP up to task?

2001-12-14 Thread René Fournier
(Now that I have your attention... :-) Here's the situation: All the navigational buttons in the site I'm working on have three different states (for mousovers--normal, mouseover, onClick). What I don't like: When I mouse over one button, it takes a second or two for the page to fetch the mous

RE: [PHP] Miscount

2001-12-14 Thread Daniel Alsén
Nope, that didn´t help. I am baffled here. One more interesting thing is that these two queries deliver different results. $num_vals = array (); for ($i=0; $i<10; $i++) { $shot_count = "SELECT COUNT(*) FROM statistik WHERE (shooter='$shooter_login' && shot_one = '$i') || (shooter='$shooter_lo

[PHP] MySQL date and NULL problems

2001-12-14 Thread sgibbs
Hi again, A few days ago, I sent in an inquiry (see below) about how to make the date field in mysql read NULL when the corresponding form field was empty. I tried the suggestions I received and the following if statements all seem to still result in a default -00-00 instead of NULL. / thi

RE: [PHP] Opening a new window.

2001-12-14 Thread Richard S. Crawford
Generally, I agree with you. Sometimes a small, no-controls window can be useful, though, if all it is is a spinoff form that closes as soon as it passes data to a CGI-script. At 03:00 PM 12/14/2001, Mark Charette wrote: >Nope - just opens a new window. > >Of course, personally, I'd like to t

RE: [PHP] Opening a new window.

2001-12-14 Thread Mark Charette
Nope - just opens a new window. Of course, personally, I'd like to take those people who turn off the toolbars and back buttons and whatevers on _my_ windows and put them in a speeding car down some highway with no brakes, no steering, a locked down accelerator, and no door handles ... "hey, budd

RE: [PHP] Opening a new window.

2001-12-14 Thread Richard S. Crawford
You can't really specify target window properties in straight HTML without getting rid of JavaScript. For what it's worth, here is a bit of JavaScript that I use on my home page to spawn a small window: function my_win() { window.open('mailsend.html','mywindow','width=333,height=410,toolbar=no

RE: [PHP] Opening a new window.

2001-12-14 Thread Richard S. Crawford
Do you mean having it open a window as the page is loading? Just include the javascript to open the new window in the tag, using the onLoad attribute. Of course, once the page has been loaded, you have to rely on JavaScript to do everything, because PHP only works on the server and not the

RE: [PHP] Opening a new window.

2001-12-14 Thread Mehmet Kamil ERISEN
that's a great point. Can you specify the target browser properties using html? Lise the Location bar, or the toolbar? I was actually using little popups with jscript. If I can get rid of JS that would be great. --- Mark Charette <[EMAIL PROTECTED]> wrote: > I would use "target="_blank" in the an

RE: [PHP] Opening a new window.

2001-12-14 Thread Brandon Orther
I wanted to know how I could have php open a window. Like can I have it print out some javascript to open a new window? Instead of someone having to click a link. Thanks Brandon -Original Message- From: Mark Charette [mailto:[EMAIL PROTECTED]] Sent: Friday, December 14, 2001 2:08 PM To

Re: [PHP] Miscount

2001-12-14 Thread Kevin Stone
I do not know if this will solve your problem but you should enclose each logical query segment with parenthesies... $shot_counts = "SELECT COUNT(*) FROM statistik WHERE (shooter='$shooter_login' && shot_one = '$t') || (shooter='$shooter_login' && shot_two = '$t') || (shooter='$shooter_login' &&

Re: [PHP] echo vs. print() performance?

2001-12-14 Thread Jim Lucas
I have a way of performance logging anything with php. Let me know what type of performance data you would like to see and I will do my best to get the data ready rather quickly. I will gather the data that I have collect over the past few months. It is a performance log of every part of php th

[PHP] Miscount

2001-12-14 Thread Daniel Alsén
Hi guys, still seem to have some trouble with this code. I solved the earlier issues, with your valuable help. But when i echo the results of the query it gives me the wrong results. I have never encountered a faulty count from mysql earlier. Are there any issues with the query i should consider?

RE: [PHP] Opening a new window.

2001-12-14 Thread Mark Charette
I would use "target="_blank" in the anchor tag so it would work just fine _without_ javascript ... Mark C. -Original Message- From: Mehmet Kamil ERISEN [mailto:[EMAIL PROTECTED]] I would use javascript for that. --- Brandon Orther <[EMAIL PROTECTED]> wrote: > Does anyone know how I cou

Re: [PHP] Opening a new window.

2001-12-14 Thread Mehmet Kamil ERISEN
I would use javascript for that. --- Brandon Orther <[EMAIL PROTECTED]> wrote: > Does anyone know how I could have php open a new windows > with the url I > specify? > > Thanx, > Brandon > = Mehmet Erisen http://www.erisen.com __ Do You Y

[PHP] Opening a new window.

2001-12-14 Thread Brandon Orther
Does anyone know how I could have php open a new windows with the url I specify? Thanx, Brandon

[PHP] file upload problem - Warning: Max file size of 8 bytes exceeded

2001-12-14 Thread Lee Philip Reilly
Hi, I have an HTML form containing a file upload form object called 'file'. When I submit the form (either holiding a path to a 1kb file or a 7MB file) I get the following error: - Warning: Max file size of 8 bytes exceeded - file [file] not saved in Unknown on line 0 - I had hoped that

[PHP] Function to parse the data from Integer to String

2001-12-14 Thread Scott Fletcher
HI! What's the PHP function that will parse the integer data to a string? The problem I'm having is that I use the date() and microtime() and assigned it to a variable. Later on, when I use this same variable but it have different time, meaning hte clock is still ticking inside the variable.

[PHP] Re: PHP command for issuing UNIX command???

2001-12-14 Thread Scott Fletcher
Found the problem! It's not hte file permission for those files you try to work with. You have to go up one directory and set the file permission of hte folder where those files are in and Viola! Weird? Isn't it? Scott "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">

[PHP] Re: Filenames with spaces in them

2001-12-14 Thread Mike Eheler
Ahh forget it .. I figured it out change to is_dir("$path/$file").. *smack* ignore this altogether mike Mike Eheler wrote: > Consider this code for traversing through a directory structure: > > > function traverse($path='.') { > $path = realpath($path); > $dir = opendir($path); > >

RE: [PHP] PHPhish Logo

2001-12-14 Thread Andrew Chase
Already used by PostgreSQL :) http://www.postgresql.org > -Original Message- > From: John Lim [mailto:[EMAIL PROTECTED]] > > P for Pachyderm! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP] Re: Filenames with spaces in them

2001-12-14 Thread Mike Eheler
I'll note that the erroneous command is the is_dir($file).. this causes the problem. Mike Mike Eheler wrote: > Consider this code for traversing through a directory structure: > > > function traverse($path='.') { > $path = realpath($path); > $dir = opendir($path); > > echo "\nDirecto

Re: [PHP] Sending out mass mail without having timeout problems ..

2001-12-14 Thread Paul Roberts
how do I do that on a virtual server? (Linux+apache, I'm just a user not admin) the con is that I can't afford the phone bill, I'm on a dial up (56K). Paul Roberts [EMAIL PROTECTED] - Original Message - From: "jimtronic" <[EMAIL PROTECTED]> To: "Paul Roberts" <[E

[PHP] Filenames with spaces in them

2001-12-14 Thread Mike Eheler
Consider this code for traversing through a directory structure: '; traverse(); echo ''; ?> Now when I run it in a directory that has a file with spaces in it's name.. for examples purposes, the file willbe called "file name with spaces". Directory : /home/mike/php/test -

[PHP] Re: PHP command for issuing UNIX command???

2001-12-14 Thread Scott Fletcher
I decided to try your suggestion and I did have a response. The response I got is ... -- clip -- sh[2]: drwxr-xr-x: not found. sh[3]: drwxr-xr-x: not found. sh[4]: -rwxrwxrwx: not found. sh[5]: drwxr-xr-x: not found. sh[6]: -rwxrwxrwx: not found. sh[7]: -rw-r--r--: not found. sh[8]: -rwxr

[PHP] Re: PHP command for issuing UNIX command???

2001-12-14 Thread Scott Fletcher
Wait a minute! I checked the Apache Error Log and it said file access permission do not allow the specified action. It can use the "cp" command and the original file. But it can not create the new file as result of hte copy command. Why is that? What are the way around? Thanks, Scott "Sco

[PHP] Re: PHP command for issuing UNIX command???

2001-12-14 Thread Scott Fletcher
Hi! When I use those PHP function, 1) "exec()", 2) "passthru()" and 3) "system()", they don't work. I suspect that I would need to enter the Environment Variable so I did the "putenv()" for the PATH, BASH, etc. But still does not work. Check file Permission and so on. (Can't use fopen() to create

Re: [PHP] Sending out mass mail without having timeout problems ..

2001-12-14 Thread Kevin Stone
You might try something like this. First estimate the number of emails that you can send out in 30 seconds (or however long the timeout is). Hard code that value into your script. Use the location header method to redirect the script back to its self sending along a new variable $row in the GET

RE: [PHP] Logo proposal - voting script!

2001-12-14 Thread Andrew Chase
Hmm, I get a 404 error as of 17:44 GMT. I hope that 'Mole' is one of the options on the list... I'm kind of inclined to defer to Rasmus on the issue anyway, what with him being the guy responsible for creating PHP in the first place. :) I'm also keeping in mind that (unless I missed something),

[PHP] Re: last entry in mysql

2001-12-14 Thread Phillip Oertel
Yoed Anis wrote: > hey guys, > > quick question I'm having trouble finding an answer too. > In a mysql database, how can I select that last row entry. This might be > done mins after i put that entry there and i tried to use: > $lastid=mysql_insert_id(); to get the last id but to no avail. > >

Re: [PHP] substr trim functions..

2001-12-14 Thread jimtronic
There are no shortage of ways to do this. // Using explode() ... echo array_pop(explode(" ",$full_name)); // Using split() ... echo array_pop(split(" ",$full_name)); // Using stristr() while($haystack = stristr($haystack," ")) { $haystack = substr($haystack,1); $last_wo

Re: [PHP] PHP command for issuing UNIX command???

2001-12-14 Thread Dan McCullough
check out system(); --- R'twick Niceorgaw <[EMAIL PROTECTED]> wrote: > take a look at http://www.php.net/manual/en/ref.exec.php for various methods > to run an external program. > > Alternatively, you can use fopen > (http://www.php.net/manual/en/function.fopen.php) to create the non existent > f

Re: [PHP] substr trim functions..

2001-12-14 Thread Nicolas Costes
$pos=strpso($line," "); $last=substr($line, $pos, strlen($line)); http://www.php.net/manual/en/function.substr.php http://www.php.net/manual/en/function.strpos.php http://www.php.net/manual/en/function.strlen.php @+++ Le Vendredi 14 Décembre 2001 17:11, Andras Kende a écrit : > I trying to con

Re: [PHP] Passing Variables-SOLVED

2001-12-14 Thread Steve Osborne
Thanks for the advice... just had to remember that the variable had to be in php tags, as in: Thanks for the help, problem solved. Steve. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contac

Re: [PHP] Passing Variables

2001-12-14 Thread jimtronic
Try this in your form ... >Can someone tell me how to pass a variable in the url? >I am using a form and calling a handler file as its action, as in: > > > >I've also tried single quotes around the variable $login, as in: > >METHOD="POST"> > >Anyone have any suggestions? > >Cheers, >Steve

[PHP] substr trim functions..

2001-12-14 Thread Andras Kende
I trying to convert some full names to last names only like: -get the subtext from the end until the space "joe blue" -> "blue" "bill western" - "western" Looked around at php.net docs but im not sure... Thanks Andras -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

[PHP] Passing Variables

2001-12-14 Thread Steve Osborne
Can someone tell me how to pass a variable in the url? I am using a form and calling a handler file as its action, as in: I've also tried single quotes around the variable $login, as in: Anyone have any suggestions? Cheers, Steve Osborne Database Programmer Chinook Multimedia Inc. [EMAIL PR

[PHP] Re: PHP command for issuing UNIX command???

2001-12-14 Thread J Smith
http://www.php.net/manual/en/ref.exec.php J Scott Fletcher wrote: > Hi! > > I wanted to know if there is a PHP code or function that would allow > the > PHP to issue the UNIX command. > > What I'm doing here is I'm trying to tell PHP to create a file by > issuing hte UNIX command

Re: [PHP] PHP command for issuing UNIX command???

2001-12-14 Thread R'twick Niceorgaw
take a look at http://www.php.net/manual/en/ref.exec.php for various methods to run an external program. Alternatively, you can use fopen (http://www.php.net/manual/en/function.fopen.php) to create the non existent file in PHP itself no need to run an external command (fopen (file_name, "w") will

RE: [PHP] Session storage and the --with-mm option

2001-12-14 Thread Jeremy Allen
Sessions by default will use the file system to store session data. Using the file system on a site that utilizes sessions moderately can be negative as far as performance goes. Using shared memory simply means that session data is now stored in shared memory. Shared memory is a bit more efficien

Re: [PHP] How to test the load

2001-12-14 Thread Dan McCullough
Try this link. http://www.webtechniques.com/archives/1999/07/stein/ --- jimtronic <[EMAIL PROTECTED]> wrote: > > Yes, load time, but in general just to see how much traffic a > server/script/db can handle and what performance is like. > > > >Is this to test load time? To see under what load t

[PHP] PHP command for issuing UNIX command???

2001-12-14 Thread Scott Fletcher
Hi! I wanted to know if there is a PHP code or function that would allow the PHP to issue the UNIX command. What I'm doing here is I'm trying to tell PHP to create a file by issuing hte UNIX command then I can use the PHP to open the file to enter the data. Once I'm done with the file,

[PHP] Session storage and the --with-mm option

2001-12-14 Thread Mark
I'm trying to cut down on the amount of memory that my apache proceeses use, I've noticed that when I have the --with-mm option set when I configure and compile PHP that the apache process goes up by about 40MB or more on the process table: USER PID %CPU %MEM VSZ RSS TTY STAT STA

Re: [PHP] How to test the load

2001-12-14 Thread Dan McCullough
I'll have to see where I can find it, but there are several scripts that will make requests in growing increments until either the server gives out or the script does. --- jimtronic <[EMAIL PROTECTED]> wrote: > > Yes, load time, but in general just to see how much traffic a > server/script/db c

Re: [PHP] Printing file PDF and not seve

2001-12-14 Thread burk
On Fri, 14 Dec 2001, rino wrote: > Is posible whit pdflib print file pdf only in browser client and > not save file Yes. The first example of the php pdflib docs show doing exactly that on this page: http://www.php.net/manual/en/ref.pdf.php and it does work. -burk -- [EMAIL PROTECTED]

Re: [PHP] How to test the load

2001-12-14 Thread Phil Glatz
At 09:35 AM 12/14/2001 -0500, jimtronic wrote: >This may be more of webserver question, but what methods are used to test >the load on a php script or a family of scripts. Start with "ab", the Apache stress tester that comes with the Apache distribution. Microsoft also has a free stress testin

Re: [PHP] How to test the load

2001-12-14 Thread jimtronic
Yes, load time, but in general just to see how much traffic a server/script/db can handle and what performance is like. >Is this to test load time? To see under what load the script >finially craps out, or the server? >--- jimtronic <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> This may be mo

Re: [PHP] How to test the load

2001-12-14 Thread Dan McCullough
Is this to test load time? To see under what load the script finially craps out, or the server? --- jimtronic <[EMAIL PROTECTED]> wrote: > > Hi, > > This may be more of webserver question, but what methods are used to > test the load on a php script or a family of scripts. > > I'm guessing t

Re: [PHP] another easy question that is stumping me...

2001-12-14 Thread Dan McCullough
if ($x != "1") { header ("location: index.php"); } else { header ("location: cart.php?sid=$sid"); } --- "Ward, Mark" <[EMAIL PROTECTED]> wrote: > Hello all, > > I've got another problem that is bothering me, yet I'm sure it should be > very easy to fix. > > Within my PHP script I want to redir

[PHP] What do admins put in their open_basedir?

2001-12-14 Thread Marc Delisle
Hi, I am checking if phpMyAdmin's dump file uploads could work well in a open_basedir environment. So I would like to know if sysadmins generally put "." in their php.ini open_basedir variable, or if they put a special directory. Thanks. -- Marc Delisle phpMyAdm

[PHP] How to test the load

2001-12-14 Thread jimtronic
Hi, This may be more of webserver question, but what methods are used to test the load on a php script or a family of scripts. I'm guessing that apache (or equiv) would have a problem before PHP under a heavy amount of traffic, right? -- Jim Musil - Multimedia Programmer Nettmedia -

[PHP] another easy question that is stumping me...

2001-12-14 Thread Ward, Mark
Hello all, I've got another problem that is bothering me, yet I'm sure it should be very easy to fix. Within my PHP script I want to redirect the user to another page depending on the condition. If the user fails to meet the condition, I want to send them back to the start page. If they do mee

[PHP] What do admins put in their open_basedir

2001-12-14 Thread Marc Delisle
Hi, I would like to know if sysadmins usually put "." in their php.ini, open_basedir variable, or if they put some other directory, or both. The reason is that phpMyAdmin's dump uploads don't work well currently on a server with open_basedir, and I would try to code around the problem, if pract

Re: [PHP] Logo proposal - first thought

2001-12-14 Thread Dan McCullough
No alas I can not take credit for the drawing, my better half who is a creative web designer made the comp, and I will give her your feedback so she can do a second comp. --- Julio Nobrega Trabalhando <[EMAIL PROTECTED]> wrote: > Hey, love the colors! But that's a regular ant. Where's the catch

[PHP] open_basedir: what is a typical setting?

2001-12-14 Thread Marc Delisle
Hi, I would like to know from sysadmins, what do you put usually in your open_basedir? It is mostly "."? This is to check if/how we could make phpMyAdmin's dump uploads work on an open_basedir server. Thanks. -- Marc Delisle phpMyAdmin dev. team -- PHP Gener

Re: [PHP] Logo proposal - first thought

2001-12-14 Thread Billy Harvey
> "Dan McCullough" <[EMAIL PROTECTED]> wrote >> http://www.heathermccullough.com/php_logo.gif Julio Nobrega Trabalhando wrote: > I don't know, usually when something common can be found on a design > there's a little mod added. Perhaps the addition of a small red stinger would that extra visu

[PHP] Re: Looping?

2001-12-14 Thread Tony Arnold
Thank you all for very good and quick answers. They did help! :-) / Tony... "Tony Arnold" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, I don't know if I'm in the right newsgroup but I'll give it a try... > :-) > > How can I make the following work: >

Re: [PHP] Printing file PDF and not seve

2001-12-14 Thread Miles Thompson
George, What have you done to prevent storage of PDF's? I would love to know? We're gnashing our teeth over a distribution problem. Miles Thompson At 11:10 AM 12/14/2001 +, George Pitcher wrote: >Don't think so. The whole premise of PDFs is that they are downloaded to the >client's machine

Re: [PHP] Looping?

2001-12-14 Thread Johan Holst Nielsen
> > > >How can I make the following work: > >function start($times) >{ >for...loop starts here... >{ <-- notice only one bracket. >} > >function end() >{ >} <-- the ending bracket. >} > >start('10'); >html-code... I want this to be repeated 10 times. >e

Re: [PHP] Re: ordered alpabeticaly list

2001-12-14 Thread Rodrigo Peres
Hi list, I'm using this script to generate an alphabetical list of names, and a .gif as separator. Thank's Gerard onorato for the code. But I'd like a help to make something that I always have problem. At this moment my script outputs a html table with 1 column, how can I make it outputs a 3 colu

Re: [PHP] Looping?

2001-12-14 Thread Michael Sims
At 01:37 PM 12/14/2001 +0100, Tony Arnold wrote: >start('10'); > html-code... I want this to be repeated 10 times. >end(); > >This doesn't work but this is how I want it! :-) Anyone? How about using alternate syntax? For example: html-code http://www.php.net/manual/en/control-st

Re: [PHP] Looping?

2001-12-14 Thread m.caprari
On Fri, 2001-12-14 at 13:37, Tony Arnold wrote: Hi > function start($times) > { > for...loop starts here... > { <-- notice only one bracket. > } I guess you're only going to get parsing errors this way. maybe this could work (if i'm guessing what you need): function s

Re: [PHP] Looping?

2001-12-14 Thread Christian Cresante
Hello. The easiest and cleanest way to do is use something like: function start($times) { for loop { ?> //END php tag // Spit out the HTML. wrote: > Hello, I don't know if I'm in the right newsgroup > but I'll give it a try... > :-) > > How can I make the following work: > > function

[PHP] Looping?

2001-12-14 Thread Tony Arnold
Hello, I don't know if I'm in the right newsgroup but I'll give it a try... :-) How can I make the following work: function start($times) { for...loop starts here... { <-- notice only one bracket. } function end() { } <-- the ending bracket. } start('10

[PHP] SuSE 7.3 php 4.06 Mcrypt problems.

2001-12-14 Thread Evan Cross
Hi, Im realtivley new to php so this mught be a bit of a dumb question (I dont think so though:) ). Im trying to get the Mcrypt functions to work as I wish to encrypt so data and store it in a file on the system. However when I try this i recieve the following Warning: mcrypt module initiali

Re: [PHP] Logo proposal - first thought

2001-12-14 Thread Julio Nobrega Trabalhando
Hey, love the colors! But that's a regular ant. Where's the catch twist exclusive hidden feature? It's an ant, but ain't no ant like other ant :-) I don't know, usually when something common can be found on a design there's a little mod added. Did you draw it? On 1024 video resolution look

RE: [PHP] phplib???

2001-12-14 Thread Matt Williams
> It is a external library with useful PHP functions. It was designed > by some German guys, but you can now forget it. Main feature was the > session function and that function is now integrated in the PHP > extensions. > Maybe not quite forget as easily as that. PHPLib offers very good user

Re: [PHP] Template class

2001-12-14 Thread Ulf Wendel
Wolfram Kriesing wrote: > i just wanted to say what i had to write, because i didnt see any of > the existing template classes/engines provide me with that Go for Smarty or use PHP. Ulf -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

Re: [PHP] Printing file PDF and not seve

2001-12-14 Thread George Pitcher
Don't think so. The whole premise of PDFs is that they are downloaded to the client's machine for local viewing (even on-line). What you need to think about is what security you can build in which although not preventing storage, prevents any unwanted use such as passing on to others etc. We've d

[PHP] Printing file PDF and not seve

2001-12-14 Thread rino
> > Is posible whit pdflib print file pdf only in browser client and not save > file > > Thank you > -- 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:

[PHP] Printing file PDF and not seve

2001-12-14 Thread rino
Is posible whit pdflib print file pdf only in browser client and not save file Thank you

Re: [PHP] read php shared memory with C

2001-12-14 Thread Andrey Hristov
Read zend.h to see the structure of zval (the main zend strucutre). Regards, Andrey Hristov - Original Message - From: "César Gómez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 13, 2001 10:46 AM Subject: [PHP] read php shared memory with C > Hi all, > > Any one

Re: [PHP] Supressing PHPSESID from url

2001-12-14 Thread Andrey Hristov
I don't know if theWap browser can support cookies but the cookies are the silent way. also you can change the name of the Session_id (in php.ini) or generate it by yourselft. reduce it's length but that means reduced security. try inserting hidden fields in the forms. Regards, Andrey Hristov -

[PHP] read php shared memory with C

2001-12-14 Thread César Gómez
Hi all, Any one knows how to read a memory segment shared by php in C? I know how to read data from shared memory in C when the segment contains a (char *) or other type but PHP store the data like a Hash and I don't know to read it. Thanks in advance. P.D: Sorry for my English -- PHP Gen

[PHP] Supressing PHPSESID from url

2001-12-14 Thread Alex Vargas
Hi, I am making a wap application and I am using PHP's session handler. I pass different values between scripts and I end up with an url which seems to be too long: nextscript.php?var1=something&var2=else&PHPSESID=5345345345...whatever As I have found out, some wap browsers simply crash if the

[PHP] Is there a way to Unset environment variables ?

2001-12-14 Thread J.F.Kishor
hello all, I have got a problem I want to remove one or more evvironment variables from those passed by apache authentication. eg : $PHP_AUTH_USER, $PHP_AUTH_PW, REMOTE_USER and similar ones I went through apache documentation and I found some options like "PassEnv, SetEnv and UnsetEnv", is t

[PHP] Header error while creating an Image

2001-12-14 Thread J.F.Kishor
hello, I'am trying to create an image using php image functions it gives a warning and outputs a image with GIF87a format, why does this happen, could some help me out in this problem. This is the script -- Warning alerted is ---

[PHP] IIS 4 & auto prepend

2001-12-14 Thread Jeroen Geusebroek
Hi there, Is it possible with IIS4 to have PHP auto prepend a PHP script, similair to the way Apache can do this with for example a .htaccess file or a server directive? I know i can do this also in the PHP.ini, but i'm running multiple virtual servers so this is not an option. Thanks, Jeroe