[PHP] class help (PLEASE)

2004-07-25 Thread PHP Gen
Hi, After searching the archives and google I found a class that does bb code conversions, although I know how to use classes (thanks to the docs the writers write) I dont really understand them too well. The class is REALLY good and covers all my needs (which is to display php code in colors

Re: [PHP] Re: class help (PLEASE)

2004-07-25 Thread PHP Gen
the class looks massive but if you copy and paste it into a editor that colors PHP code (I use editplus), you will see that a s***load of it is comments on how to use the class and layouts,css, initialization etc (even I could understand that so I'm guessing it has to pretty simple), then come

Re: [PHP] Re: class help (PLEASE)

2004-07-25 Thread PHP Gen
eaks have a lot of tutorials, so do > codewalkers. You can probably find > class tutorials at one of those sites. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > = -- - The

[PHP] Using htaccess to show diff dir (0T)

2004-07-27 Thread PHP Gen
aulty interface lies between the chair and the keyboard. - Creativity is great, but plagiarism is faster! - Smile, everyone loves a moron. :-) ___ Do you Yahoo!? Express yourself with Y! Messenger! Free. Download now. http://messenger.yahoo.com

[PHP] RE[PHP] Using htaccess to show diff dir (0T) (SOLVED)

2004-07-27 Thread PHP Gen
. :-) __ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] For Loop Problems

2004-07-28 Thread php-list
columns, row 3 will have 21 columns, row 4 will have 28 columns, and so on. I can't figure out why this is. Either it's something new in PHP5 or I'm doing something really stupid. I am sending a PDF attachment of a snapshot showing a hint, made purely with HTML, of what I am trying to achieve. If anyone can help me it would be greatly appreciated. Thanks guys. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ordering a list starting at x

2004-07-29 Thread php-general
($numrows>($offset+$limit)) { $nextoffset=$offset+$limit; print "$Next\n"; } Any thoughts? ----- This mail sent through IMP: http://horde.org/imp/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ordering a list starting at x

2004-07-29 Thread php-general
imit; > print "$Prev > \n"; > } > > > if ($numrows>($offset+$limit)) { > $nextoffset=$offset+$limit; > print " offset=$nextoffset&sc=searchResults\">$Next\n"; > } > > Any tho

RE: [PHP] Server's clock gone funny, maybe? OT

2004-07-29 Thread php-general
Quoting Jay Blanchard <[EMAIL PROTECTED]>: > [snip] > > > > [smartass mode to full power - nothing personl] > > [/smartass mode] > > Is that W3C HTML 4.01 compliant? > [/snip] > > Yes, ermaybe. Try XJBML strict > > -- > PHP General Mailing

Re: [PHP] Replace a button by an image

2004-07-30 Thread PHP Gen
e keyboard. - Creativity is great, but plagiarism is faster! - Smile, everyone loves a moron. :-) __ Do you Yahoo!? Y! Messenger - Communicate in real time. Download now. http://messenger.yahoo.com -- PHP General Mailing List (http://www.php.net

[PHP] str_replace: use multiple or array?

2004-07-30 Thread PHP Gen
Anybody else getting a non delivery message from: MAILER-DAEMON@ rotonet.rsdb.nl Thanks, Mag = -- - The faulty interface lies between the chair and the keyboard. - Creativity is great, but plagiarism is faster! - Smile, everyone loves a moron. :-) __ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] multiple checkboxes

2004-08-02 Thread PHP Gen
__ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Confused...need some programming logic

2004-08-04 Thread PHP Gen
Hi, I have 13 folders with a few thousand images each, now the client wants me to export the "gallerys" to another server that does not run phpso he wants plain .htm files. Below is how far I have come to "porting" this... the idea being: generate .html files then si

Re: [PHP] Confused...need some programming logic

2004-08-04 Thread PHP Gen
--- Justin Patrin <[EMAIL PROTECTED]> wrote: > > 4: put 100 tags to call 100 images per page > > (confused here) > > I put some code inline below. Should work. If you > want a thumbnail > gallery, you could also create thumbnails using the > GD functions in &g

Re: [PHP] Confused...need some programming logic

2004-08-04 Thread PHP Gen
yboard. - Creativity is great, but plagiarism is faster! - Smile, everyone loves a moron. :-) __ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail -- PHP General Mailing List (http://www.php

[PHP] Write text on imge...AND save it to disk..

2004-08-04 Thread PHP Gen
://se.php.net/image, searched the archives, http://www.hotscripts.com/PHP/Tips_and_Tutorials/Image_Manipulation/ and google...but am as confused as ever...maybe because its 5am ;-) and been working whole day. Solutions or URLs are most welcome, thanks in advance. -Mag * Class

Re: [PHP] Write text on imge...AND save it to disk..

2004-08-04 Thread PHP Gen
--- Jason Wong <[EMAIL PROTECTED]> wrote: > On Thursday 05 August 2004 10:36, PHP Gen wrote: > > > Have very little of idea of the GD functions (and > dont > > ahve imagemagik) so am having problems > > So RTFM. I *DID* RTFM, just am more confused after

Re: [PHP] Write text on imge...AND save it to disk..

2004-08-04 Thread PHP Gen
> Big clue: look up each of the image*() functions > used in your class and find > out what they do. Arn't you the genius? I dont know if you read my older posts (around 2-3 days ago) when I asked if someone could recommend a good place to learn about PHP classes... Stil

Re: [PHP] Write text on imge...AND save it to disk..

2004-08-04 Thread PHP Gen
e lies between the chair and the keyboard. - Creativity is great, but plagiarism is faster! - Smile, everyone loves a moron. :-) __ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail -- PHP Ge

[PHP] sorting an array..dont know numeric or alpha-numeric

2004-08-06 Thread PHP Gen
rs != "all"){ $filters=explode(",",$filters); while (($file = readdir($handle))!==false) { for ($f=0;$fhttp://promotions.yahoo.com/new_mail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] sorting an array..dont know numeric or alpha-numeric

2004-08-06 Thread PHP Gen
doing is > nearly impossible the way it is written.. Sorry about that, I didnt write the code, I "snipped" it off from phpbuilder (i think, might have been another php help site) and since it was working I didnt touch or do anything. Will go through the modifications and advise you gave m

[PHP] regex help and file question

2004-08-07 Thread PHP Gen
great, but plagiarism is faster! - Smile, everyone loves a moron. :-) __ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Flush()....go to bottom of page (might be 0T)

2004-08-07 Thread PHP Gen
Hi, I am using flush() and ob_flush() in one of my scripts and its working great.., just one problem, as it keeps outputting x on the screen the page just stays on top...is there anyway (I am not sure via php...but maybe JavaScript? ) to make the browser "follow" the output below eg

Re: [PHP] Re: regex help and file question

2004-08-07 Thread PHP Gen
_ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Flush()....go to bottom of page (might be 0T)

2004-08-07 Thread PHP Gen
--- John Holmes <[EMAIL PROTECTED]> wrote: > PHP Gen wrote: > > Hi, > > I am using flush() and ob_flush() in one of my > scripts > > and its working great.., just one problem, as it > keeps > > outputting x on the screen the page just stays > on &g

[PHP] urlencode - urldecode

2004-08-08 Thread PHP Gen
__ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Calendar/Planner Project

2004-08-10 Thread PHP Junkie
Ave, I'm working to create a sophisticated PHP Calendar/Planner application for my company's web server. I was wondering if there is a nice powerful calendar/planner application out there which could help me in guidance towards building my project. What I'm looking for is somethin

[PHP] Save Dialog Box

2004-08-18 Thread PHP Junkie
Ave, I'm working on creating a File Manager for my Company, in PHP & MySQL. I had a question The File Manager allows authenticated users to download & upload various types of files from the available Zones. What I basically do is specify a link to the Original file stored on

[PHP] How do I open Save As Dialog Box?

2004-08-23 Thread PHP Junkie
ication/octet-stream"); But I don't know how. Can anyone help? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How do I open Save As Dialog Box?

2004-08-23 Thread PHP Junkie
n MAC... It works on Windows .. In Mac it still opens up the file in it's supported software. But it's not an issue for me. Thanks a ton guys... On 8/23/04 10:51 AM, "John Holmes" <[EMAIL PROTECTED]> wrote: > From: "PHP Junkie" <[EMAIL PROTECTED]> > >

[PHP] unlink() & rmdir() ... Problems.

2004-08-23 Thread PHP Junkie
Ave, I do not really know what the problem is because I don't get an error, and in fact my scripts execute fine... Except that, niether is the directory deleted, nor is the file deleted. Only corresponding database entries are deleted which I specify in my SQL code. There are 2 different function

Re: [PHP] unlink() & rmdir() ... Problems.

2004-08-23 Thread PHP Junkie
t;[EMAIL PROTECTED]> wrote: > PHP Junkie wrote: >> Again, no error... The entries in the table get deleted.. But file remains >> in the directory. >> >> Any suggestions? > > Neither of these functions return an error. They will return false on > failure. Doe

Re: [PHP] How do I open Save As Dialog Box?

2004-08-23 Thread PHP Junkie
t'll download the file and then open it. > > Jon > > PHP Junkie wrote: > >> Ave, >> >> IT WORKS!! >> There wasn't one bit of a problem.. >> I'll just paste the code here again for anyone who might be looking for it. >> I gue

Re: [PHP] unlink() & rmdir() ... Problems.

2004-08-23 Thread PHP Junkie
the user/group permissions... But which user/group does the > web > server use? > [/snip] > > For security reasons Apache typically runs as "nobody" > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] unlink() & rmdir() ... Problems.

2004-08-23 Thread PHP Junkie
be edited by the server. > anything that's uploaded by the server is owned by it, and thusly can be > edited. > > as a side note, you'd have to chmod 777 the directory to be edited if > you want uploads to work. > > PHP Junkie wrote: > >> Ave, >>

Re: [PHP] unlink() & rmdir() ... Problems.

2004-08-23 Thread PHP Junkie
fo() is your friend. >> > > I thought phpinfo() was *MY* friend??? ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] unlink() & rmdir() ... Problems.

2004-08-23 Thread PHP Junkie
Ave, Richard... What exactly did you mean by this? system('rm -rf',$user_dir,$ret_val); I don't understand. On 8/23/04 12:11 PM, "Richard Whitney" <[EMAIL PROTECTED]> wrote: > system('rm -rf',$user_dir,$ret_val); > > On Mon, 23 Aug 2004 11

[PHP] Closing my Window after Download

2004-08-24 Thread PHP Junkie
Ave, I use the PHP Header directives to create a page which would force-download the file for the user... What I want is to have this window close automatically once it's launched the Save As Dialog Box ... I tried several javascript window.close(), self.close() functions but none of them

Re: [PHP] unlink() & rmdir() ... Problems.

2004-08-24 Thread PHP Junkie
f the directory $file_dir, which you define befiorehand > $ret_val displays to you what happened. if you tget nothing, it did not work. > > HTH! > > Richard > > On Mon, 23 Aug 2004 16:24:23 -0400, PHP Junkie <[EMAIL PROTECTED]> wrote: >> Ave, >> >>

Re: [PHP] unlink() & rmdir() ... Problems.

2004-08-24 Thread PHP Junkie
Ave, Trust me I do... I double checked it actually.. On 8/24/04 1:41 PM, "Richard Whitney" <[EMAIL PROTECTED]> wrote: > Dumb question - are you sure you got the path right? > i.e. /home/public_html/rest/of/your/path > > On Tue, 24 Aug 2004 13:31:06 -0400, PHP Junk

Re: [PHP] Closing my Window after Download

2004-08-24 Thread PHP Junkie
Ave, The browser window which launched the Save As window... On 8/24/04 1:41 PM, "John Nichel" <[EMAIL PROTECTED]> wrote: > PHP Junkie wrote: >> Ave, >> >> I use the PHP Header directives to create a page which would force-download >> the f

Re: [PHP] unlink() & rmdir() ... Problems.

2004-08-24 Thread PHP Junkie
emains. Thanks for helping... On 8/24/04 1:49 PM, "John Nichel" <[EMAIL PROTECTED]> wrote: > PHP Junkie wrote: >> Ave, >> >> Nope... Didn't work. Didn't return an error or anything, didn't delete the >> folders either! > > If you c

Re: [PHP] unlink() & rmdir() ... Problems.

2004-08-24 Thread PHP Junkie
; > On Wednesday 25 August 2004 01:31, PHP Junkie wrote: >> Ave, >> >> Nope... Didn't work. Didn't return an error or anything, didn't delete the >> folders either! > >>>> system('rm -rf',$user_dir,$ret_val); > > That shoul

Re: [PHP] unlink() & rmdir() ... Problems.

2004-08-24 Thread PHP Junkie
; > On Wednesday 25 August 2004 01:31, PHP Junkie wrote: >> Ave, >> >> Nope... Didn't work. Didn't return an error or anything, didn't delete the >> folders either! > >>>> system('rm -rf',$user_dir,$ret_val); > > That shoul

RE: [PHP] Is javascript enable?

2004-08-25 Thread php-list
Try phpsniff at http://phpsniff.sourceforge.net/. It not only detects javascript using PHP, but many other things as well. You will wonder how you lived without it. It's pretty cool... Navid -Original Message- From: Thomas Goyne [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 25,

Re: [PHP] Closing my Window after Download

2004-08-26 Thread PHP Junkie
Ave, Trust me John, I would not post here without trying out "many" javascript functions first. In fact, the reason I posted here is because I began to think that a PHP script like that won't allow the window to close, because from window.close() to self.close() to various &

[PHP] sharing records with assigned users

2004-08-26 Thread PHP Junkie
re that Admin gets which I'm trying to figure out. When the Admin is adding a record, he gets to decide which users he wants to share the record with. He can choose particular Users by clicking on their name to share that record with. How do I make that happen? Any suggestions? Thanks. -- P

Re: [PHP] sharing records with assigned users

2004-08-26 Thread PHP Junkie
> wants to > share the record with. He can choose particular Users by clicking on > their > name to share that record with. How do I make that happen? > > Any suggestions? > [/snip] > > I am going to go a little sideways in response to your question because > I believe

Re: [PHP] sharing records with assigned users

2004-08-26 Thread PHP Junkie
Ave, That makes sense... Actually I think I know exactly what you're saying and I think it's gonna work that way. Let me do this. Thanks a ton! On 8/26/04 2:42 PM, "Jason Wong" <[EMAIL PROTECTED]> wrote: > On Friday 27 August 2004 01:49, PHP Junkie wrote:

Re: [PHP] sharing records with assigned users

2004-08-27 Thread PHP Junkie
Ave, Hey thanks a lot. I'm reading up on those. I appreciate this. Thanks. On 8/26/04 10:07 PM, "David Bevan" <[EMAIL PROTECTED]> wrote: > On Thu, 2004-08-26 at 13:49, PHP Junkie wrote: >> Ave, >> >> Jay.. >> Firstly thanks a lot for the tips.

Re: [PHP] sharing records with assigned users

2004-08-27 Thread PHP Junkie
ecord. > > Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Closing my Window after Download

2004-08-30 Thread PHP Junkie
t window named "parentwin" > parentwin.opener = window.self;// Tell current window > that it opened itself > parentwin.close(); // Close window's > parent (e.g. the current window) > } > > HTH - Miles Thompson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Closing my Window after Download

2004-08-31 Thread PHP Junkie
ake it work. I can't understand what exactly is causing the problem. Thanks though. On 8/30/04 7:13 PM, "Jasper Howard" <[EMAIL PROTECTED]> wrote: > if you're not getting any html after your php script, then there's a > different problem. I do the same thing

Re: [PHP] Closing my Window after Download

2004-08-31 Thread PHP Junkie
w" <[EMAIL PROTECTED]> wrote: > * Thus wrote PHP Junkie: >> Ave, >> >> It still doesn't work. Not only that, I put up a "close window" button in >> the page and even that doesn't show up. Although that's still not what I >>

Re: [PHP] Closing my Window after Download

2004-08-31 Thread PHP Junkie
se you're using the header() function to forward, so the user > has to download the same amount of info. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Closing my Window after Download

2004-09-01 Thread PHP Junkie
quot;Accept-Ranges: bytes"); > header("Content-Length: $filesize"); > $fo = fopen("/path/to/filename.ext","r"); > fpassthru($fo); > fclose($fo); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Closing my Window after Download

2004-09-01 Thread PHP Junkie
I got it I feel stupid that I didn't make this sense myself. But then again, once in a while you need a hit on the head with a mallet just like this. Thank you so much. PHPJunkie. On 9/1/04 8:52 AM, "John Holmes" <[EMAIL PROTECTED]> wrote: > From: "PHP Junkie"

[PHP] importing DBF data into mysql

2004-09-01 Thread PHP Junkie
Ave, Is there a PHP script that is able to import or convert DBF data into mySQL tables? I need to get my DBF data into mySQL and PHPMyAdmin couldn't handle it. Another problem I have is I'm running a MAC OS X... There is a very simple and efficient DBF2MYSQL program for windows but n

Re: [PHP] importing DBF data into mysql

2004-09-02 Thread PHP Junkie
Thanks though. On 9/1/04 6:52 PM, "Thornton" <[EMAIL PROTECTED]> wrote: > This is probably what your looking for > > http://www.coolnet.cz/miro/dbf2mysql/dbf2mysql.tar.bz2 > > It should handle your needs > > On Wed, 2004-09-01 at 14:08, PHP Junkie wr

Re: [PHP] importing DBF data into mysql

2004-09-02 Thread PHP Junkie
eads the dbf file that came with the script. I'm still trying > to > figure it out but it won't work... >> >> http://www.coolnet.cz/miro/dbf2mysql/dbf2mysql.tar.bz2 >> > [/snip] > > Check the permissions > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP5 - How Do I Let Users Download Music Files?

2004-09-04 Thread php-list
how should my file structure work? What should the link include? Is it possible to just say, for example, http://somesite.com/music/something.mp3? Also, if I wanted them to listen to streamed music does PHP have any specialized functions I could use to achieve that? I just need some direction. Any

RE: [PHP] PHP5 - How Do I Let Users Download Music Files?

2004-09-05 Thread php-list
definitely have to try that. Thanks again. Nilaab -Original Message- From: Daniel Schierbeck [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 5:45 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] PHP5 - How Do I Let Users Download Music Files? [EMAIL PROTECTED] wrote: > H

[PHP] Help With PEAR::DB Connection

2004-09-10 Thread php-list
? Any help would be greatly appreciated. Thank you. require_once 'DB.php'; $user = 'foo'; $pass = 'bar'; $host = 'localhost'; $db_name = 'clients_db'; $dsn = "mysql://$user:[EMAIL PROTECTED]/$db_name"; $db = DB::connect($dsn); if (DB::isErro

[PHP] Re: Very OT [PHP] CSS not picked up

2004-09-12 Thread php guy
che? > > js > Hi Jeff, This is totally OT for a PHP list but I'll give you an answer. CSS has rules of precedence. When a browser is looking at a html page for styles it first looks for external style sheets, just like you said you have, then it looks for style tags in the ... se

RE: [PHP] Help With PEAR::DB Connection

2004-09-12 Thread php-list
Jim, Thank you. Problem solved thanks to you. The moment you said that PEAR::DB is not finding the MySQL extention I realized that the extension in php.ini hasn't been commented out and the extension folder had not been recognized by PHP. I forgot we had to do that in PHP5. Everything is wo

[PHP] Checking file_exists()

2004-09-15 Thread PHP Junkie
Ave, I have a simple file upload form, which uploads without a problem. Today I added the file_exists() function to my PHP code. And everything stopped working. What am I doing wrong here: File $img1_name uploaded to $PHP_login folder."; } } ?> I'm not getting any errors (for

[PHP] File Download Problems

2004-09-15 Thread PHP Junkie
absolutely perfect... I try and download the same file using the same applications and it gets corrupted. I don't' know what to do. Can anyone help? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Checking file_exists()

2004-09-15 Thread PHP Junkie
Ave, I can swear it wasn't working with the Double Quotes either because I tried it first. But well, now it is so no point in anything. Thanks a lot. On 9/15/04 3:19 PM, "John Holmes" <[EMAIL PROTECTED]> wrote: > From: "PHP Junkie" <[EMAIL PROTECTE

Re: [PHP] File Download Problems

2004-09-16 Thread PHP Junkie
actly understand how this setup of Variables affected the file being downloaded. Thanks anyways. On 9/15/04 5:35 PM, "Marek Kilimajer" <[EMAIL PROTECTED]> wrote: > PHP Junkie wrote: >> Ave, >> >> I've been having a very nagging and frustrating proble

[PHP] Host for Mod PHP5

2004-09-16 Thread php-list
Hello everyone, I know this is going to be tough but I need a hosting company that supports PHP5, has unlimited disk space and a good amount of bandwidth with a decently fast connection for a decent price. I realize that this might be rare, but is anyone offering such a package like this anywhe

[PHP] mail function and qmail

2004-09-26 Thread php mysql
mail function in php requires to use 'sendmail'. But I have only 'qmail' on the box. How I can send email in PHP? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP]

2004-10-10 Thread php-list
} if (count($children)>0) { return $children; } else { return 0; } } -Original Message- From: Minuk Choi [mailto:[EMAIL PROTECTED] Sent: Sunday, October 10, 2004 1:55 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] I

RE: [PHP]

2004-10-11 Thread php-list
Never mind guys, I figured it out. I appreciate your help. Thanks for everything! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, October 10, 2004 10:43 PM To: [EMAIL PROTECTED] Subject: [PHP] Thanks to all of you for your explanation of my method

RE: [PHP] Meaningful Subject

2004-10-11 Thread php-list
-Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: Monday, October 11, 2004 8:09 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] On Monday 11 October 2004 19:41, [EMAIL PROTECTED] wrote: > Never mind guys, I figured it out. I appreciate your help. Thanks for > ever

Re: [PHP] creating a folder in php

2004-10-12 Thread PHP Junkie
chard > <[EMAIL PROTECTED]> wrote: >> I want an IDE that will let me speak code into it. Anyone else want >> anything? > > I'd like a clone of myself to do my 9-5 x 5 for me. > > Oh yeah, and a bag of cheetos. Thanks. > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mysql_num_rows()

2004-09-27 Thread PHP Junkie
Ave, In one of my scripts, I'm getting the error: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /Library/WebServer/Documents/limiteduse.net/dumptoday.php on line 56 I¹m not clearly sure why. I¹m running PHP5 with mySQL 4 ... Is there a compatibility issues

[PHP] How do I make an 'email this page' feature?

2004-09-29 Thread PHP Tech
.html - at the bottom of the page when you click on Email this page it takes you to another page without using a form, and it seems to use just html. How do they do that? I would really like to use a nice PHP script to do this. Any ideas? Would be grateful for any thoughts. I. Gray -- PHP Gener

RE: [PHP] How do I make an 'email this page' feature?

2004-09-30 Thread PHP Tech
r 2004 23:20 To: PHP List Subject: Re: [PHP] How do I make an 'email this page' feature? On Wed, 29 Sep 2004 22:03:07 +0100, PHP Tech <[EMAIL PROTECTED]> wrote: > > I thought by clicking the link this would be a form sending the url of the > page to the next page and so

[PHP] Attaching 2 files in Mail

2004-09-30 Thread PHP Junkie
$message .= "--MIME_BOUNDRY--\n"; } } If(!mail($emailto,$emailsubject,$message,$headers)) { exit("There has been an error, please contact the admin"); } Echo("".$thanksmessage."Send Another Mail"); exit(); } } function cp() { Echo("..."); } ?> <!-- .style1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; font-size: medium; } .style4 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small; } --> Informed Sources Inc. First Name : Last Name : Email : Subject : Attach : -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Get part of URL address

2004-09-30 Thread php mysql
How to get information from URL. I need to get information after / http://www.domain.com/thisIneedtoget. I want to get information after / '"thisIneedtoget" -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Why won't my attached PDF go through ??

2004-10-01 Thread PHP Junkie
y2--\n"; } else { $out="\n\n".$this->body_plain."\n\n"; $out.="--".$this->boundary."\n". "Content-Type: text/plain\n". "Content-Transfer-Encoding: quoted-printable\n\n". $this->body_plain. "\n\n--&qu

[PHP] [PHP Attachement Problems

2004-10-04 Thread PHP Junkie
y2--\n"; } else { $out="\n\n".$this->body_plain."\n\n"; $out.="--".$this->boundary."\n". "Content-Type: text/plain\n". "Content-Transfer-Encoding: quoted-printable\n\n". $this->body_plain. "\n\n--&qu

[PHP] Can anyone help me with Attachments?

2004-10-04 Thread PHP Junkie
Thanks, Junkie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Can anyone help me with Attachments?

2004-10-05 Thread PHP Junkie
Ave, I didn't find any php warnings... Instead there was a whole bunch of coding much of which seemed like junk. I ran a search but no php warnings anywhere.. When I open the pdf in a text editor. What else can be wrong? Thanks, Junkie On 10/4/04 4:46 PM, "Marek Kilimajer" &l

Re: [PHP] Can anyone help me with Attachments?

2004-10-05 Thread PHP Junkie
"Jay Blanchard" <[EMAIL PROTECTED]> wrote: > [snip] > I didn't find any php warnings... Instead there was a whole bunch of > coding > much of which seemed like junk. I ran a search but no php warnings > anywhere.. When I open the pdf in a text editor. > [/snip] >

Re: [PHP] Can anyone help me with Attachments?

2004-10-05 Thread PHP Junkie
Attachment 2 And this is the PHP Code that handles the mail & attachment: Test"; $message_html = stripslashes($message_html); $message_text = "Info

Re: [PHP] Re: PHP Attachement Problems

2004-10-05 Thread PHP Junkie
Ave, I just tried your php mime class. I tried the test_attachment_message file. It did the same to the pdf attachment. Initially, it tested with a text and an image. The text attachment opened without a problem but the image was giving an error in opening. I left the text file attachment as is

Re: [PHP] Re: [PHP Attachement Problems - MAC ISSUE!!

2004-10-05 Thread PHP Junkie
Ave, On a hunch.. I uploaded my original php script AND the php mime class to a normal linux server with Apache web server... And all the scripts are running fine! The PDF attachments go through fine. So I finally found out.. It's a MAC issue! Using my scripts on the MAC server is causin

Re: [PHP] Re: [PHP Attachement Problems - MAC ISSUE!!

2004-10-05 Thread PHP Junkie
Manuel, Really appreciate your help. I created a new empty php file and put your given code in it. Upon running the test.php in my browser, it prints exactly this in my browser: could not open file I have a PowerMac G5 Machine, with MacOS X. I have PHP 5 installed from entropy.ch and have the

Re: [PHP] Re: [PHP Attachement Problems - MAC ISSUE!!

2004-10-05 Thread PHP Junkie
nuel Lemos" <[EMAIL PROTECTED]> wrote: > Hello, > > On 10/05/2004 04:40 PM, PHP Junkie wrote: >> Really appreciate your help. > > No problem. Sending mail with PHP is a saga to many users, not just > Macs. If there is something that can be done to workaround PHP probl

Re: [PHP] Upload problems

2004-10-05 Thread PHP Junkie
Ave, What's the upload_max_filesize set to in your php.ini ? Under "File Uploads" in the php.ini, you will find this value. Junkie On 10/5/04 4:33 PM, "Pablo Gosse" <[EMAIL PROTECTED]> wrote: > Hi, folks. I'm running into a strange upload problem an

Re: [PHP] Re: [PHP Attachement Problems - MAC ISSUE!!

2004-10-06 Thread PHP Junkie
hat I received: ³Error: the length of the file that was read does not match the size of the part file CarsContract-Generic.pdf due to possible data corruption² I understand now that garbage characters are being inserted by PHP in the attachment files. Which is why also the other day when I tried your l

Re: [PHP] Re: [PHP Attachement Problems - MAC ISSUE!!

2004-10-06 Thread PHP Junkie
Ave, One more thing I'd like to point out, which I just discovered. The php code I was using earlier, prior to using Manuel's mail class... Was not able to send any kind of attachment except .txt files. Niether images nor pdf nor anything would go through without being corrupted. Howe

[PHP] PHP and FORM

2004-10-09 Thread php mysql
I'm writing form using PHP and HTML. The form is submited only if user clicks on submit button. However, it's not possible to submit form when I press "enter". Is it possible to submit form pressing on enter? If so how? TH -- PHP General Mailing List (http://www.php.net/) T

[PHP]

2004-10-09 Thread php-list
as having a value of zero. Below is the class. I want it to return zero but I don't want this error. Do I need to change my error settings in my php.ini file? The error level is currently set to E_ALL and I'm using PHP 5.0.1. If at all possible, I want to keep this error setting at high b

[PHP] Help With Error

2004-10-17 Thread php-list
Hello Everyone, I keep getting the following errors in my class and I don't know why. Maybe something has changed in PHP 5.x that I don't know about? Here are the errors and the methods of that class: --- Notice: Undefined index: 0 in L:\localhost\catalog\cat

RE: [PHP] Help With Error

2004-10-19 Thread php-list
$child); print_r($data); die(); Take a look at what comprises the $data array and you should find your problem. HTH, Pablo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, October 17, 2004 8:31 PM To: [EMAIL PROTECTED] Subject: [PHP] Help With Error Hel

Re: [PHP] Simple PDF manipulation

2006-12-27 Thread tg-php
issues trying to do this with fpdf and some other PHP PDF libraries, but PDFlib allowed us to do it and it's what we've used ever since. Actually, tedd.. did you use PDFlib or another library or maybe something in PHP5 (that we don't use yet)? We may be moving off of PDFlib at so

Re: [PHP] newbie question regarding URL parameters

2007-01-05 Thread tg-php
ally considered to be bad security, so it now defaults to OFF. To get these variables, just use the $_GET system variable. $name = $_GET['name']; $age = $_GET['age']; Easy! Best of luck! -TG = = = Original message = = = Hello, I have a newbie question regarding URL para

Re: [PHP] mssql_* overhead

2007-01-10 Thread tg-php
gt;> Does anyone see a problem with doing it this way? Security concerns? >> Anything? >> >> Thanks in advance, >> ~Philip ___ Sent by ePrompter, the premier email notification software. Free download at http://www.ePrompter.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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