[PHP] real time output from log file?

2006-04-17 Thread Jason Gerfen
Anyone use php to tail a log file for patterns and perhaps updating a iframe or something similar? If so do you have a link to some resources on it? -- Jason Gerfen "You will never be ready for me." ~ Me -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

Re: [PHP] Creating a Photo Album

2006-04-07 Thread Jason S. Motes
. The only thing I k.now how to do well in PHP is mysql queries and data validatlion. [/snip] I would look at coppermine to see how they do it. http://coppermine-gallery.net/index.php -- Jason S. Motes php at imotes.com www.imotes.com -- PHP General Mailing List (http://www.php.net/) To

[PHP] Apache/PHP/MySQL/OpenSSL upgrade question

2006-03-24 Thread Jason Gerfen
epreciated. Any idea how I can get this to start with SSL enabled on port 443? -- Jason Gerfen "You will never be ready for me." ~ Me -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Merging two partially-transparent images results in black pixels

2006-03-18 Thread Jason Young
rtransparent on portions that are definitely transparent in Photoshop, etc. Any help would be much appreciated! Thank you -Jason Young -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP files in the SRC attribute of an SCRIPT element

2006-03-17 Thread Jason Gerfen
</tt><tt>suggestions, please let me know. </tt><tt> </tt><tt>Thank you! </tt><pre style="margin: 0em;"> </pre><tt> </tt><tt>On 3/17/06, *Jason Gerfen* <[EMAIL PROTECTED] </tt><tt><<a rel="n

Re: [PHP] Re: PHP files in the SRC attribute of an SCRIPT element

2006-03-17 Thread Jason Gerfen
p.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Jason Gerfen Student Computing Labs, University Of Utah [EMAIL PROTECTED] J. Willard Marriott Library 295 S 1500 E, Salt Lake City, UT 84112-0860 801-585-9810 "You will never be ready for me." ~ Me -- PHP Gener

[PHP] supressing warnings in error_log

2006-03-02 Thread Jason Gerfen
I would like to know how to suppress Warning error_log entries dealing with undefined vars: eg. Undefined index: del_pxe in /test.php on line 33, referer: http://website.com/index.php -- Jason Gerfen Student Computing Labs, University Of Utah [EMAIL PROTECTED] J. Willard Marriott Library 295

[PHP] More CLASS help

2006-02-28 Thread Jason Gerfen
I am not sure if what I am doing here is a problem or not. Pointers? class mySubnet { var $data; function SubnetSettings( $level, $add_vlan, $edit_vlan, $del_vlan ) { $subnets = new mySubnet; } } -- Jason Gerfen "When asked what love is: Love is the Jager talking." ~Craig Bal

[PHP] Class calling Class returning 'object'

2006-02-27 Thread Jason Gerfen
ta; // If I do echo $data I can see the results of calling the myAuthTmplte Class } // myAuthTmplte class class myAuthTmplte { var $data; function AuthTemplate( $cmd, $args, $num, $message, $errors ) { $data = "I should be seeing this text right here"; // This data should be displaye

[PHP] classes and return values

2006-02-27 Thread Jason Gerfen
!"; } $data = new myAuthTmplte(); $data->auth_template( 1, NULL, NULL, NULL, $errors ); logs( $error_message['str_chk'] ); } } } -- Jason Gerfen Student Computing Labs, University Of Utah [EMAIL PROTECTED] J. Willard Marriott Library 295 S 1500 E, Salt Lake City, UT

Re: [PHP] $_POST to function? [SOLVED]

2006-02-24 Thread Jason Gerfen
Peter Lauri wrote: http://th.php.net/manual/en/function.return.php -Original Message- From: Jason Gerfen [mailto:[EMAIL PROTECTED] Sent: Saturday, February 25, 2006 12:29 AM To: Peter Lauri Cc: php-general@lists.php.net Subject: Re: [PHP] $_POST to function? Peter Lauri wrote

Re: [PHP] $_POST to function?

2006-02-24 Thread Jason Gerfen
Peter Lauri wrote: Is the function actually returning anything? Aren't you just "echoing" the content of the $_POST? -Original Message----- From: Jason Gerfen [mailto:[EMAIL PROTECTED] Sent: Friday, February 24, 2006 10:27 PM To: PHP General (E-mail) Subject: [PHP] $_POST

Re: [PHP] $_POST to function?

2006-02-24 Thread Jason Gerfen
ssage- From: Jason Gerfen [mailto:[EMAIL PROTECTED] Sent: 24 February 2006 15:27 To: PHP General (E-mail) Subject: [PHP] $_POST to function? I am not sure why this is not working. Aren't $_POST vars superglobals? I am trying to pass the $_POST array as an argument to a function and nothin

Re: [PHP] Re: $_POST to function?

2006-02-24 Thread Jason Gerfen
. -- Jason Gerfen "When asked what love is: Love is the Jager talking." ~Craig Baldo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: $_POST to function?

2006-02-24 Thread Jason Gerfen
Vidyut Luther wrote: Since $_POST is a superglobal, it should not lose scope inside a function() call. I could be wrong though. Also, curious if $args is empty.. what is $num and $message. ? Also.. you're calling a function in your return statement ? On 2/24/06, Jason Gerfen &l

[PHP] Re: $_POST to function?

2006-02-24 Thread Jason Gerfen
Tanoor Dieng wrote: Hi, are there some variables in your post array(aka are you sure that $_POST is not empty)? Normally this should works. Tanoor. 2006/2/24, Jason Gerfen <[EMAIL PROTECTED]>: I am not sure why this is not working. Aren't $_POST vars superglobals? I am try

[PHP] $_POST to function?

2006-02-24 Thread Jason Gerfen
$cmd, $args, $num, $message ) { echo ""; print_r( $args ); echo ""; } -- Jason Gerfen "When asked what love is: Love is the Jager talking." ~Craig Baldo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [How-to]flatfile New system with comments

2006-02-23 Thread Jason Gerfen
. HTH -- Jason Gerfen "When asked what love is: Love is the Jager talking." ~Craig Baldo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] databases, loops and tables oh my...

2006-02-23 Thread Jason Gerfen
DNS:$dns01 DNS:$dns02 Gateway:$router Vlan:$vlan Scope:$range1 - $range2 " . $tr; $i++; } $subnets .= ""; -- Jason Gerfen "When asked what l

RE: [PHP] Re: array variables with or without quotes

2006-02-22 Thread Jason Karns
like a key. If it is found as a constant, then the constant's value is used as the key. Jason -Original Message- From: Chuck Anderson [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 3:30 PM To: php-general@lists.php.net Subject: [PHP] Re: array variables with or with

Re: [PHP] Looping from A to Z

2006-02-20 Thread Jason Motes
Richard K Miller wrote: Good afternoon. I'm having trouble getting PHP to loop from A through Z. Here is what I tried, coming from a C background: for ($l = "A"; $l <= "Z"; $l++) echo $l; I use this: for($i='a'; $i != 'aa'; $i++){ print $i; | -- PHP General Mailing List (http://w

Re: [PHP] php & ajax

2006-02-15 Thread Jason Gerfen
x27;#616042'>\n\n"; foreach ($myBuddyNodes as $node) { echo ""; echo "size='-1'>".$node->firstChild->nextSibling->nodeValue.""; if($node->firstChild->nextSibling->nextSibling->nextSibling->nodeValue == &

Re: [PHP] Window close.

2006-02-07 Thread Jason Petersen
orer). I believe the window.opener property is read-only in Firefox and probably other browsers. At the very least, I wouldn't rely on this method. Jason

Re: [PHP] PHP Application Vuln. Testing

2006-02-07 Thread Jason Gerfen
Richard Davey wrote: On 7 Feb 2006, at 16:54, Jason Gerfen wrote: Is there any product available, commercial or free which performs source code auditing which *specificly searches PHP code for SQL, XSS type of attacks or vulnerabilities? TIA. No. But there are people who can perform

[PHP] PHP Application Vuln. Testing

2006-02-07 Thread Jason Gerfen
code auditing which *specificly searches PHP code for SQL, XSS type of attacks or vulnerabilities? TIA. -- Jason Gerfen "the life you live ignoring who, ignoring who you're giving money to. and you, you support the corrupt industries and companies who dont think to care. guilty...gui

Re: [PHP] Re: [Off] Cheap SSL certificates?

2006-02-03 Thread jason
> Problem is when you have cheap ssl certs they might pop up in browser on > visit, when they are not in the browser cert list though. > > I just know verisign, and truesign. but kinda expensive > -- > Smileys rule (cX.x)C --o(^_^o) > Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o) I use GoDaddy pe

Re: [PHP] absolute vs relative path?

2006-01-28 Thread Jason Petersen
echo it before any path to a resource on the site. global $PATH; echo "\n"; Jason

Re: [PHP] ID vs NAME in different browsers

2006-01-28 Thread Jason Petersen
> present. Others might not. Can anyone tell me about what browsers do what? HTML Forms should always use the NAME attribute to pass values, never ID. You can use print_r($_REQUEST); at the top of your script to debug. Jason

[PHP] XMPP Gateways

2006-01-21 Thread Jason Parkils
Can PHP interact with GoogleTalk like this bot built in ASP I think: - add the following user to your GTalk: [EMAIL PROTECTED] - send it a msg

[PHP] this is a test

2006-01-21 Thread Jason Parkils
this is a test

[PHP] testing

2006-01-21 Thread Jason Parkils

Re: [PHP] mcrypt

2006-01-13 Thread Jason Gerfen
ething? When I encrypt/decrypt same script it works fine. Maybe something to do with these? $iv_size = mcrypt_get_iv_size(MCRYPT_BLOWFISH, MCRYPT_MODE_ECB); $iv = mcrypt_create_iv($iv_size, MCRYPT_RAND); Thanks, Scott Duffy Look at trim(). And your right it does have to do with usi

Re: [PHP] Help getting PHP and GPG to work

2006-01-09 Thread Jason Petersen
# su apache And generate a GPG key: $ gpg --gen-key Read the GPG documentation to learn how to import and export keys. When you're done, don't forget to edit /etc/password and set apache's shell back to /bin/false. Hope this helps! Jason

Re: [PHP] Help getting PHP and GPG to work

2006-01-09 Thread Jason Petersen
, then mail() it. (Of course it goes without saying that care should be taken to restrict possible access to the tempfiles, and delete them when they're no longer needed) Have you set up a public key for the web server (httpd)? Jason

Re: [PHP] Graphically displayed number to confirm user is a human

2006-01-04 Thread Jason Pappin
John Meyer wrote: > Duncan Hill wrote: > >>On Wednesday 04 January 2006 16:56, Dave M G wrote: >> >> >> >>> First, is there a term for these kinds of images, or that kind of >>>verification system? What would be the best search terms to look for >>>source scripts? >>> >> >>captcha >> >>

Re: [PHP] Newbie question: need to transfer directory contents from my local machine to my website

2006-01-04 Thread Jason Pappin
enough to set up even if you are on a dial up connection. Regards Jason Jon Westcot wrote: > Hi all: > > I'm really new at PHP and will probably embarrass myself many times > over asking questions that have been asked gazillions of times > before, so let this serve as a bl

[PHP] Repost: GD/Freetype text problems with bold or size < 8

2005-12-27 Thread Jason Young
Is anyone able to assist with this? I need to have 6 point fonts looking like they should, instead of all scrunched up. Paid consultation okay, if that's what's stopping an answer. What needs to be changed in the bundled GD source to make these fonts look decent? Thank you. J

[PHP] GD/Freetype text problems with bold or size < 8 - Followup

2005-12-22 Thread Jason Young
be displayed, had this been standard system fonts in a browser or other application. If anyone has had experience with rendering text, I would really appreciate some hints on how to tweak GD to make things look proper. Thanks Jason Young wrote: Currently, I'm running PHP 5.0.4 (only bec

[PHP] GD/Freetype text problems with bold or size < 8

2005-12-21 Thread Jason Young
Currently, I'm running PHP 5.0.4 (only because it's the only one I can get to work on my FC4 x64 install!), but for some reason, using pixel sizes under 8, or using bold fonts, makes the text look horrible. My old host (1&1 in case anyone else has them..) had this working well, but I have no ide

Re: [PHP] Blocking Values From an External Source

2005-12-16 Thread Jason Gerfen
$_SERVER['DOCUMENT_ROOT'] Or, something similar. http://us2.php.net/reserved.variables Hth, Cheers, Micky -- Jason Gerfen "Oh I have seen alot of what the world can do, and its breaking my heart in two..." ~ Wild World, Cat Stevens -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Preventing Cross Site Scripting Vulnerbilities

2005-12-07 Thread Jason Gerfen
( $string ) { if( eregi( "^[0-9a-z_ -]$", $string ) ) { return 0; } else { return 1; } } if( chk_input( $string ) == 0 ) { echo "valid"; } else { echo "invalid"; } -- Jason Gerfen "Oh I have seen alot of what the world can do, and its breaking my heart in two...

Re: [PHP] Anyone getting bounces from

2005-12-07 Thread Jason Gerfen
Yeah, I am recieving the same. Jay Blanchard wrote: [EMAIL PROTECTED] ? I am getting failure notices out the wazoo for some very old messages to the general list. -- Jason Gerfen "Oh I have seen alot of what the world can do, and its breaking my heart in two..." ~ Wild

Re: [PHP] What software do you use for writing PHP?

2005-12-06 Thread Jason Petersen
use? > Vim is my editor of preference. If I have to use Windows, I usually go with Homesite (because I already have a licensed copy) or Textpad (because it's better than Notepad). IDEs? Who needs 'em ;) Best, Jason

Re: [PHP] Browser Control Help

2005-12-05 Thread Jason Petersen
elp with these. But if you come on this list and demand ridiculous things, don't expect to be taken seriously. A better way to ask your original question would have been: "How can PHP help protect web content?" Best, Jason On 12/5/05, Chirantan Ghosh <[EMAIL PROTECTED]> wr

Re: [PHP] Re: Problems with PHP and Apache 2.x 404 ErrorDocument handlers

2005-12-01 Thread Jason Z
the latest PHP version that your script > used, if you post the code someone may be able to say if something is > wrong with it. > > James > > > > Jason Z wrote: > > I used to have a number of sites direct 404 errors towards PHP scripts > for > > error handlin

[PHP] Problems with PHP and Apache 2.x 404 ErrorDocument handlers

2005-12-01 Thread Jason Z
spell --with-swf=/Archives/Linux/LibSWF/dist --with-xmlrpc --with-pear --with-mysql --with-gmp --with-expat-dir=/usr Thank you for any assistance anyone is able to offer regarding this issue. Jason Ziemba

Re: [PHP] PHP on Mobile Devices(Pocket PC specifically)

2005-11-30 Thread Jason Wong
e successfully run FUDforum using Apache2/PHP4/MySQL on my Zaurus. Ruby on Rails works as well albeit a tad slow -- I need to figure out how to get fastcgi working. And unlike WM devices, you can run *real* browsers, Firefox and Mozilla are available. -- Jason Wong -> Gremlins Associates

RE: [PHP] Re: [PHP-DB] Drag and Drop with PHP and MySQL

2005-11-20 Thread Jason Karns
I've used this (radlinks upload) on one of my sites and it works great. Drag and drop, even multiple files. Jason Karns ~~~ Web Designer & Applications Programmer 3AM Productions - Things look different @3AM -Original Message- From: Joe Harman [mailto:[EMAIL PROTECT

Re: [PHP] compiling php to use imagettftext

2005-11-15 Thread Jason
seems like as soon as I post to the list, I end up figgereing it out.. anyway, heres what ended up working. ./configure -v --with-oci8=/apps/oracle --with-apxs=/local/apache-1333/bin/apxs --with-gd=/local/stuff --with-mysql=/local/stuff --with-curl --with-imap=/local/jason/imap-2002d --with

[PHP] compiling php to use imagettftext

2005-11-15 Thread Jason
=/local/stuff --with-curl --with-imap=/local/jason/imap-2002d --with-config-file-path=/local/apache/libexec --enable-bcmath --enable-calendar --with-zlib --with-dom --with-db4=/local/stuff --with-dba --with-gettext --with-iconv --with-mcrypt=/local/stuff --with-openssl=/local/stuff --with-mcal

[PHP] if statement help

2005-11-03 Thread Jason Gerfen
quot; ) ) { // do something fancy } -- Jason Gerfen "My girlfriend threated to leave me if I went boarding... I will miss her." ~ DIATRIBE aka FBITKK -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Using PHP for accsess control, preventing access to static files

2005-10-27 Thread Jason Motes
fed. IndexIgnore * SetEnvIfNoCase Referer "^http://example.com/viewer.php"; local_ref=1 Order Allow,Deny Allow from env=local_ref Jason Motes php at imotes.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] str_split() and errors?

2005-10-26 Thread Jason Gerfen
str_split() in file.php on line 21 -- Jason Gerfen "My girlfriend threated to leave me if I went boarding... I will miss her." ~ DIATRIBE aka FBITKK -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] regex and global vars problem

2005-10-26 Thread Jason Gerfen
rned from the fix_mac() function as an empty string. Jasper Bryant-Greene wrote: On Wed, 2005-10-26 at 12:07 -0600, Jason Gerfen wrote: Um I did actually, but I will re-interate the problem with more detail. the vars $mac1, $mac2, & $mac3 are to get passed to the chk_mac() functi

Re: [PHP] regex and global vars problem

2005-10-26 Thread Jason Gerfen
uot;$mac2 is valid."; } if( chk_mac( $mac3 ) != 0 ) { $mac = fix_mac( $mac3 ); echo $mac3 . " converted to " . $mac . ""; } else { echo "$mac3 is valid."; } if( chk_mac( $mac4 ) != 0 ) { $mac = fix_mac( $mac4 ); echo $mac4 . " converted to " . $mac . &qu

[PHP] regex and global vars problem

2005-10-26 Thread Jason Gerfen
$mac = fix_mac( $mac2 ); echo $mac2 . " converted to " . $mac . ""; } else { echo "$mac2 is valid."; } if( chk_mac( $mac3 ) != 0 ) { $mac = fix_mac( $mac3 ); echo $mac3 . " converted to " . $mac . ""; } else { echo "$mac3 is valid.&qu

[PHP] Using .htaccess files with PHP CGI

2005-10-18 Thread Jason Kovacs
want to set 'session.save_path' for each virtual host to a directory other than the one set in php.ini that only apache can read/write to since my suexec'd php cgi binary can only write session data to a directory owned by the virtual host user. How can this be done? Any help would be appreciated, thanks. -Jason Kovacs

Re: [PHP] fckeditor and PDF and pesky users

2005-10-17 Thread Jason Kovacs
Richard Lynch said the following on Monday, October 17, 2005 3:30 PM: On Fri, October 14, 2005 6:03 pm, Jason Kovacs wrote: Richard Lynch said the following on Friday, October 14, 2005 3:39 PM: I added a custom drop-down menu to FCKEditor's Link window that fills in the URL upon sele

RE: [PHP] fckeditor and PDF and pesky users

2005-10-17 Thread Jason Karns
a deprecated tag, but using an embed tag with a src value pointing to a PDF file (with appropriate height/width) will render the entire Adobe plugin with toolbars and all directly in the page, as demonstrated here: http://www.cstv.com/auto_pdf/p_hotos/s_chools/osu/sports/m-footbl/auto_pdf/w eekly-release Jason Karns -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP5+FastCGI Segmentation Fault

2005-10-17 Thread Jason Kovacs
configuration in my setup? How do I troubleshoot this? Any help would be appreciated, thanks. -Jason Kovacs

Re: [PHP] fckeditor and PDF and pesky users

2005-10-14 Thread Jason Kovacs
ad many non-technical users working with this utility just fine for about 6 months, so it works and though its not the most graceful implementation from a developer's standpoint, it makes the user interface easiest to work with. -Jason Kovacs -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problem w/ Hidden Input Fields

2005-10-10 Thread Jason Ferguson
so I need help ASAP. Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Patch for Suexec for Virtual Hosts to use PHP with FastCGI

2005-10-07 Thread Jason Kovacs
ogs/fastcgi FastCgiWrapper /usr/local/apache2/bin/suexec FastCgiServer /home/fcgi-bin/php-fcgi -user php-cgi-shared -group php-cgi-shared SetHandler fastcgi-script Options +ExecCGI AddHandler php-fastcgi .php Action php-fastcgi /fcgi-bin/php-fcgi Please respond with your comments on my method, and if it's generally correct and others are interested in using it, I can post my changes to suexec.c. Thanks, Jason Kovacs

Re: [PHP] FTPS transfers

2005-09-26 Thread Jason Petersen
On 9/26/05, Jim Moseby <[EMAIL PROTECTED]> wrote: > > > Try adding > > ftp_pasv ( $conn, true ); > > JM > Jim, That did the trick! Many thanks.. Jason

[PHP] FTPS transfers

2005-09-26 Thread Jason Petersen
created with a filesize of zero. My code looks something like this: $conn = ftp_ssl_connect($FTP['host']); $result = ftp_login($conn, $FTP['user'], $FTP['pass']); $file = 'test.txt'; $fp = fopen($file, 'r'); ftp_fput($conn, $file, $fp, FTP_ASCII) fclose($fp); ftp_close($conn); Thanks, Jason

Re: [PHP] trying to figure out the best/efficient way to tell whoisloggedinto a site..

2005-09-14 Thread Jason Barnett
On 9/14/05, bruce <[EMAIL PROTECTED]> wrote: > > ben... > > i understand what you've stated, but i was under the impression that a > number of sites (etrade, etc...) can/do track who is/is not logged into > their sites.. and not just by some crude 'timeout' function... This might be possible t

Re: [PHP] trying to figure out the best/efficient way to tell who is logged into a site..

2005-09-13 Thread Jason Barnett
Close: You mix both of these ideas. Create a custom session handler. This handler creates user entries in a database. Then when you want to know how many are online you do a count on the number of user entries in the table. Play around with different gc_probability values to tune the efficiency

Re: [PHP] Books / tutorials on Object Oriented Programming with PHP

2005-09-09 Thread Jason Coffin
/book/bookDisplay.html?bID=358]. This was one of the best PHP books I have read and I suspect it is exactly what you are looking for. Yours, Jason Coffin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Assign values in foreach-loop

2005-09-07 Thread Jason Davidson
In case it hasnt been said already, as long as your array has numeric and consecutive keys, you could use 'for' instead of 'foreach'. Jason On 9/7/05, Gustav Wiberg <[EMAIL PROTECTED]> wrote: > > > - Original Message - > From: "Sabine"

Re: [PHP] Help with Class

2005-09-07 Thread Jason Davidson
I would have guessed unset($sqk); to work, but also try $sdk = null; Jason On 9/7/05, Ian Barnes <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I am writing a site where I need to access multiple classes of the same > name > located under certain directories. Th

Re: [PHP] Apache Linux question

2005-09-06 Thread Jason Davidson
If you compiled it, you can goto the src directory, and log under config.log Jason On 9/6/05, Georgi Ivanov <[EMAIL PROTECTED]> wrote: > > It is no clear which option you are looking for. > If it's PHP compile options use : > echo phpinfo(); > ?> > This wi

Re: [PHP] Object Scope

2005-09-06 Thread Jason Davidson
I prefer to make the object on each page load, passing only the member id thru the session. Jason On 9/6/05, Chuck Brockman <[EMAIL PROTECTED]> wrote: > > What is the best practice for calling objects that are to be used > throughout a users site visit. For example, I have

[PHP] php 5 upgrade - undefined index errors EVERYWHERE

2005-09-03 Thread Jason Boerner
My server was upgraded to php 5 and now nothing runs because of undefined index errors all over the place.. How can I save myself from recoding for hours and hours ?? Thank you in advance for any help you can offer. -jason

Re: [PHP] Re: Saturdays and Sundays

2005-09-01 Thread Jason Davidson
number of days in the month.. and the num of sats in the month is either 4.. or 5. :) Jason On 9/1/05, Brian P. O'Donnell <[EMAIL PROTECTED]> wrote: > > Sorry, I made a mistake. See below: > ""Brian P. O'Donnell"" <[EMAIL PROTECTED]> wrote

Re: [PHP] CookieMonster

2005-09-01 Thread Jason Davidson
You are right, ignore my post. Jason On 9/1/05, John Nichel <[EMAIL PROTECTED]> wrote: > > Jason Davidson wrote: > > You can.. Dont include the expire argument.. or set it to 0. > > No. Do this, and the cookie will expire when you close the browser window. > >

Re: [PHP] CookieMonster

2005-09-01 Thread Jason Davidson
You can.. Dont include the expire argument.. or set it to 0. Jason On 9/1/05, Philip Hallstrom <[EMAIL PROTECTED]> wrote: > > > Simple question I guess.. > > > > How do I set a cookie so it will never expire? (I don't want it to > expire) > > You c

Re: [PHP] ID based on position?

2005-08-31 Thread Jason Davidson
wrong direction, Jason On 8/31/05, Gustav Wiberg <[EMAIL PROTECTED]> wrote: > > Hi there! > > Is there any function in PHP that gives an ID from a MySQL-db based on > which > position the record has in the table? > > > Let's say, there's a table li

Re: [PHP] Unique user?

2005-08-19 Thread Jason Barnett
I'm going to agree with Jay... most users are lazy enough that if you just require them to have a user account then that will suffice. Since this is only for a joke site that would be my suggestion as well. However, if you really, really wanted to identify remote *computers* then you can try trac

Re: [PHP] Custom session handling - bad or good idea?

2005-08-18 Thread Jason Barnett
This can be a fine way to go, given that you have a specific reason to do so that is not easily handled by using session_set_save_handler. The most common session handler in use (besides the default handler) is a DB session handler. You could write this handler in C and it would possibly be worth

[PHP] Re: proxy security

2005-08-18 Thread Jason Barnett
The problem here is that you need an anonymous proxy server that you trust. Most of the ones you can trust aren't going to be free. However, once you've identified an anonymous proxy server which you *do* trust then you can just pipe the mails to them like any old email server would. -- PHP

Re: [PHP] Sessions Issue

2005-08-02 Thread Jason Motes
We built a box about 7 months or so ago using the SuSE 9.1 cd's, straight install from the CDs. While I've read that sessions are turned on by default, when we try to call on the sessions functions (like with phpOpenChat or start_session()) we get calls to undefined function errors. This is lea

Re: [PHP] exec / shell_exec issues

2005-07-29 Thread Jason Wong
On Saturday 30 July 2005 10:17, leonski wrote: > Jason Wong wrote: > > On Saturday 30 July 2005 08:49, leonski wrote: > >> sh: line 1: /usr/local/bin/mogrify /tmp/phpS1KCen -resize 320x240! > >> : No such file or directory sh: line 1: /usr/local/bin/mogrify > >>

Re: [PHP] exec / shell_exec issues

2005-07-29 Thread Jason Wong
, if it doesn't exist! I think the error message is trying to tell you that "/usr/local/bin/mogrify" does not exist. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Inte

Re: [PHP] preg_match - help please

2005-07-28 Thread Jason Wong
inese would enter their name (usually 3 words, sometimes 2. rarely 4) WITHOUT any spaces. Not sure what the OP was trying to do, but the best way to handle it (IMHO) is to give the user 2 input boxes, one for family name, the other for the rest of their name. -- Jason Wong -> Gremlins As

Re: [PHP] looking for program/script to diff directories and show dates

2005-07-28 Thread Jason Wong
e that are different and will be transferred). -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * -- Search the list archives befo

Re: [PHP] "Only variable references should be returned by reference"

2005-07-19 Thread Jason Wong
ou're looking at the correct php.ini 2) the setting is not being changed elsewhere If the warning annoys you just tone down the error reporting level. > Is there another one I should be looking at? :( Not that I'm aware of. -- Jason Wong -> Gremlins Associates -> www.gremlins.

Re: [PHP] MySQL password file

2005-07-19 Thread Jason Wong
ou can easily check this by entering the URL of the include file into a browser and then "view source", what you see is what will be included by a "foreign host". What you should be more concerned about if you're on a shared host is that there is a good possibili

Re: [PHP] "Only variable references should be returned by reference"

2005-07-19 Thread Jason Wong
> Without reverting back to 4.3.11, is there a way I can temporarily fix > this while working on the application issues themselves? :( Change the relevant setting in php.ini. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design &

[PHP] Re: Session problems [SOLVED]

2005-07-13 Thread Jason
fine after a restart of the webserver. Hope this helps someone else. Jason wrote: > I am having a problem with sessions. For some reason it keeps creating > a new session for every page link you click and not using the original > session created when session_start() gets called. Below is t

[PHP] Session problems

2005-07-12 Thread Jason
ariables aren't found in the old session and a new one is being created on the server. -- Jason G. "In my opinion anyone interested in improving themselves should not rule out becoming pure energy." ~Jack Handley, The New Mexican, 1988. -- PHP General Mailing List (http:

RE: [PHP] Re: iPowerWeb ISP Are they good?

2005-07-08 Thread Jason Manaigre
Thanks guys, getting some great recommendations... From what I hear, I wont be using IpowerWeb, some people had nothing but good to say, but I found quite a few more complaints then good. eHostPros does sound very nice, I'll look into them as well. Jason E.J. Manaigre Web Site Develo

Re: [PHP] Register globals and ini_set

2005-07-08 Thread Jason Barnett
Since you mention the PHP version was old (4.1) then I have to ask: were you using the $_SESSION array all along or were you using session_register to register session variables? Although you probably aren't since that would be rather easy to debug. The script in which your global_variable wa

[PHP] Re: Register globals and ini_set

2005-07-08 Thread Jason Barnett
[EMAIL PROTECTED] wrote: Hi, If i use, at the beginning of my scripts, ini_set('register_globals', 0), register globals will be turned off? Thanks ini_set() just doesn't make sense for that directive. register_globals takes the input data from HTTP requests and sets them in the symbol tab

[PHP] Re: Security, Late Nights and Overall Paranoia

2005-07-08 Thread Jason Barnett
The typical way that forums handle this is to use what is called "BBCode". In short, you have a non-HTML way for users to supply information that will produce markup instead of just plain text. So if you want to allow italics, bolds, URL's, etc. then you have some codes for it like: [i]This

Re: [PHP] Problem serializing a mysqli_result object.

2005-07-08 Thread Jason Barnett
But why are you going to all of that trouble? What does the mysqli_result object have that you really need? If you just need the result set then you can fetch it as an assoc array and serialize that. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

[PHP] iPowerWeb ISP Are they good?

2005-07-07 Thread Jason Manaigre
Hi everyone, currently I have a site hosted with Powweb and suffice it to say, it's not good, so I wanted to get everyone's opinion here on iPowerWeb? Or can you recommend another ISP that you swear by which has similar features http://www.ipowerweb.com/products/webhosting/index.html Thanks people

Re: [PHP] Help with preg_replace

2005-07-04 Thread Jason Wong
amp; id 3. You may also want to consider using preg_quote() instead of str_replace(). -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * -

Re: [PHP] memcached and objects.

2005-07-02 Thread Jason Wong
> class to cache Adodb recordsets in memcached?. No idea. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * -- Search

Re: [PHP] reading PDF's

2005-07-01 Thread Jason Barnett
Richard Lynch wrote: On Fri, June 24, 2005 12:10 pm, Jon said: Is it possible to read text from a PDF file with PHP? How? ... There may be a free one, or even an OpenSource one, but I've never heard of it, possibly because they'd have to pay a license to Adobe (Macromedia this week?) to be l

Re: [PHP] Object Oriented PHP (5)

2005-07-01 Thread Jason Barnett
Richard Lynch wrote: ... Ooooh. At the risk of being branded a heretic, try to pick up another language or two. Start with something a whole lot like PHP. Maybe Perl, or even C. You'll have to shove all your PHP knowledge over to one side of your brain, cram all the new stuff into the other

<    4   5   6   7   8   9   10   11   12   13   >