Re: [PHP] is_dir on WIndows

2004-09-27 Thread John Nichel
7;s never matching. I'd do something like: if (is_dir($file) || ($file!=".") || ($file!="..")) continue; That will match everything and anything, files and dot directories... The first statement by the OP should work fine. All three will eval to true if it is a directory, and th

Re: [PHP] is_dir on WIndows

2004-09-27 Thread John Nichel
Mark wrote: --- John Nichel <[EMAIL PROTECTED]> wrote: Chris wrote: if (is_dir($file) && ($file!=".") && ($file!="..")) { $users[]=$file; } It's only adding it to the array if all 3 of those are true. and since $file can't be both &#x

Re: [PHP] Make cron file

2004-09-28 Thread John Nichel
add Cron to the list what this list supports? -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Make cron file

2004-09-28 Thread John Nichel
Jay Blanchard wrote: At least he is CRON'ing a php script Well, we can't have that. Maybe we can talk the OP to change his question...maybe he can ask how to set up a cron to sync his system clock with a time server. ;) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL

Re: [PHP] Fwd: [SPAM] Plan Ahead. Shop For Life Insuranc

2004-09-28 Thread John Nichel
Justin Patrin wrote: -- Forwarded message -- From: BonusMail from MyPoints <[EMAIL PROTECTED]> Date: Mon, 27 Sep 2004 11:24:19 -0600 Subject: [SPAM] Plan Ahead. Shop For Life Insuranc To: [EMAIL PROTECTED] Why? -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PRO

Re: [PHP] Loop within Loop help please

2004-09-28 Thread John Nichel
meVal ) { if ( is_int ( $count / 20 ) ) { // do this } // do this $count++; } -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Loop within Loop help please

2004-09-28 Thread John Nichel
$count = 0; ie, everytime $count reached 20, run special code, and reset count to $20. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Loop within Loop help please

2004-09-28 Thread John Nichel
would write it. ;) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Changing mta in /etc/alternatives : how?

2004-09-28 Thread John Holmes
k is different to the existing ones. Can someone shed some light on this for me? Try this: -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Resetting result sets after looping

2004-09-29 Thread John Holmes
resetter, but I seem to be missing something. Yep, you are: http://us2.php.net/manual/en/function.mysql-data-seek.php -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com -- PHP General Mailing List (htt

Re: [PHP] UNSUBSCRIBE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

2004-09-30 Thread John Nichel
government employees. Pssst, for future reference, this little link is provided at the end of every message sent to this list To unsubscribe, visit: http://www.php.net/unsub.php Need me to walk you thru it, or can you handle it from here? -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675

[PHP] Re: HOWTO: Install PHP on Fedora Core / Redhat

2004-10-03 Thread John Swartzentruber
On 10/3/2004 4:02 PM Matthew Fonda wrote: Howdy, I noticed that quite a few people were having a hard time installing PHP on Fedora Core or Redhat, so I put together a little tutorial explaining how to do it. Hope it helps :D http://mfonda.dotgeek.org/fcrh.php I'm not complaining about any tutorial

Re: [PHP] Session.gc_maxlifetime?

2004-10-04 Thread John Holmes
check it upon each access for a "time out", and update the time upon each user action. I prefer the "good enough" solution of garbage collection, though, since most programs don't require a hard time out value. ---John Holmes... UCCASS - PHP Survey System http://

Re: [PHP] I'm looking to have a simple webpage send an email . ..

2004-10-04 Thread John Nichel
process... RTFM STFA STFW Mailing List Your question is answered in the first step (as well as in the second and third). -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Parse file and input into DB

2004-10-04 Thread John Nichel
examples on what to use to do it? What's the format of the file? -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Generating MySQL Tables

2004-10-04 Thread John Nichel
Pete wrote: Is MySQL off topic for this list? Yes. http://lists.mysql.com/ -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] I'm looking to have a simple webpage send an email . ..

2004-10-04 Thread John Nichel
Philip Thompson wrote: John, On Oct 4, 2004, at 1:25 PM, John Nichel wrote: Answers are usually found in a four step process... RTFM STFA STFW Mailing List Can you clarify these abbr.? I think I understand the first one, but what are the next two? Hehe They deal with Searching The Archives, and

Re: [PHP] email templating system

2004-10-04 Thread John Holmes
27;, $system_administrator); $email->assign('name_of_web', $name_of_web); $message = $email->fetch('/templates/email.tpl'); mail($to,$subject,$message); -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Profess

Re: [PHP] email templating system

2004-10-04 Thread John Holmes
write a class that extends smarty and implements the send() method. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] returning values/information from perl apps to php apps..

2004-10-04 Thread John Holmes
should i simply write the perl return values into an output file, and read the output vars from the output file in the php file... There are some notes on the apache_note() manual page that suggest it could be useful. Perhaps you could put a serialized value into an apache note in Perl and then retrie

Re: [PHP] checkbox arrays and validation

2004-10-05 Thread John Holmes
ls=1&chkmodels=2 which means PHP makes $_POST['chkmodels'] equal to 1 for the first variable, then sets the same $_POST['chkmodels'] equal to 2 for the second variable in the query string. End result is one value (not an array) remaining in $_POST['chkmodels'].

Re: [PHP] why this doesn't work as an external file but does internally?

2004-10-05 Thread John Nichel
f.src = " ?>Graphics/home_off.gif"; Anyone know why the external file with two variables is not working but it does work with one variable? What is "doesn't work"? Does it not output the second variable? Does it output php code? -- John C. Nichel ÜberGeek KegWorks.com 716.

Re: [PHP] why this doesn't work as an external file but does internally?

2004-10-05 Thread John Nichel
Please reply to the list, and not just an individual person. Aaron Wolski wrote: -Original Message- From: John Nichel [mailto:[EMAIL PROTECTED] Sent: October 5, 2004 3:51 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] why this doesn't work as an external file but does internally? Wh

Re: [PHP] why this doesn't work as an external file but does internally?

2004-10-05 Thread John Nichel
Aaron Wolski wrote: Ok.. here are 3 links: https://celestica.tristarpromotions.com/NEW/index2.php This link... you'll see that the rollover effects on the top menu work. The external JS file (called: jsstuffnew.php) has code that looks like: img1on = new Image(); img1on.src = "Graphics/home_on.gi

Re: [PHP] A question of style....

2004-10-05 Thread John Nichel
Jay Blanchard wrote: Anything that doesn't use the word 'flava' :) What if I name all my variables after Rocky characters? ;) Now for the real can of worms... On odd lines, I use spaces, and on even lines, I use tabs. The above is an attempt at humor. The below is an attempt at addressing the ques

Re: [PHP] proper method to do the following...

2004-10-06 Thread John Nichel
s... if ( isset ( $_POST['exact'] ) ) { // do what you need to do if it's checked } else { // do what you need to do if it's not checked } -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Push file to FTP Server

2004-10-06 Thread John Nichel
Aaron Todd wrote: Does anyone know how I might be able to have php push a file to an FTP server? Thanks, Aaron http://us4.php.net/ftp -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] SOLVED: why this doesn't work as an external file but does internally?

2004-10-06 Thread John Nichel
Brian wrote: Those of us that view emails as a list of conversations would appreciate not changing subject lines. Changing the subject line as in putting 'SOLVED' in it? Hell, I wish more people did that. -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List (ht

Re: [PHP] session_save_path

2004-10-07 Thread John Holmes
h has to be declared on page using session stuff. You can use session_save_path() to do this, but you'll need it in every script. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com -- PHP Gener

Re: [PHP] general research question (maybe a little OT, sorry)

2004-10-07 Thread John Nichel
)... http://news.netcraft.com/archives/2004/10/07/aspnet_security_flaw_can_bypass_password.html -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] general research question (maybe a little OT, sorry)

2004-10-07 Thread John Nichel
Matthew Sims wrote: The following sites have been known to use PHP: www.insight.com (is a publicly traded fortune 1000 company. The site is 90% PHP) Insight now uses CF. It was a political change, not one agreed on by the techies. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL

Re: [PHP] general research question (maybe a little OT, sorry)

2004-10-07 Thread John Nichel
Greg Donald wrote: On Thu, 07 Oct 2004 15:16:51 -0400, John Nichel <[EMAIL PROTECTED]> wrote: Insight now uses CF. It was a political change, not one agreed on by the techies. I don't know much about CF at all. Was it because of the shopping cart capabilities of CF? I read somewhere

Re: [PHP] Determining the length (in an audio sense) of an MP3

2004-10-07 Thread John Nichel
Paul Reinheimer wrote: Hi, I am trying to determine the length (in terms of seconds) of an MP3 file. I have seen the ID3 pear project, but I didn't see anything there to tell me how long the song was. There is a fileinfo pecl project, but it doesn't mention MP3s and I couldn't find any good documen

Re: [PHP] Determining the length (in an audio sense) of an MP3

2004-10-07 Thread John Nichel
John Nichel wrote: I've used this before, and it will give you the length of the song... http://leknor.com/code/php/view/class.id3.php.txt I haven't used this one, but it claims to do mp3 as well as other file formats... http://getid3.sourceforge.net/ -- By-Tor.com It's all abou

Re: [PHP] Is there any blog code available for php5?

2004-10-07 Thread John Coggeshall
www.s9y.org I am pretty sure it can support multi-user, although i don't know if there is an admin interface yet for that. John On Thu, 2004-10-07 at 19:32, Teng Wang wrote: > I tried some but all got failures. > I prefer the blog with calendar and multi-users >

Re: [PHP] Grab an array from a cookie without throwing errors?

2004-10-08 Thread John Nichel
bookmarks = unserialize ( $_COOKIE['bookmarks'] ); } else { $bookmarks = array(); } -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] header redirect with POST?

2004-10-08 Thread John Nichel
answer that is PHP only. If memory serves, we had to do this at my last job, and I think we found sockets to be the answer. I don't remember any of the details (wasn't my project), but I'm pretty sure they opened a socket to POST the data thru. -- John C. Nichel ÜberGeek KegWorks.c

Re: [PHP] Re: sending mail -- nullmailer

2004-10-08 Thread John Nichel
dmail? Thanks Well, to use the mail() functions on a *nix box, you need to have some MTA running on it. Maybe php's *other* mail functions are more along the lines of what you're looking for http://us4.php.net/imap -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED]

Re: [PHP] 1000+ character POSTed strings get mangled

2004-10-08 Thread John Holmes
er an Apache2/PHP bug that caused issues like this with any request variables, but I couldn't find it on bugs.php.net. Have you reported this there, yet? -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.p

Re: [PHP] Quotes """ in form textarea fields

2004-10-08 Thread John Holmes
eract/forms.html#input-control-types http://www.w3.org/TR/html4/interact/forms.html#h-17.4 -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Securing Servers

2004-10-08 Thread John Nichel
Stephen Craton wrote: I agree on the whole MS opinions bit. I also agree about it being off topic, and meant to open it by saying that, but I erased it in fear PHP would consider it OT and become all mad and whatnot. The only problem with the shared hosting idea is that I would have to take time to

Re: [PHP] Securing Servers

2004-10-08 Thread John Nichel
Stephen Craton wrote: Thanks for the reply, and forgive me if I top post, just a bad habit. I think my original intention has been misunderstood. :) I don't plan on starting my own hosting business at all, I just want to allow access to my own personal Apache server to show the clients I am working

Re: [PHP] Securing Servers

2004-10-09 Thread John Nichel
Curt Zirzow wrote: * Thus wrote M Saleh EG: but plz Radhita, don't bring your biased opinions about MS vs Opensource or Linux vs Windows over here. It's so subjective and plus gets an off-topic topic more off ! I can install BSD apache/php/mysql w/firewall and totally locked down in 15 minutes and

Re: [PHP] Tempnam not working??

2004-10-17 Thread John Holmes
;mytmp' does not exist (relative to your script), then PHP will default to the system directory. Or, if PHP cannot write to 'mytmp', it'll default back to the system temporary directory. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|arc

Re: [PHP] Nested foreach ?

2004-10-17 Thread John Holmes
> [3] => [4] => ) 1 FYI - The skills is a string, skys and slus ints. Also I had only filled in 3 of the 5 for each. Since we're just guessing at what you want, I'll guess something like this: foreach($skills as $key => $skill) { echo "$skill - {$skys[$key]} - {$slus[$key

Re: [PHP] Nested foreach ?

2004-10-17 Thread John Holmes
Stuart Felenstein wrote: John, Sorry, I'm not trying to be unclear. There are 3 columns in the table. In the user form. there are 30 fields, 10 text and 20 dropdown. The 10 text are: $_SESSION['skills'] = $_POST['skill']; The first dropdown is : $_SESSION['skys&

Re: [PHP] how to create multiple selects within php

2004-10-18 Thread John Nichel
t tag to look as such... On the page that the form is submitted too, the selections will be in an array ($_POST['foo']). -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how to create multiple selects within php

2004-10-18 Thread John Nichel
itted. If your select tag is as such... When you submit the form, you can check it like this... if ( isset ( $_POST['foo'] ) ) { //user has selected something do stuff } else { //user did not select anything do other stuff } -- John C. Nichel ÜberGeek

Re: [PHP] how to create multiple selects within php

2004-10-18 Thread John Nichel
Please reply to the list. bruce wrote: john.. thanks for the response... but i don't need a multiple select.. what i need are multiple select/menu lists... list1list2 list3 however, the issue i'm really facing is how to detect that a user has actually selected an item in a give

Re: [PHP] Site Search for website

2004-10-18 Thread John Nichel
. Rahul S. Johari http://us4.php.net/mnogosearch http://www.mnogosearch.org/ -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: ' (Single Quotes) in user inputs

2004-10-18 Thread John Holmes
s you have magic_quotes_runtime enabled. If you find that you need to call stripslashes on your data, then you're escaping it twice before you insert it. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.php

Re: [PHP] permission for file creating script

2004-10-20 Thread John Nichel
ndard user on that box also member of that group(I did that with kusers in kde), all files now were on chmod 0664 and all directories on 0775. But my user didn't have write permission, this doesn't go into my head. Is Apache running as apache:apache? Check your httpd.conf file. -- John C.

Re: [PHP] url

2004-10-20 Thread John Nichel
to work and I am racking my brain trying to figure out what. register_globals Search the archives and/or manual for it. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Regexp help

2004-10-20 Thread John Holmes
follows > > ^[\d\D\w\W\s\S.]{0,50}$ > > but it doesn't appear to be working... > Any ideas? Well, strlen() would be more appropriate than a regular expression to check for the length of a string. Wouldn't /^.{0,50}$/ work, though? ---John Holmes... (back to Cisco training..

Re: [PHP] Send variable in include()

2004-10-20 Thread John Nichel
a do this: include 'http://www.example.com/guestbook.php?option=view&offset=$offset'; Variables do not get parsed inside single quotes. Either quote your include statement with double quotes, or break out of the single quotes and append the variable. -- John C. Nichel ÜberGeek K

Re: [PHP] Re-compiling PHP

2004-10-21 Thread John Nichel
Mike R wrote: I am trying to re-compile php, but keep getting erros that the mysql extensions are not installed. I got the binary from php.net and included mysql in configure (following). What am I not doing correctly? You're trying to compile the binaries? -- John C. Nichel ÜberGeek KegWork

Re: [PHP] Re-compiling PHP

2004-10-21 Thread John Nichel
x27;d file I should say. ;p This is PHP5? If I'm not mistaken (someone will correct me if I am), PHP5 doesn't come bundled with MySQL anymore, so you will have to tell the configure where MySQL is installed... --with-mysql=/path/to/mysql -- John C. Nichel ÜberGeek KegWorks.com

Re: [PHP] Re-compiling PHP

2004-10-21 Thread John Nichel
client and shared packages too) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] I cannot move files

2004-10-21 Thread John Nichel
ww/html/php05.php on line 66 Failure in moving file. Array ( [userfile] => Array ( [name] => page01.html [type] => text/html [tmp_name] => /tmp/phpoJDoSs [error] => 0 [size] => 721 ) ) What are the permissions on /var/www/html? Owner/Group of /var/www/html? Owner/Group which A

[PHP] PHP CLI Forking Problem

2004-10-22 Thread John McKerrell
d over... Now I think about it that could just be it freeing up each individual allocated bit of memory, but I've left it running for ten minutes and the children still didn't manage to finish. Anyone got any thoughts? Thanks, John McKerrell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] currency

2004-10-22 Thread John Nichel
Perry, Matthew (Fire Marshal's Office) wrote: What is the best way to output 38884 as $38,884.00? Use the manual Luke... http://us4.php.net/number_format -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] COPY with PostgreSQL

2004-10-22 Thread John Nichel
Jay Blanchard wrote: [snip] I am using COPY for PostgreSQL and having problems... [/snip] So, is this a PHP problem, or a PostgreSQL problem? Why does it matter??? Just answer the ding-dang question. ;) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing

Re: [PHP] COPY with PostgreSQL

2004-10-22 Thread John Nichel
Jay Blanchard wrote: [snip] Why does it matter??? Just answer the ding-dang question. ;) [/snip] Easy there Kemosabe', someone might mistake you for someone who wants to help! *goes back to lurking* -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing

Re: [PHP] MySQL scalability...

2004-10-22 Thread John Holmes
Kevin Grigorenko wrote: Unfortunately, for some security issues, I cannot get to the Apache statistics for the site, so I have to create my own solution. I recommend you find a better host that gives you access to the raw logs and/or doesn't have safe_mode on. -- ---John Holmes... A

Re: [PHP] Form containing 2 menus not returning anything

2004-10-23 Thread John Holmes
Ken Tozier wrote: if ($view) { echo $publication."\n".$view; } if(isset($_POST['view'])) { echo $_POST['publication'] . '' . $_POST['view']; } -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/

[PHP] PHP friendly web software?

2008-11-25 Thread John Boy
Can anyone recommend a wysiwyg web development software which is php friendly, i.e. you can design the page in wysiwyg and insert php code into the html without destroying the screen image preview. I've been using Frontpage to compose the page then dev-php to insert the php code. This has worked we

[PHP] PHP - Jasper Report Integeration

2008-11-30 Thread Johny John
Dear All, Do any one know how to integrate PHP with Jasper Reports. I tried it..but its says "Unable to create Java Virtual Machine " Please refer this link for more details. http://jagadmaya.com/integration-phpjasperreports.html -- Thanks & Regards, Johny www.phpshore.com

[PHP] PHP - Jasper Report Integeration

2008-12-04 Thread Johny John
Dear All, Do any one know how to integrate PHP with Jasper Reports. I tried it..but its says "Unable to create Java Virtual Machine " Please refer this link for more details. http://jagadmaya.com/integration-phpjasperreports.html Regards, Johny www.phpshore.com

Re: [PHP] Will not report errors what can I do

2008-12-04 Thread Johny John
HI Terion, Please put the error reporting on top of the page and try. If you have any errors in the include file, it won't execute the rest of commands. Make the changes to code as follows. Regards, Johny John www.phpshore.com On Fri, Dec 5, 2008 at 3:50 AM, Terion Miller <[EMAIL P

[PHP] PHP - Jasper Report Integeration

2008-12-04 Thread Johny John
Dear All, Do any one know how to integrate PHP with Jasper Reports. I tried it..but its says "Unable to create Java Virtual Machine " Please refer this link for more details. http://jagadmaya.com/integration-phpjasperreports.html -- Regards, Johny www.phpshore.com

Re: [PHP] PHP - Jasper Report Integeration

2008-12-05 Thread Johny John
Hi Chris, Sorry few days back also I posted the same request. But it did not shown up in my mailing list. That's why I posted it again thinking that my previous email did not reach. Sorry for the trouble. On Fri, Dec 5, 2008 at 11:52 AM, Chris <[EMAIL PROTECTED]> wrote: > Jo

[PHP] custom php.ini

2008-12-16 Thread John P
Hello all, In short, I'm trying to set my uploads_tmp_dir variable, as my hosting provider has it set ot the default NULL (I'm using dreamhost). I tried setting my own php.ini as instructed exactly on their wiki (http://wiki.dreamhost.com/PHP.ini) but doing so causes PHP to essentially die. p

Re: [PHP] custom php.ini

2008-12-16 Thread John Pillion
""Daniel Brown"" wrote in message news:... > I'm not certain about their configuration, but does DreamHost have > AllowOverrides turned on in their httpd.conf? > > If so, just place a full php.ini file in your root web directory > (not just the line for uploads_tmp_dir, but an entire

[PHP] checking local file size

2008-12-16 Thread John P
I know this isn't a php question (though I'm using PHP for the server side... does that count?). I'm hoping though that some of you guys are just as experienced in ajax as you are PHP, because I can't find any good ajax forums. you can respond to me personally if needed, to keep it off the php

Re: [PHP] checking local file size

2008-12-16 Thread John Pillion
ve shell access). Does it need to be built into a *.so or *.dll and added to the PHP.ini file? If so, how do I build it? In short, what next? Thanks > > On Dec 16, 2008, at 9:20 PM, John P wrote: > > > I know this isn't a php question (though I'm using PHP for th

RE: [PHP] checking local file size

2008-12-16 Thread John Pillion
>> "Bojan Tesanovic" > wrote in message >> news:>... >>> Well you need to know the TMP file name that has been in progress of >>> upload, it is usually at /tmp folder >> >> I know how to get that... >> >>> also you need to know the actual size of file uploading, there is an >>> extension for

RE: [PHP] checking local file size

2008-12-16 Thread John Pillion
> > I already downloaded that, thanks. How do I apply it is my question. > > There's no documentation for the installation of it, that I see > > 'Course it is :) > > http://www.php.net/manual/en/install.pecl.php > > Linked from here: http://pecl.php.net/doc/index.php > I tried installing

Re: [PHP] checking local file size

2008-12-17 Thread John Pillion
> > I tried installing it like the documentation said... but I got the > > following errors. I contacted the hosting service (dreamhost) and they > > said they don't > > provide support for pecl, though they do support perl. Anyone? > > > > -- > > > > $ pecl install uploadprogress > > > >

[PHP] PHP script gives no output or error message

2008-12-27 Thread John Musbach
ator still has yet to manually activate my account so hopefully I can get some help here. :) P.S. In case it helps you can see the source code to the API files I referenced here: fudapi.inc.php: http://pastebin.com/m349a4bff forum_login.php: http://pastebin.com/m176b28b3 -- Best Regards, John

Re: [PHP] PHP Help Needed

2008-12-27 Thread John Corry
#x27;s a lengthy, complicated process that is going to demand a little more of you than just reducing your app to 2 steps and asking a mailing list how to do it. Good luck, let us know how it goes and how we can help you take (much smaller) steps. John Corry -- PHP General Mailing List (htt

Re: [PHP] PHP script gives no output or error message

2008-12-27 Thread John Musbach
On Sat, Dec 27, 2008 at 1:13 PM, Daniel Brown wrote: >Good afternoon, John; > >There's a syntax error on line 19: > >> if(external_fud_login(fud_fetch_user($user)['id']))!=NULL) //User ID is >> valid and logged in > >It should be: >

Re: [PHP] PHP script gives no output or error message

2008-12-27 Thread John Musbach
On Sat, Dec 27, 2008 at 3:32 PM, John Musbach wrote: > > Thanks, turns out there were multiple problems with my code. My final > working code is: > > > > for anyone who may be trying to accomplish the same thing as me. In > addition I edited index.php in the theme

Re: [PHP] Webhotel structure

2008-12-27 Thread John Corry
+1 Is it me or has the php mailing list kind of dumbed itself down in the last 5 years? > >What? > > -- > > daniel.br...@parasane.net || danbr...@php.net > http://www.parasane.net/ || http://www.pilotpig.net/ > Unadvertised dedicated server deals, too low to print - email me to find out! >

[PHP] Is PHP truly faster on the JVM?

2008-12-27 Thread John Papas
Lately I've been hearing a lot of people evangelizing that PHP with Resin is actually much faster than with mod_php, but I cannot find any benchmark anywhere. Is it true or just vendor BS? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] is_readable(http://.... text file) says not, but I can in browser

2008-12-28 Thread John Allsopp
Hi I'm sure this is simple for yous all but I'm not sure I know the answer. $myFileLast = "http://www.myDomain.com/text.txt";; if (is_readable($myFileLast)) { $fh = fopen($myFileLast, 'r'); $theDataLast = fread($fh, 200); fclose($fh);

Re: [PHP] Search functionality in website.

2008-12-29 Thread John Corry
Or even a google search widget... Miles Thompson wrote: > On Mon, Dec 29, 2008 at 10:47 AM, Tiji varghese wrote: > ht-dig (or digg) > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Php mysql update

2008-12-29 Thread John Corry
Wouldn't it be: mysql_query("UPDATE database set Field = Field+1 WHERE Criteria='Criteria'"); Note: no '' around +1, = operator John Corry ad...@buskirkgraphics.com wrote: > Okay maybe i have just forgot. > I am trying to update the database and do a

Re: [PHP] Need Help

2008-12-29 Thread John Corry
do yourself (and everyone else on the list) a favor and do at least just even a MODEST amount of research before sending your hundreds of lines of crappy code out to the ether asking someone to fix it for you! John PS - sorry if that's not soft and sensitive enough. Where I come from (vintage lat

Re: [PHP] Need Help - apology

2008-12-29 Thread John Corry
That was too heavy handed. I'm sorry. Please forgive my harshness. John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] First steps towards unix and php

2009-01-08 Thread John Corry
Ubuntu linux has been really easy to set up, administrate and install/run programs. It has a huge user base, really good support forums and supports a large variety of hardware configurations. I'm running it on my Thinkpad T40, which I use for PHP development when travelling. It's rock solid and e

Re: [PHP] [SOLVED] Re: can a session be used in a query?

2009-01-08 Thread John Corry
I read (well, skimmed anyway) this thread and saw that the original poster's issue was resolved. For the archives though, I'd like to mention that the PEAR Auth and MDB2 packages would make all of the things that are being done by this code much easier for the programmer. Auth allows you to authe

Re: [PHP] Re: First steps towards unix and php

2009-01-08 Thread John Corry
ny other included classes/files), code explorer views/trees, SVN/CVS support, debugging...very capable IDEs. Zend costs $$, Eclipse/PDT is free. John Corry On Thu, Jan 8, 2009 at 6:33 PM, Skip Evans wrote: > Ross McKay wrote: >> >> You should also check out editors and IDEs - STFW for pr

Re: [PHP] Convert CMYK values to RGB values?

2009-01-09 Thread John Corry
p;hl=en Without looking at any of their code, I do notice that some class descriptions look promising. John Corry On Fri, Jan 9, 2009 at 8:03 PM, Shawn McKenzie wrote: > c...@l-i-e.com wrote: >> Short Answer: >> >> You can't. >> :-) >> >> http://en.wiki

Re: [PHP] is_readable(http://.... text file) says not, but I can in browser

2009-01-11 Thread John Allsopp
Daniel Brown wrote: On Sun, Dec 28, 2008 at 13:02, John Allsopp wrote: $myFileLast = "http://www.myDomain.com/text.txt";; if (is_readable($myFileLast)) { $fh = fopen($myFileLast, 'r'); $theDataLast = fread($fh, 200);

Re: [PHP] is_readable(http://.... text file) says not, but I can in browser

2009-01-11 Thread John Allsopp
Nathan Nobbe wrote: On Sun, Dec 28, 2008 at 11:02 AM, John Allsopp wrote: Hi I'm sure this is simple for yous all but I'm not sure I know the answer. $myFileLast = "http://www.myDomain.com/text.txt";; if (is_readable($myFileLast)) { $fh = f

Re: [PHP] is_readable(http://.... text file) says not, but I canin browser

2009-01-11 Thread John Allsopp
Nathan Rixham wrote: John Allsopp wrote: Nathan Nobbe wrote: On Sun, Dec 28, 2008 at 11:02 AM, John Allsopp wrote: Hi I'm sure this is simple for yous all but I'm not sure I know the answer. $myFileLast = "http://www.myDomain.com/text.txt";; if (is_

Re: [PHP] Couple of beginner questions

2009-01-11 Thread John Corry
sses to generate basic HTML elements, then tables, then forms, then images. It saved me a bunch of time and taught me to see the website as an application...not as a web-page with pieces of data in it. Somehow, coming to that bit of knowledge was very helpful to my life as a programmer. Good luck,

Re: [PHP] Zend (or other) Framework...where to start?

2009-01-14 Thread John Corry
due to schedule and commitments, this 'playing around' is going to have to take place in the production, for-hire context. Surely we're all familiar with 'on the job training', right? ; ) John Corry > ZF isn't going to save you any time on a single project. The tim

Re: [PHP] To check for existing user in database

2009-01-15 Thread John Corry
You might want to (seriously) look at the PEAR Auth class. It can save you a TON of time...all the stuff you're trying to do with this code (that you were just told you're going to have to rewrite) is already done for you. It's very handy for registering/tracking users of your sit

Re: [PHP] PHP Enclosing Tags? Do You Close Your PHP Declarations?

2009-01-30 Thread John Corry
Same here. They're just extraneous elements and can hide whitespace. I leave them open in all applcation files and close them only in templates. > > > I only close tags inside templates. All of my logic code is outside > of markup though so those files never have a closing ?> for exactly > the

<    21   22   23   24   25   26   27   28   29   30   >