[PHP] php encoders

2005-05-23 Thread Dustin Krysak
Can anyone recommend some good php encoders? A variance in price range would be good. Thanks in advance! d -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Should this not return true?!?!

2005-05-20 Thread Dustin Krysak
Hi there (newbie here) - I have the following snippet of code.. $sexId = $_POST['sex']; $fName = $_POST['fName']; $lName = $_POST['lName']; if ($status = $db-query(INSERT INTO names (nameId, sexId, fName, lName) VALUES ('', $sexId, '$fName', '$lName'))) { print Your data was added to

[PHP] html editor written in PHP

2005-05-18 Thread Dustin Krysak
Has anyone seen an example of a HTML editor written in PHP (no JS)? You know the ones - for adding HTML tags to a text field, etc. Thanks! d -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] learning classes - need pointer

2005-05-16 Thread Dustin Krysak
Hi there - I am slowly converting all of my projects over to a OOP based structure with classes. Now I had a quick question. In my current case, I am trying to create all the generic SQL functions (IE insert, update, delete, etc). Now what I am wondering - what would be the best way to

[PHP] CMS backend

2005-05-02 Thread Dustin Krysak
Hi there, I was wondering if anyone knows of any existing php/mysql cms back-ends (no need for a front end). I am just looking for one to dissect (for learning purposes) - and would prefer to keep the presentation out of it for the sake of not having to sort through a 1000 extra files.

[PHP] Re: php-general Digest 18 Apr 2005 08:44:11 -0000 Issue 3404

2005-04-18 Thread DuSTiN KRySaK
check out amfphp (opensource php/flash remoting): http://www.amfphp.org/ good tutorials here: http://www.sephiroth.it/tutorials.php AMFPHP allows you to return info from PHP classes as an actionscript object in flash. d On 18-Apr-05, at 1:44 AM, [EMAIL PROTECTED] wrote: From: Matt Babineau

Re: [PHP] dynamic image will not print properly

2005-04-15 Thread DuSTiN KRySaK
, DuSTiN KRySaK said: One thing I feel is important to point out before I keep banging my head off of the wall here... In the URL parameter that is sent to the file, the url parameter is just carrying text that is printed into the image. It is not actually the image name, or anything. The image

[PHP] scripting workflow

2005-04-12 Thread DuSTiN KRySaK
I just have a few questions regarding workflow when producing scripts. First off, do people prefer to have all their code in one file? Or multiple separate files? I know functions and classes are good to keep in separate files, but i am talking about say for example a news system, etc. Next

Re: [PHP] dynamic image will not print properly

2005-04-11 Thread DuSTiN KRySaK
, Richard Lynch wrote: On Tue, April 5, 2005 2:26 pm, DuSTiN KRySaK said: Hi there - I had my first crack at creating a dynamic image. The thing is - the image is displayed fine in the browser, but when you go to print it, the image is either missing, or part of it is missing. Is there something special

Re: [PHP] dynamic image will not print properly

2005-04-11 Thread DuSTiN KRySaK
Replying below. On 11-Apr-05, at 5:05 PM, Richard Lynch wrote: On Mon, April 11, 2005 3:04 pm, DuSTiN KRySaK said: I moved the script over to another host to test, and it worked fine there. So to me that says it should be something to do with the host... now is there anything in the php.ini

[PHP] php rich text editors

2005-04-07 Thread DuSTiN KRySaK
Can anyone refer me to anything that will work with PHP? Just need it for a blog type application. Thanks! d -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php rich text editors

2005-04-07 Thread DuSTiN KRySaK
Problem with that one - does not work in safari (on the mac). d On 7-Apr-05, at 11:22 AM, Ben Ramsey wrote: DuSTiN KRySaK wrote: Can anyone refer me to anything that will work with PHP? Just need it for a blog type application. FCKEditor works well, has a PHP version, and is cross-browser: http

Re: [PHP] php rich text editors

2005-04-07 Thread DuSTiN KRySaK
and feel of the site somewhat consistent. d On 7-Apr-05, at 11:40 AM, Pablo Gosse wrote: DuSTiN KRySaK wrote: Can anyone refer me to anything that will work with PHP? Just need it for a blog type application. Thanks! d Free - http://www.dynarch.com/projects/htmlarea/ (works okay, but code

[PHP] dynamic image will not print properly

2005-04-05 Thread DuSTiN KRySaK
Hi there - I had my first crack at creating a dynamic image. The thing is - the image is displayed fine in the browser, but when you go to print it, the image is either missing, or part of it is missing. Is there something special needed to print a dynamic image? Here is a code snippet used to

[PHP] Fwd: dynamic image will not print properly

2005-04-05 Thread DuSTiN KRySaK
One thing to add. the issue is only on windows/IE. If it is say windows/Firefox - everything works as it should. d Begin forwarded message: From: DuSTiN KRySaK [EMAIL PROTECTED] Date: April 5, 2005 2:26:14 PM PDT To: PHP php-general@lists.php.net Subject: dynamic image will not print

[PHP] Re:Re: [PHP] dynamic image will not print properly

2005-04-05 Thread DuSTiN KRySaK
I wondered that myself, but all the other (not dynamic) images print fine! d On 5-Apr-05, at 4:51 PM, [EMAIL PROTECTED] wrote: From: Andy Pieters [EMAIL PROTECTED] Date: April 5, 2005 2:35:22 PM PDT To: php-general@lists.php.net Subject: Re: [PHP] dynamic image will not print properly To test,

[PHP] functions vs classes

2005-04-03 Thread DuSTiN KRySaK
Novice PHPer, and i am wondering why one would use a function instead of a class (or object)? They seem to server very similar in use. The way I see it, is a function if for repeated use in a project specific manner, where as a class could be used for many projects. is this correct? Although

[PHP] PHP source code formatter for OS X

2005-03-16 Thread DuSTiN KRySaK
Does anyone know of a PHP source code formatter to clean up sloppy code that runs on OS X? d -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mail() takes a long time to process

2005-02-26 Thread Dustin Krysak
Hi there, I have a script that uses the mail() function, but for some reason the script takes a really long time to finish processing (like 5 minutes). there are some other functions performed (like sql insert, etc) that happen immediately as they should. But the mail takes some time to finish

[PHP] best flow for this project

2005-01-31 Thread Dustin Krysak
ok, i have a project where: -a user adds their email address, name, etc to a database. -a responder sends an email to them to confirm their email address (within 72 hrs). -upon confirmation of their email address, a script will generate a store coupon with a random coupon id # in the browser

[PHP] class structure.

2005-01-19 Thread Dustin Krysak
Hi there, I am pretty new to writing classes (and pretty new to PHP itself), but I was wondering what was the best format for constructing classes. Now for example, i have written 2 versions of a class that accomplish the exact same thing. And I was just wondering if there are any advantages

[PHP] php and flash

2004-12-15 Thread Dustin Krysak
Can anyone point to some good tutorials on using PHP with flash? I am mostly interested in displaying info from a database in the flash movie, as well as loading movies and pictures into the flash file (referenced in the database). thanks! d -- PHP General Mailing List (http://www.php.net/) To

[PHP] Fwd: variable not being rendered

2004-12-04 Thread Dustin Krysak
Answering within the email below d On 4-Dec-04, at 3:16 AM, [EMAIL PROTECTED] wrote: From: Jason Wong [EMAIL PROTECTED] Date: December 4, 2004 12:04:18 AM PST To: [EMAIL PROTECTED] Subject: Re: [PHP] variable not being rendered On Saturday 04 December 2004 15:36, Dustin Krysak wrote: Hi

[PHP] Re: variable not being rendered

2004-12-04 Thread Dustin Krysak
using a few functions here - there might be more hitches than I realize. So I am just asking for some pointers for dealing with this. thanks! d From: Dustin Krysak [EMAIL PROTECTED] Date: December 3, 2004 11:36:56 PM PST To: PHP [EMAIL PROTECTED] Subject: variable not being rendered Hi there, I

[PHP] variable not being rendered

2004-12-03 Thread Dustin Krysak
Hi there, I have some code where I am using the $_SERVER['PHP_SELF'] array to reference my script for a form action... now for some reason the file name is not being rendered out. I am including only small snippets of my code to see where my error is... ?php $editFormAction =

Re: [PHP] similar function like getimagesize for Quicktime?

2004-11-29 Thread Dustin Krysak
On 29-Nov-04, at 3:54 AM, Marek Kilimajer wrote: Dustin Krysak wrote: Hi there - I was wondering if there was some kind of PHP function to determine hte pixel size of a quicktime movie. Something like what GetImageSize() is to images, but for quicktime. Not in php. Search for programs that you

[PHP] sql insert into 2 tables

2004-11-28 Thread Dustin Krysak
Hi there - I was wondering if anyone could point me in the right direction to be able to add data to two different tables (I am using mysql and php V4). I understand joins, etc for the query of the data, however adding the data - still getting my head wrapped around it (multiple tables).

[PHP] similar function like getimagesize for Quicktime?

2004-11-28 Thread Dustin Krysak
Hi there - I was wondering if there was some kind of PHP function to determine hte pixel size of a quicktime movie. Something like what GetImageSize() is to images, but for quicktime. thanks! d -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] get image dimensions

2004-11-27 Thread Dustin Krysak
Hi there - I was wondering if there was a way to get PHP to get the dimensions of an image? I want to be able to have PHP dynamically write the image size (of the IMG tag) so that my pages validate when displaying a dynamic image. Thanks in advance! d -- PHP General Mailing List

Re: [PHP] remove first character in text file

2004-11-24 Thread Dustin Krysak
Just want to add to this with a little more info my text file is a list of email addresses with a % separating them. For example: [EMAIL PROTECTED]@[EMAIL PROTECTED] Now sometimes I end up with a % at the beginning. For example: [EMAIL PROTECTED]@[EMAIL PROTECTED] Or: [EMAIL

[PHP] endless loop

2004-11-24 Thread Dustin Krysak
Hi there I was making a script that had a loop, and ended up with a endless loop by accident. Now if that script is executed on the server - does the script die as soon as the browser is closed? Or does it keep running as a process on the server? Thanks! d -- PHP General Mailing List

[PHP] remove first character in text file

2004-11-23 Thread Dustin Krysak
Hi there.. I have a text file where I need to remove JUST the first character in the text file. Can anyone point me to a tutorial? d -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] isset opposite

2004-11-16 Thread Dustin Krysak
Hi there.. I am pretty new to PHP, and I am familiar with php isset option now i was wondering (I have looked at the PHP site - but can not find it) how can you check if something is not set? I need to test if a $_GET is not set (not just empty). thanks in advance! d -- PHP General

Re: [PHP] isset opposite

2004-11-16 Thread Dustin Krysak
Thanks! perfect! d On 16-Nov-04, at 4:13 PM, Robby Russell wrote: On Tue, 2004-11-16 at 15:11 -0800, Dustin Krysak wrote: Hi there.. I am pretty new to PHP, and I am familiar with php isset option now i was wondering (I have looked at the PHP site - but can not find it) how can you check

Re: [PHP] isset opposite

2004-11-16 Thread Dustin Krysak
Yeah as soon as I saw this example, I figured that was the case for example something like if (!empty()) and so on. d On 16-Nov-04, at 5:26 PM, Robby Russell wrote: On Tue, 2004-11-16 at 17:19 -0800, Dustin Krysak wrote: Thanks! perfect! d For future reference, just about any function

[PHP] Re: Recommendations for php email list managers?

2004-09-22 Thread Dustin Krysak
I am interested in the postfix/php solution as well for a MLM, as well as just form processing. d I wonder why aren't you using PHP to send the messages via Postfix. Anyway, he did not say that he was using a platform that can run Postfix. If he is using Windows 2000 or later with

[PHP] flash php

2004-09-22 Thread Dustin Krysak
Can anyone recommend any good tutorials on using flash mx 2004 with PHP to display MYsql content using PHP? Including loading and displaying JPGs and movies (referenced in the database). thanks in advance! d -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] link to append to form

2004-09-21 Thread Dustin Krysak
Hi there I have a VERY simple blogging system, and I want to add a link that will append a br into the end of the existing text whenever it is clicked.. that way users do not need to remember the HTML code. How would i go about this? Thanks! d -- PHP General Mailing List

[PHP] Re: php - no results - display other message

2004-09-15 Thread Dustin Krysak
Actually, after some searching I got it figured out... here is the way I ended up doing it Obviously the RSdel and the MLemail are specific to my record set and my database field. ?php if ($row_RSdel['MLemail'] != ) { ? Show result from database. ?php

[PHP] checking multiple URL parameters

2004-09-15 Thread Dustin Krysak
Hi there, I am currently using the following code to display content based on the URL parameters ?php if (isset($_REQUEST['mov'])) { $movie = ($_REQUEST['mov']) ? HTML CONTENT ?php } else { ?

[PHP] php/MYSQL remove duplicate records

2004-09-14 Thread Dustin Krysak
Hi there - I have an extremely simple table that has a unique Id and an email address. what I am looking for is an example of a PHP script that will poll the MYSQL database and delete the duplicate records leaving only 1 unique (email) record. can someone point me to the right place?

[PHP] php - no results - display other message

2004-09-14 Thread Dustin Krysak
Hi there... I have a simple search page (mysql database), and I can get it to display the results no issues, but i was wondering how I could display a message stating there were no results, instead of just having the field blank. I am familiar with IF and ELSE statements, but I am not sure how

[PHP] unexpected T_VARIABLE

2004-08-13 Thread Dustin Krysak
Hi there, I am working with a script that I found online to export a SQL statement (results) to an excel file., now everytime i run the script, i get the error: Parse error: parse error, unexpected T_VARIABLE in /var/www/html/siteadmin/mysql_export/export.php on line 11 Now the code that is

[PHP] reading txt file - certain lines

2004-07-28 Thread Dustin Krysak
Hi there.. .I am displaying info (on music) from a text file with the following code... ?php //open the file handler $fp02=fopen(assets/lib/php/itunes/recent.txt,r); //Read the track info $recent=fgets($fp02); //close the file. echo $recent; fclose($fp02); ? Now the contents of said text file

Re: Re: [PHP] reading txt file - certain lines

2004-07-28 Thread Dustin Krysak
: From: John Nichel [EMAIL PROTECTED] Date: July 28, 2004 2:05:51 PM PDT To: PHP [EMAIL PROTECTED] Subject: Re: [PHP] reading txt file - certain lines Dustin Krysak wrote: Hi there.. .I am displaying info (on music) from a text file with the following code... ?php //open the file handler $fp02=fopen

[PHP] export from mysql to csv file

2004-06-11 Thread Dustin Krysak
Can anyone point me to an existing script or tutorial to learn this? Thanks in advance! d -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Re: drop down menu populated from a directory

2004-05-31 Thread Dustin Krysak
] Subject: Re: drop down menu populated from a directory Dustin Krysak [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi there What I am hoping to do is have a drop down menu that would be populated from the contents of a directory via php. Now The link names would be generated

[PHP] Re: drop down menu populated from a directory

2004-05-31 Thread Dustin Krysak
not sure how to do this. Thanks in advance! d On 31-May-04, at 10:26 AM, Dustin Krysak wrote: I gave it a go, and I got the error: Parse error: parse error, unexpected '}' This was on the last }. Now I am brand new at php, but should there not be an opening and closing curly bracket? in this code

[PHP] Re: drop down menu populated from a directory

2004-05-31 Thread Dustin Krysak
, [EMAIL PROTECTED] wrote: Dustin Krysak [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] ok, I added brackets and made my code to: ?php if ($handle = opendir('../../../mov')) { while (false !== ($file = readdir($handle))) { if ($file != '.' $file != '..') { $fileName

[PHP] drop down menu populated from a directory

2004-05-30 Thread Dustin Krysak
Hi there What I am hoping to do is have a drop down menu that would be populated from the contents of a directory via php. Now The link names would be generated by the file name minus the file extension. Has anyone seen a tutorial on accomplishing something like this? All of the links would

[PHP] * populate menu from directory *

2004-02-16 Thread Dustin Krysak
Hi there - I am a REAL new PHP coder (yeah I mostly use dreamweaver). I was wondering if anyone could point me in the right direction... What I want to do is have a generic template page for say a bunch of quicktime movies... it would have a movie embedded, and a drop down menu below to select