Re: [PHP] Making a Variable from different tables with Matching Dbfields?

2009-01-28 Thread Shawn McKenzie
he wants - he is only getting admin.AdminID, workorders.AdminID returned in all of the queries I've seen. I'm assuming that he wants some of the workorder details. -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Making a Variable from different tables with Matching Dbfields?

2009-01-29 Thread Shawn McKenzie
); and post what you get. -Shawn Terion On Wed, Jan 28, 2009 at 7:39 PM, Shawn McKenzie nos...@mckenzies.net mailto:nos...@mckenzies.net wrote: Chris wrote: The main problem is that you've never explained what you want to get from the query. The replies have used

Re: [PHP] Making a Variable from different tables with Matching Dbfields?

2009-01-29 Thread Shawn McKenzie
it exists in workorders. Or, if none were returned, then echo out $_SESSION['user'] and make sure it exists in admin. -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Weird problem while reading in a file to an Array

2009-01-29 Thread Shawn McKenzie
or backticks or something in $BUILDLOG. -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Weird problem while reading in a file to an Array

2009-01-29 Thread Shawn McKenzie
Shawn McKenzie wrote: Michelle Konzack wrote: Hello, currently I am coding a RSS feeder for the Emdebian buildd-log and for testing I use two files: http://www.emdebian.org/buildd/a/apt/trunk/apt-arm-1233120802.log http://www.emdebian.org/buildd/b/base-passwd/trunk/base-passwd-arm

Re: [PHP] Making a Variable from different tables with Matching Dbfields?

2009-01-29 Thread Shawn McKenzie
however many rows. I would be willing to bet that the first record in workorders has AdminID = 7. This works, obviously: $query = SELECT * FROM admin WHERE admin.UserName = '.$_SESSION['user'].' ; -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] Making a Variable from different tables with Matching Dbfields?

2009-01-29 Thread Shawn McKenzie
Shawn McKenzie wrote: Terion Miller wrote: Well upon looking it was number 2, I had no orders in the workorder table, but here is an oddity I wonder if someone can explain if I run this simple query: $query = SELECT * FROM admin, workorders WHERE admin.UserName = '.$_SESSION

[PHP] Re: Weird problem while reading in a file to an Array

2009-01-29 Thread Shawn McKenzie
Shawn McKenzie wrote: Michelle Konzack wrote: Hello, currently I am coding a RSS feeder for the Emdebian buildd-log and for testing I use two files: http://www.emdebian.org/buildd/a/apt/trunk/apt-arm-1233120802.log http://www.emdebian.org/buildd/b/base-passwd/trunk/base-passwd-arm

[PHP] Re: Weird problem while reading in a file to an Array

2009-01-29 Thread Shawn McKenzie
Michelle Konzack wrote: Am 2009-01-29 16:09:00, schrieb Shawn McKenzie: Actually though, instead of exec() why not something like: $TMP_DATA = explode(\n, $BUILDLOG, 11); Tried... but now I have 11 elements wher in the last element is the whole rest of the BUILD-Log... continue

[PHP] Re: Weird problem while reading in a file to an Array

2009-01-29 Thread Shawn McKenzie
Michelle Konzack wrote: Hello Shawn, Am 2009-01-29 15:34:41, schrieb Shawn McKenzie: exec(escapeshellcmd(echo '$BUILDLOG' | head -n 11), $TMP_DATA); There are quotes or backticks or something in $BUILDLOG. Thanks for it, now I have an array but the |head -n 11 is ignored and my arrays

[PHP] Re: Weird problem while reading in a file to an Array

2009-01-29 Thread Shawn McKenzie
Michelle Konzack wrote: Am 2009-01-29 15:34:41, schrieb Shawn McKenzie: exec(escapeshellcmd(echo '$BUILDLOG' | head -n 11), $TMP_DATA); There are quotes or backticks or something in $BUILDLOG. Forgotten one thing: If I continue to process the array() with, e.g., $POS=strpos

[PHP] Re: help with end of line charater

2009-01-30 Thread Shawn McKenzie
line to see if it ends in \r\n either. $list2 = explode(\r\n, $list); foreach ($list2 as $key = $var) { $var = $var.\r\n; } $list = implode(\r\n, $list2); This may be best handled in your sorting code. What does it look like? -- Thanks! -Shawn http

[PHP] Re: help with end of line charater

2009-01-30 Thread Shawn McKenzie
Shawn McKenzie wrote: Adam Williams wrote: I have staff inputting email addresses into a textarea named $list on a form and when they click submit, my php script sorts the email addresses and writes to disk. The problem is, lets say they enter the email addresses b...@mdah.state.ms.usstaff

[PHP] Re: Session won't pick up one variable

2009-01-30 Thread Shawn McKenzie
'); exit; } else { -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: frameworks

2009-01-30 Thread Shawn McKenzie
app that can create, update and delete records. Now just start coding your specifics, etc... From what I could tell, this was the best RAD, however if you prefer to lay everything out your own way and do things your own way then probably CI or Zend. -- Thanks! -Shawn http://www.spidean.com

[PHP] Re: Matching

2009-01-31 Thread Shawn McKenzie
the Ron If this is actually the URL of the script that is running, then $_GET['tx'] -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: frameworks

2009-01-31 Thread Shawn McKenzie
Eric Butera wrote: On Fri, Jan 30, 2009 at 7:14 PM, Kevin Waterson ke...@phpro.org wrote: On Fri, 2009-01-30 at 18:03 -0600, Shawn McKenzie wrote: From what I could tell, this was the best RAD, however if you prefer to lay everything out your own way and do things your own way then probably

Re: [PHP] Re: frameworks

2009-01-31 Thread Shawn McKenzie
Eric Butera wrote: On Sat, Jan 31, 2009 at 12:06 PM, Shawn McKenzie nos...@mckenzies.net wrote: Eric Butera wrote: On Fri, Jan 30, 2009 at 7:14 PM, Kevin Waterson ke...@phpro.org wrote: On Fri, 2009-01-30 at 18:03 -0600, Shawn McKenzie wrote: From what I could

[PHP] Re: calculate the time that day ends

2009-02-03 Thread Shawn McKenzie
Thodoris wrote: Hi gang, I was wondering if there is way to find out what is the time that every day ends? I am planning to add this to the first page on an interface I am developing. I'm not sure that I understand, but I'm pretty sure that every day ends on 23:59:59. -- Thanks! -Shawn

[PHP] Re: Throwing an exception seems to defeat output buffering

2009-02-03 Thread Shawn McKenzie
= ob_get_clean(); exit('h2Exception:/h2' . $ex-getMessage()); } -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] calculate the time that day ends

2009-02-03 Thread Shawn McKenzie
is an exception thrown out of the blue. STFW http://www.google.com/search?q=calculate+sunset+formula -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] calculate the time that day ends

2009-02-03 Thread Shawn McKenzie
Shawn McKenzie wrote: Thodoris wrote: 2009/2/3 Thodoris t...@kinetix.gr: I was wondering if there is way to find out what is the time that every day ends? I am planning to add this to the first page on an interface I am developing. Most days end at midnight, but there may

Re: [PHP] calculate the time that day ends

2009-02-03 Thread Shawn McKenzie
Shawn McKenzie wrote: Shawn McKenzie wrote: Thodoris wrote: 2009/2/3 Thodoris t...@kinetix.gr: I was wondering if there is way to find out what is the time that every day ends? I am planning to add this to the first page on an interface I am developing. Most days end

Re: [PHP] Visibility of class constant

2009-02-03 Thread Shawn McKenzie
Chris Scott wrote: You cannot access a class constant just by the constant name. See http://docs.php.net/manual/en/language.oop5.paamayim-nekudotayim.php. Holy crap! Why can't it just be :: or double colon! -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http

Re: [PHP] calculate the time that day ends

2009-02-04 Thread Shawn McKenzie
Lupus Michaelis wrote: Shawn McKenzie a écrit : STFW That's not so fair. If Thodoris ask about day end, it is obvious he's wrong with the word. Wrong because he isn't mastering english. So, without the good word (sunset), he can't find. So please don't bash us when we appear silly

Re: [PHP] Is it possible to send POST vars through a header redirect?

2009-02-04 Thread Shawn McKenzie
']; -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Passing an undetermined amount of arguments by reference

2009-02-04 Thread Shawn McKenzie
/datasets. Hope it helps. Will that work properly? $a = 'hello'; $b = sup; $c = \\hola'; $d = array($a, $b, $c); escape($id, $d); Jay I would try: $d = compact('a', 'b', 'c'); -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: Clarity needed

2009-02-04 Thread Shawn McKenzie
, and then tie the two together by another record like an assignment. That way I can have as many assignments as I want tying courses to tutors. It that the way you guys would do it? Thanks, tedd As others have said, that's how I always do it. -- Thanks! -Shawn http://www.spidean.com -- PHP

Re: [PHP] Passing an undetermined amount of arguments by reference

2009-02-04 Thread Shawn McKenzie
Jim Lucas wrote: Jay Moore wrote: Shawn McKenzie wrote: Jay Moore wrote: Jim Lucas wrote: Jay Moore wrote: Greetings list. Say I have a function that escapes a string before being passed to MySQL like so: function escape($id, $string) { $string } Use an array as an alternate

Re: [PHP] Is it possible to send POST vars through a headerredirect?

2009-02-05 Thread Shawn McKenzie
want to pass a variable to another script, I know of four choices, namely: 1. Use POST; 2. Use GET; 3. Write the variable to a database; 4. Include the next script. HTH's tedd 5. Stick it in the session -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http

Re: [PHP] Is it possible to send POST vars through aheaderredirect?

2009-02-05 Thread Shawn McKenzie
tedd wrote: At 1:18 PM -0600 2/5/09, Shawn McKenzie wrote: tedd wrote: At 2:52 AM -0700 2/5/09, TS wrote: I want my script to run and redirect with the var to another page without the user seeing it. Currently, I am using GET and header(Location: http://domain/?somevar=somevalue

Re: RES: [PHP] Bad words [SQL, database, txt, whatever]

2009-02-05 Thread Shawn McKenzie
and had to type magnacumlaude, because she couldn't understand why it kept coming out magna *** laude. -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Clarity needed

2009-02-05 Thread Shawn McKenzie
almost as bad as my own. ;-P almost :-P Or fox may go someway towards dulling the socialist propaganda of the tutors/courses. We're headed there, but thank God I'm not schreefing from an insanely socialist country! :-) -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing

Re: [PHP] How can I use a function's default arguments but change one of the end ones in the list?

2009-02-05 Thread Shawn McKenzie
and assign default values if a specific arg wasn't passed. I however would probably pass an associative array to the func and parse that. -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Garbage Collection

2009-02-06 Thread Shawn McKenzie
to many forced update/delete I think it's called if you want to do a search on it. Frank Yes, and you haven't tried it, MySQL Workbench is very handy for designing DBs. It was Windows only, but they now have a beta out for Linux and it seems to work fine. -- Thanks! -Shawn http

Re: [PHP] Re: preg_match question...

2009-02-06 Thread Shawn McKenzie
bruce wrote: hmmm... tried your preg__match/regex... i get: 0 - 1145 total 1 - 1145 2 - l i would have thought that the 2nd array item should have had total... Probably want this: '#(\d+)(.+)#' -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http

Re: [PHP] Clarity needed

2009-02-06 Thread Shawn McKenzie
***FACT WARNING*** Jochem Maas wrote: ***RANT WARNING*** Shawn McKenzie schreef: Jochem Maas wrote: Daniel Brown schreef: On Thu, Feb 5, 2009 at 07:56, Jochem Maas joc...@iamjochem.com wrote: and the answer to you Q, like everyone else said: yup :-) PS - given you unlimited resources

Re: [PHP] Clarity needed OT

2009-02-06 Thread Shawn McKenzie
to the original topic, and php...right? Frank...there is isn't there? *sigh* Yes, 3 tables :-) -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Clarity needed (Really OT)

2009-02-06 Thread Shawn McKenzie
Cheers, Regards, tedd nath +5 Funny -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Email configuration

2009-02-06 Thread Shawn McKenzie
the list at spamhaus.org. -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Clarity needed OT

2009-02-06 Thread Shawn McKenzie
to your tin foil hat? -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Email configuration

2009-02-06 Thread Shawn McKenzie
Nathan Rixham wrote: Shawn McKenzie wrote: Ever heard of RBL or DNSBL? I use it on my email server and so do many lol snap, just sent same message at same time - tis so easy to jump on ash's back cos he's always so sure he's right lolol Hmmm... So Ashley is a him? -- Thanks! -Shawn http

Re: [PHP] Securing suexec PHP against local attacks by the webserveruser

2009-02-09 Thread Shawn McKenzie
Jochem Maas wrote: Andrew schreef: Hi, As an example of the attack... $ whoami www-data isn't the whole point of suexec/PHP/FastCGI that the local user has no access to the www-data account ... suexec switches to the users account from the webserver account not the other way

[PHP] Re: mysql_query - CREATE DATABASE

2009-02-09 Thread Shawn McKenzie
that, maybe it would be the last one in the returned records? -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: mysql_query - CREATE DATABASE

2009-02-09 Thread Shawn McKenzie
Shawn McKenzie wrote: R B wrote: Hello, When i create a mysql database with the next command: mysql_query(CREATE DATABASE my_db,$con) In the server is created the database, but usually the name is created with a prefix. In this case: someuser_my_db How can i detect with PHP

[PHP] Re: mysql_query - CREATE DATABASE

2009-02-09 Thread Shawn McKenzie
Shawn McKenzie wrote: Shawn McKenzie wrote: R B wrote: Hello, When i create a mysql database with the next command: mysql_query(CREATE DATABASE my_db,$con) In the server is created the database, but usually the name is created with a prefix. In this case: someuser_my_db How can i

Re: [PHP] Re: mysql_query - CREATE DATABASE

2009-02-09 Thread Shawn McKenzie
, or just skip right to listing the databases. -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP usage stats

2009-02-09 Thread Shawn McKenzie
, and the other various languages, because it really does get too overwhelming for basic metrics, but you're absolutely correct about DLL's and EXE's. And HTM shows 701M, so it is now beating out ASP :-) -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net

[PHP] Re: DOCUMENT_ROOT errors

2009-02-09 Thread Shawn McKenzie
? -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: DOCUMENT_ROOT errors

2009-02-09 Thread Shawn McKenzie
Shawn McKenzie wrote: Marc Fromm wrote: I updated fedora core from FC5 to TC6, thus httpd and php were updated in the process. My pages worked with no errors before the upgrade. My php pages are no not displaying and generating this error in the httpd logs PHP Notice: Undefined variable

Re: [PHP] Using DLL with PHP

2009-02-10 Thread Shawn McKenzie
to do this just like any other PHP class/function? It doesn't appear that your function accepts a parameter. What does this do: //VB Public Function hello(ByVal name As String) As String hello = Hello name ! End Function //PHP echo $new_com-hello(Dan); -- Thanks! -Shawn http

Re: [PHP] Using DLL with PHP

2009-02-10 Thread Shawn McKenzie
Dan Shirah wrote: It doesn't appear that your function accepts a parameter. What does this do: //VB Public Function hello(ByVal name As String) As String hello = Hello name ! End Function //PHP echo $new_com-hello(Dan); -- Thanks! -Shawn http://www.spidean.com Shawn I

Re: [PHP] APC problem with PHP

2009-02-10 Thread Shawn McKenzie
://www.webdeveloper.com/forum/showthread.php?t=178217 -nathan Damn it! $ mount woman mount: can't find woman in /etc/fstab or /etc/mtab -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: webapp to drive/monitor a bunch of system processes

2009-02-11 Thread Shawn McKenzie
/config of the machine and I assume you could easily develop plugins for it. -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How can an elephant count for nothing?

2009-02-12 Thread Shawn McKenzie
of the string. -- Baidu惠新宸 xinchen.hui* | * SYS *| * (+8610)82602112-7974 *|* Hi:laruence '2 elephants' != 0 -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Simple open source CMS as a starting point

2009-02-12 Thread Shawn McKenzie
). Some good advice, however I have never been able to retrieve my db type, db name, db user name and db password from the database without first using these to connect to the database ;-) -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] error on usingjar:http://localhost/clients/js/signedJar.jar!/editGrid.js

2009-02-12 Thread Shawn McKenzie
() method is not defined. Please help.I think I am missing out on something important. Thanks, Manu O.K. so what is the PHP error? -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] error onusingjar:http://localhost/clients/js/signedJar.jar!/editGrid.js

2009-02-12 Thread Shawn McKenzie
file? Thanks, Manu Shawn McKenzie wrote: Manupriya wrote: Hi, We are using PHP 5.0, Java Script and Apace HTTP Server. For Mozilla security reason, we have created a signed jar of all the js files being used in our application. We have put this jar in the js folder itself. We

[PHP] Re: Extract result from a https remote server response

2009-02-12 Thread Shawn McKenzie
/email_check.pl?email=t...@toto.comcust_id=123546password=123'); displays this: Illegal operation Seems to work for me. -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Extract result from a https remote server response

2009-02-12 Thread Shawn McKenzie
Shawn McKenzie wrote: m a r k u s wrote: Hi all, Example : https://www.moneybookers.com/app/email_check.pl?email=t...@toto.comcust_id=123546password=123 The MB server response displayed is : Illegal operation. We would like to put the result below in a php variable and process

Re: [PHP] lib ssh2 functions and ssh2_exec stream reading work around

2005-05-16 Thread Shawn McKnight
I ran in to many ssh2 stream problems as well. Problem 1. One problem I think related to the openssl version I was using. I was using the standard version with Fedora Core 3. ssh connected actions sometimes worked and sometimes did not work. I recompiled the ssh2.so with the following versions.

[PHP] VxWorks PHP port??

2006-03-16 Thread Shawn N
Hello, Does a VxWorks port of the PHP interpreter currently exist? If no, is any such project in the pipeline?? We'd like to run PHP scripts as CGIs in some of our embedded devices. Thanks for the info. -- Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] VxWorks PHP port??

2006-03-16 Thread Shawn N
Hello, Does a VxWorks port of the PHP interpreter currently exist? If no, is any such project in the pipeline?? We'd like to run PHP scripts as CGIs in some of our embedded devices. Thanks for the info. -- Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] PHP Frameworks

2005-12-23 Thread Shawn McKenzie
Is there a good recent article on PHP Frameworks, or do people here has a predominant one that outshines the others? I'm looking for something that is easy to use, fast and stable. Thanks! -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] PHP Frameworks

2005-12-23 Thread Shawn McKenzie
Thanks. I searched on Zend PHP Framework because I had seen it referenced somewhere, however I can just find plans and objectives and no usable framework. Thanks! -Shawn Zareef Ahmed wrote: Hi, There are a lot of PHP frameworks like Mojavi, Phrame, php.MVC, phpwebtk, Horde. My

[PHP] Re: Can the URL be controlled for more user-friendly readability?

2005-12-23 Thread Shawn McKenzie
and continue as normal. -Shawn Dave M G wrote: PHP General, I have a PHP/MySQL web site where there are profiles for performers at a comedy show. The profiles are accessed by passing a variable to the PHP script via URL, which can then look up the right performer data in the database

Re: [PHP] PHP Frameworks

2005-12-24 Thread Shawn McKenzie
Yes, this looks nice. Does anybody have experience with Prado? I know it won a Zend PHP5 coding contest in the past. Thanks! -Shawn Fabiano Ricci wrote: Hi, a very good framework is ZNF PHP Framework. It is available at http://znf.zeronotice.com/. This framework is very clear and easy

[PHP] Handling Macintosh filenames in PHP

2001-04-19 Thread Shawn Reed
so? The project I'm doing relies on the ability to do just that, and it would appear that I've hit a bit of a snag. If anyone can offer any suggestions or advice, I'd really appreciate it. Thanks in advance. Sincerely, Shawn Reed Chief Technology Officer RBC Incorporated - home of "R

[PHP] using zip from php4

2001-04-28 Thread Shawn Reed
as to why? Any help you can offer would be appreciated. Sincerely, Shawn Reed Chief Technology Officer RBC Incorporated - home of Remote Backup Center [ [EMAIL PROTECTED] / www.remotebackupcenter.com ] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP] POST multipart/form-data temp files not being created. File_upload directive is resetting to No.

2005-03-11 Thread Shawn Kelly
and admiration to the PHP community! cudos, Shawn Kelly. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Sending data via POST

2005-03-11 Thread Shawn Kelly
This is from php.net: Just change the $out to fill with your POST request (instead of the GET). Works good, you can change ports. :) $fp = fsockopen("www.example.com", 80, $errno, $errstr, 30);if (!$fp) { echo "$errstr ($errno)br /\n";} else { $out = "GET / HTTP/1.1\r\n"; $out .= "Host:

Re: [PHP] POST multipart/form-data temp files not being created. File_upload directive is resetting to No.

2005-03-11 Thread Shawn Kelly
Richard Lynch you are my new best friend! grep -n uploads /etc/httpd/conf/httpd.conf tells me 279:php_admin_value file_uploads off. I don't know how I could have missed it! I changed httpd.conf to have php_admin_value file_uploads On and everything worked like it was supposed to this morning

[PHP] URL vars in URL var?

2002-12-03 Thread Shawn McKenzie
, Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] URL vars in URL var?

2002-12-03 Thread Shawn McKenzie
Great thanks! Since I'm doing this from an anchor or in the browser location bar, I just replaced the in the url var with %26. Works great! -Shawn Adam Voigt [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... http://www.php.net/manual/en/function.urlen

[PHP] Objects and Classes?

2002-12-10 Thread Shawn McKenzie
good info or methodology on when to use a class and what components make sense to include in the class? How many classes? I could send my code to anyone who is a guru in this that could just give me some high-level advice. Thanks! Shawn (Just learning) -- PHP General Mailing List (http

[PHP] Re: Objects and Classes?

2002-12-12 Thread Shawn McKenzie
Very cool! Thanks! Christopher Raymond [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Shawn: I beleive I can clarify the purpose of objects/classes for you and enrich my clarification with a couple of examples. THE DIFFERENCE BETWEEN OBJECT A

[PHP] Include?

2002-12-12 Thread Shawn McKenzie
be for only URLs (myscript.php?page=http://mysite.com/dir/cool.html, or relative URLs (myscript.php?page=/dir/cool.html). Can I do this without allowing someone to include files by filesystem reference??? Thanks! Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Code contents of a function

2003-01-02 Thread Shawn McKenzie
; someotherfunction(); into a string. Any ideas??? TIA -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Code contents of a function

2003-01-02 Thread Shawn McKenzie
Original Message- From: Shawn McKenzie [mailto:[EMAIL PROTECTED]] Sent: Friday, 3 January 2003 12:18 PM To: [EMAIL PROTECTED] Subject: [PHP] Code contents of a function I have a script with some functions and within the script I want to read the code from one of the functions into

[PHP] Parse source for braces

2003-01-06 Thread Shawn McKenzie
braces that may be there (if, while, switch, foreach, etc...). Anybody have some code to do this??? function someFunc() { if(something) { something... } while(something) { something... } } // So I need the code from the beginning of the function to here TIA -Shawn -- PHP General Mailing

[PHP] replacing but not special chars

2003-07-27 Thread Shawn McKenzie
to do this the right way??? Thanks! Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Allowed mem size exhausted

2003-08-05 Thread Shawn McKenzie
/public_html/dir/subdir/include/functions.php on line 9 Many thanks! Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: global scope issue

2003-08-14 Thread Shawn McKenzie
OK, so what's the use of having the autoglobal $GLOBALS??? This is contrary to the docs. -Shawn Ivo Fokkema [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Shawn McKenzie [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm having problems using global vars. I have read

[PHP] Re: Best PHP CMS

2003-08-14 Thread Shawn McKenzie
I prefer and use PostNuke. Great community, stable platform, many modules/themes, sensible API for development and AutoTheme HTML theme system for templating, with another system on the way. HTH -Shawn Anthony [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm just looking for some

[PHP] Using Constants

2003-08-14 Thread Shawn McKenzie
I'm considering using constants for some predefined paths in my script, like HTML_DIR, INC_DIR. These values won't change and they will be global to all functions. Are there any drawbacks to using constants over reg vars for this sort of thing??? TIA, Shawn -- PHP General Mailing List (http

Re: [PHP] Re: global scope issue

2003-08-14 Thread Shawn McKenzie
Sorry... nevermind. I was developing as part of a team and it seems that my script is included in a function written by someone else. So my vars from my included files are local to the other function and not global. Thanks! Shawn Shawn McKenzie [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: [PHP] where did my errors go?

2003-08-14 Thread Shawn McKenzie
error_reporting and/or display_errors in php.ini? David T-G [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] global scope issue

2003-08-14 Thread Shawn McKenzie
']); //does not work ? This is a local include so the vars should be in the global scope right? Any help please? TIA -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: global scope issue

2003-08-14 Thread Shawn McKenzie
does it matter if a global command has bee issued before with vars other than the $test var? i.e before the include if there is a global $somevar; -Shawn Curt Zirzow [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] * Thus wrote Ford, Mike [LSS] ([EMAIL PROTECTED

Re: [PHP] Allowed mem size exhausted

2003-08-14 Thread Shawn McKenzie
Thanks! Would anyone care to expand on the tools or the methods for preparing on disk??? Thanks again! -Shawn Curt Zirzow [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] * Thus wrote David Nicholson ([EMAIL PROTECTED]): Hello, This is a reply to an e-mail that you wrote on Tue

[PHP] PHP code in form field - var_export() (slashes)?

2003-09-23 Thread Shawn McKenzie
, but not doubles. I need a solution that works with magic_quotes_gpc = 0 or magic_quotes_gpc = 1. TIA -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP code in form field - var_export() (slashes)?

2003-09-24 Thread Shawn McKenzie
and assign back to the same array that I had it in in the first place. Thanks! -Shawn Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Wednesday 24 September 2003 12:00, Shawn McKenzie wrote: O.K. I am collecting PHP code in a textarea and then using var_export() to a file

[PHP] Re: Help! the Error_Reporting doesn't work

2003-09-25 Thread Shawn McKenzie
What do you mean it doesn't work? It doesn't display errors? How do you know that you have errors? Are you running your own script or someone else's? -Shawn Luckyeagle [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have set the PHP.INI as follow: error_reporting = E_ALL

[PHP] Determine memory used from script

2003-06-05 Thread Shawn McKenzie
/ccc/script.php on line 20 I know why I get the error but would like to know when and why my script is consuming so much. Thanks! Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: New word proposition (was: Re: [PHP] HTML and PHP)

2003-06-06 Thread Shawn McKenzie
HAH! I love it! -Shawn Evan Nemerson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Clode? I like it. Really, who wants to say closing php tag, terminating php tag, or whatever you say. Why not start calling it a clode? What does everyone else think? The only issue

[PHP] ob_get_contents returns FALSE?

2003-06-06 Thread Shawn McKenzie
) and: if(!ob_get_contents()) and: if(ob_get_contents() == ) But I do get the following notice at the ob_end_flush(); line which tells me that output buffering is not on: Notice: ob_end_flush() [ref.outcontrol]: failed to delete buffer default output handler. Thanks! Shawn -- PHP General Mailing

[PHP] Re: ob_get_contents returns FALSE?

2003-06-06 Thread Shawn McKenzie
Any advice? Thanks! Shawn Shawn McKenzie [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I can't get ob_get_contents() to return false, or I don't know how to test for it. Help appreciated. The following never echos STARTING!!! ob_end_flush(); if(ob_get_contents() === FALSE

[PHP] How to determine if output buffering is on?

2003-06-07 Thread Shawn McKenzie
O.K. so how can I determine if output buffering has been started??? Thanks! Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ftp_ssl_connect() Problem

2003-05-27 Thread Shawn McKnight
=/usr/local' '--enable-sockets' '--enable-ftp' (this command reflects my last successful change and lacks the '--with-openssl=/usr/local/ssl' I would have expected) Thanks for any help that can be provided. From my understanding PHP 4.3.0 and OpenSSL 0.9.6 should work. Thanks again. -Shawn Shawn

[PHP] Re: ANY POSTNUKER? Security problem!

2003-05-29 Thread Shawn McKenzie
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It is also a simple drop-down box setting in the admin / settings. - -Shawn Nabil [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] i have problem with session in postnuke. the problem is that while i m logged in as a user, if i closed

<    1   2   3   4   5   6   7   8   9   10   >