[PHP] Class calling Class returning 'object'

2006-02-27 Thread Jason Gerfen
myAuthTmplte { var $data; function AuthTemplate( $cmd, $args, $num, $message, $errors ) { $data = I should be seeing this text right here; // This data should be displayed but I am only seeing the word 'object' in the browser return $data; } -- Jason Gerfen When asked what love is: Love is the Jager

[PHP] $_POST to function?

2006-02-24 Thread Jason Gerfen
, $args, $num, $message ) { echo pre; print_r( $args ); echo /pre; } -- 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] 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 trying to pass

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 [EMAIL PROTECTED

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] $_POST to function?

2006-02-24 Thread Jason Gerfen
- 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 nothing is being

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 to function? I

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

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

2006-02-23 Thread Jason Gerfen
:/b/tdtd$range1nbsp;-nbsp;$range2/td/tr /table/td . $tr; $i++; } $subnets .= /tr/table; -- 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
with. 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

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

2006-02-22 Thread Jason Karns
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 without quotes

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

Re: [PHP] php ajax

2006-02-15 Thread Jason Gerfen
'\ntheadtrth/thth/thtr/thead\n; foreach ($myBuddyNodes as $node) { echo tr; echo tdfont size='-1'.$node-firstChild-nextSibling-nodeValue./font/td; if($node-firstChild-nextSibling-nextSibling-nextSibling-nodeValue == Online) | -- Jason Gerfen When asked what love is: Love

[PHP] PHP Application Vuln. Testing

2006-02-07 Thread Jason Gerfen
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...guilty...guilty

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

Re: [PHP] Window close.

2006-02-07 Thread Jason Petersen
and probably other browsers. At the very least, I wouldn't rely on this method. Jason

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

Re: [PHP] ID vs NAME in different browsers

2006-01-28 Thread Jason Petersen
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

Re: [PHP] absolute vs relative path?

2006-01-28 Thread Jason Petersen
on the site. global $PATH; echo a href=\{$PATH}images/blah.gif\ /\n; Jason

[PHP] testing

2006-01-21 Thread Jason Parkils

[PHP] this is a test

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

[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

Re: [PHP] mcrypt

2006-01-13 Thread Jason Gerfen
= mcrypt_create_iv($iv_size, MCRYPT_RAND); Thanks, Scott Duffy Look at trim(). And your right it does have to do with using ECB. -- Jason Gerfen The charge that he had insulted Turkey's armed forces was dropped, but he still faces the charge that he insulted Turkishness, lawyers said. ~ BBC News

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

2006-01-09 Thread Jason Petersen
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] Help getting PHP and GPG to work

2006-01-09 Thread Jason Petersen
apache's shell back to /bin/false. Hope this helps! Jason

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

2006-01-04 Thread Jason Pappin
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 blanket apology. Now, to my question

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 I've been looking for

[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. Jason Young

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

2005-12-22 Thread Jason Young
, 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 because it's the only

[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 (11 in case anyone else has them..) had this working well, but I have no

Re: [PHP] Blocking Values From an External Source

2005-12-16 Thread Jason Gerfen
'] 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

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 World, Cat

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... ~ Wild World, Cat Stevens -- PHP General

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

2005-12-06 Thread Jason Petersen
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
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] wrote: Hi Jason, You sound offended...Happy Christmas to you too! If you

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

2005-12-01 Thread Jason Z
--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] Re: Problems with PHP and Apache 2.x 404 ErrorDocument handlers

2005-12-01 Thread Jason Z
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 handling and the such. Recently I upgraded my PHP installs to 4.4.1(from 4.3.11) with the configure parameters listed below

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

2005-11-30 Thread Jason Wong
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 - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet

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 www.3amproductions.net - Things look different @3AM -Original Message- From: Joe Harman [mailto

[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

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

[PHP] if statement help

2005-11-03 Thread Jason Gerfen
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
://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] regex and global vars problem

2005-10-26 Thread Jason Gerfen
. br; } else { echo $mac3 is valid.br; } if( chk_mac( $mac4 ) != 0 ) { $mac = fix_mac( $mac4 ); echo $mac4 . converted to . $mac . br; } else { echo $mac4 is valid.br; } ? -- Jason Gerfen My girlfriend threated to leave me if I went boarding... I will miss her. ~ DIATRIBE aka FBITKK -- PHP

Re: [PHP] regex and global vars problem

2005-10-26 Thread Jason Gerfen
); echo $mac4 . converted to . $mac . br; } else { echo $mac4 is valid.br; } ? Jasper Bryant-Greene wrote: On Wed, 2005-10-26 at 11:15 -0600, Jason Gerfen wrote: I am having a problem with a couple of function I have written to check for a type of string, attempt to fix it and pass it back

Re: [PHP] regex and global vars problem

2005-10-26 Thread Jason Gerfen
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() function which determines

[PHP] str_split() and errors?

2005-10-26 Thread Jason Gerfen
() 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

[PHP] Using .htaccess files with PHP CGI

2005-10-18 Thread Jason Kovacs
' 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

[PHP] PHP5+FastCGI Segmentation Fault

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

RE: [PHP] fckeditor and PDF and pesky users

2005-10-17 Thread Jason Karns
/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

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 selecting

Re: [PHP] fckeditor and PDF and pesky users

2005-10-14 Thread Jason Kovacs
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
($_POST), there is no value for $_POST['txtKeyValue']. Note: the setWizardAction() function sets the form action= attribute so the Prev/Next buttons work correctly. The application is very close to being complete, so I need help ASAP. Jason -- PHP General Mailing List (http://www.php.net

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

2005-10-07 Thread Jason Kovacs
my changes to suexec.c. Thanks, Jason Kovacs

[PHP] FTPS transfers

2005-09-26 Thread Jason Petersen
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] 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

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 to do

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

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

2005-09-09 Thread Jason Coffin
]. 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] 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. The reason for each directory is because

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 [EMAIL PROTECTED] To: PHP general php-general

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 a members class

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 : ?php echo phpinfo(); ? This will give you information you need

[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] 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 can't really... I could delete it and that would

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. -- John C. Nichel ÜberGeek

Re: [PHP] Re: Saturdays and Sundays

2005-09-01 Thread Jason Davidson
, and the 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 in message news:[EMAIL PROTECTED] Shaun [EMAIL PROTECTED

Re: [PHP] ID based on position?

2005-08-31 Thread Jason Davidson
in the 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 like this: 1. Record1 ID 33 2. Record2 ID 76 3

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

[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] 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

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

Re: [PHP] exec / shell_exec issues

2005-07-29 Thread Jason Wong
! 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 * Internet Intranet Applications Development

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 /tmp/phpS1KCen -resize 95x72! : No such file

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

2005-07-28 Thread Jason Wong
). -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general

Re: [PHP] preg_match - help please

2005-07-28 Thread Jason Wong
, 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 Associates - www.gremlins.biz Open Source Software

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

2005-07-19 Thread Jason Wong
, 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 Hosting * Internet Intranet Applications Development

Re: [PHP] MySQL password file

2005-07-19 Thread Jason Wong
. What you should be more concerned about if you're on a shared host is that there is a good possibility that your co-hosts are able to access your files anyway. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet

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

2005-07-19 Thread Jason Wong
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.biz Open Source Software Systems Integrators * Web Design Hosting

[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 the code I

[PHP] Session problems

2005-07-12 Thread Jason
the test1.php then submit the form the session variables 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

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:

[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

[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

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

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 Development

[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

Re: [PHP] Help with preg_replace

2005-07-04 Thread Jason Wong
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 * -- Search the list

Re: [PHP] memcached and objects.

2005-07-03 Thread Jason Wong
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 the list archives before you post http

Re: [PHP] postgres - mysql last_inserted_id

2005-07-01 Thread Jason Wong
know all this already, you're in DEEP trouble... I think I'll be quite safe as I'm using sequences ;-) -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development

Re: [PHP] Technology Forums

2005-07-01 Thread Jason Wong
? -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general

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

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

Re: [PHP] postgres - mysql last_inserted_id

2005-06-30 Thread Jason Wong
. This would be much better than doing a hasty migration to postgresql - which does not make the most of what postgresql has to offer - and then trying to hack the postgresql features in afterwards. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web

Re: [PHP] postgres - mysql last_inserted_id

2005-06-30 Thread Jason Wong
it is, you don't need OIDs to use sequences. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * -- Search the list archives before you post

[PHP] Re: constant() - php5

2005-06-29 Thread Jason Barnett
Actually, thanks for pointing out this function to me because I never even knew that it existed. You learn something new every day. I have to admit that a warning seems a little unusual given that an undefined variable would result in only an E_NOTICE. Especially since the default behavior

Re: [PHP] Re: constant() - php5

2005-06-29 Thread Jason Barnett
Marek Kilimajer wrote: Jason Barnett wrote: ... ?php /* Causes E_WARNING */ echo constant(UNDEFINED_CONSTANT); The above is wrong, use: echo constant('UNDEFINED_CONSTANT'); OK, that's a good catch. But this still causes an E_WARNING. -- NEW? | http://www.catb.org/~esr/faqs/smart

Re: [PHP] constant() - php5

2005-06-29 Thread Jason Barnett
Richard Davey wrote: ... Isn't the warning coming from the fact that $cnst isn't defined, rather than coming from the constant() function itself? Best regards, Richard Davey Nope... tested with PHP 5.0.5-dev ?php /* Causes E_WARNING */ echo constant('UNDEFINED_CONSTANT')\n; echo

[PHP] Re: __PHP_Incomplete_Class

2005-06-29 Thread Jason Barnett
Jay Wright wrote: ... My page uses a header.php5 include file to call session_start(). Next a require_once(classloader.php5) performs the autoload. Here is the problem... you need to switch the order. Load the classes / autoloader first, then session_start(). PHP was able to serialize

Re: [PHP] looking for a pure startup opportunity..

2005-06-28 Thread Jason Barnett
OK, let me put this another way... while trying to remain polite. Let's suppose that I am an unknown (to you) member of this list and I have this great idea that I want to develop. My idea is a great one and it's going to make millions. Now since I'm the one that had the idea I think it's

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