Re: [PHP] subdomain

2002-09-10 Thread Dennis Moore
Grab the $SERVER_NAME environmental variable. Then parse the variable using explode on the period in the domain name. Count the number of elements in the array. and selcct the element you want to use /dkm - Original Message - From: Liam MacKenzie [EMAIL PROTECTED] To: php [EMAIL

Re: [PHP] Base64 and MS Word cutting and pasting.

2002-08-25 Thread Dennis Moore
I've isolated the problem with MS Word and MS Wordpad; The problem does not occur when pasting from Notepad. I want to make sure that all the text is ASCII before converting to MIME encoding. This shoul alleviate the problems that are occuring. Thanks, /dkm - Original Message - From:

Re: [PHP] Re: Protect PHP coding

2002-08-03 Thread Dennis Moore
Everyone understands that Zend has to eat, but so do most of us small developers. I have no problem with them charging for their products. IMO they would make more money if the pricing for the encoder would be less. This is a fundamental feature that most of us need. I would offer a Pro

Re: [PHP] Help Please

2002-07-29 Thread Dennis Moore
you cannot print or echo anything back to the browser before running the header() function... - Original Message - From: Varsha Agarwal [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 29, 2002 4:00 PM Subject: [PHP] Help Please Hi, I am trying to run a sample program.

Re: [PHP] spawning scripts to different graphical targets

2002-07-18 Thread Dennis Moore
I think you are SOL unless you use Javascript manage the display amongst the frames/windows. /dkm - Original Message - From: Alberto Serra [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, July 18, 2002 3:31 PM Subject: Re: [PHP] spawning scripts to different graphical targets

Re: [PHP] Preventing Multiple Log-Ins after Authentication

2002-07-16 Thread Dennis Moore
If you do not want to use cookes and use SID or trans SID; Another method is to track your logins via a database. This can be resource intensive though.You need to update the database upon each click or have an empty window refresh every 1-5 minutes. If there is no activity for 15 or 30

Re: [PHP] Preventing Multiple Log-Ins after Authentication

2002-07-16 Thread Dennis Moore
I forgot to mention that you can use Javascript to manage the open windows. We the user closes the main window, you can direct the empty window to log the user out and close its window as well. - Original Message - From: Dennis Moore [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Monty

Re: [PHP] Best Delete Confirmation Script

2002-06-27 Thread Dennis Moore
It really depends on how complex your site/application is... I really like using a popup window with some Javascript that refreshes the parent/opener page upon updating or executing the PHP. It then closes the popup window. If the user says no, it just closes the window. This gives the use a

[PHP] Advantage of CURL over using LYNX

2002-06-26 Thread Dennis Moore
I need to grab some data from a CGI program running on a different server. I have been toying around executing LYNX using the passthru command. I seem to be able to grab the data just fine using lynx -source -preparsed $URL. I've started reading about CURL. I am wondering if it is worth

Re: [PHP] Java Pop UP...

2002-06-26 Thread Dennis Moore
Don't you mean Javascript? I am not sure if I understand your question...but here goes... Your PHP code will be executed first at the server side. You can use PHP to include or write out your Javascript functions in the head of your page. From here you can execute your javascript normally.

Re: [PHP] Image GD Wizardry!

2002-06-26 Thread Dennis Moore
I think GIF support was removed from GD several releases ago due to licensing reasons... /dkm - Original Message - From: Shane [EMAIL PROTECTED] To: php [EMAIL PROTECTED] Sent: Wednesday, June 26, 2002 6:48 PM Subject: [PHP] Image GD Wizardry! One would think that pulling binary data

[PHP] General IIS Implementation Question

2002-06-04 Thread Dennis Moore
I have written an PHP application using LAMP. However, I have a client who wants me to install the application on his Win2K server. My application uses PHP sessions with trans-SID enabled. I remember reading on this list where people were having problems getting PHP on Windows to work. I

Re: [PHP] Imagecreate and/or GD library not activated

2002-05-28 Thread Dennis Moore
check to see if gd is actually activated by using phpinfo() assuming you are using PHP4... /dkm - Original Message - From: LeTortorec, Jean-Louis [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 28, 2002 2:35 PM Subject: [PHP] Imagecreate and/or GD library not activated

Re: [PHP] Get domain name

2002-05-23 Thread Dennis Moore
User the global variable $SERVER_NAME - Original Message - From: David Orn Johannsson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 23, 2002 10:00 AM Subject: [PHP] Get domain name I need to find out what the domain of the site that I'm running a script from, I

Re: [PHP] matching two form fields function?

2002-05-23 Thread Dennis Moore
Also make sure you trim() the input variables before your comparison... 2cents... /dkm - Original Message - From: Kevin Stone [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 23, 2002 4:30 PM Subject: Re: [PHP] matching two form fields function? Tis a tad easier than that.

Re: [PHP] Passing to an Applet

2002-05-16 Thread Dennis Moore
Am I missing something? This is too easy... But here goes... applet code=replayer.class height=323 width=352 param name=FILEPREFIX VALUE=?php echo $FILEPREFIX; ? param name=FILETYPE VALUE=.jpg param name=BARON value=bar_on.gif param name=BAROFF value=bar_off.gif param

Re: [PHP] Load data infile

2002-05-14 Thread Dennis Moore
You may want to check permissions within your database. The web server user may not have permissions to perform this action. /dkm - Original Message - From: [EMAIL PROTECTED] To: Philip Hallstrom [EMAIL PROTECTED] Cc: Peter J. Schoenster [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent:

Re: [PHP] Session Login and Redirect Problem

2002-05-13 Thread Dennis Moore
variable when the login form appears. This allows me to redirect the user to the requested page when they log in. Works like a charm!!! Sometimes in explaining the problem, I see the solution. - Original Message - From: Dennis Moore To: [EMAIL PROTECTED] Sent: Monday, May 13

[PHP] Stronge Session Variable Problem with PopUP windows

2002-05-12 Thread Dennis Moore
I am running mod PHP 4.0.6 with Apache 1.3x. I am using session variables to pass various access information. Everything works like a charm until I popup a new window using Javascript. The session variable is set but to the wrong value. Has anyone else run into this issue or have any

Re: [PHP] Remote Hosting: Trouble shooting

2002-05-11 Thread Dennis Moore
If it is a unix/linux box use the .htaccess file and define the settings yourself.Please this file in the document root for your site... Assuming the system will allow you to do so... /dkm - Original Message - From: David J Jackson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: [PHP] PHP compared to JSP

2002-05-05 Thread Dennis Moore
Food for thought... There are a lot of performance issues outside of PHP... MySQL - version 4.0.x supports caching... Apache 2.0 - is now threaded... Memory is now cheap... Increase the server's memory You may also want to consider Zends Optimizer and Accelerator if you need additional

Re: [PHP] Sessions and Query String Variable Handling

2002-04-28 Thread Dennis Moore
the REQUEST_URI string in a hidden variable within my login form. Voila!!! Everything worked fine. I just wasn't seeing it yesterday. I was just too close to the code... - Original Message - From: John Holmes [EMAIL PROTECTED] To: 'Dennis Moore' [EMAIL PROTECTED]; [EMAIL PROTECTED

[PHP] Sessions and Query String Variable Handling

2002-04-27 Thread Dennis Moore
Env: Apache 1.3.x/php4.0.6/mysql3.23.x Scenario: I have built a system that uses PHP sessions for user access. Within the system I send user notifications via email. Within the email are links to certain pages with variables. For example. http://mysite.com/view_page.htm?id=6 My system

Re: [PHP] Sessions and Query String Variable Handling

2002-04-27 Thread Dennis Moore
] To: 'Dennis Moore' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, April 27, 2002 8:49 PM Subject: RE: [PHP] Sessions and Query String Variable Handling $page = $_SERVER[SERVER_NAME] . $_SERVER[SCRIPT_NAME] . $_SERVER[QUERY_STRING]; That will recreate the URL that the user clicked on. Save

Re: [PHP] To store or not to store . . .

2002-04-24 Thread Dennis Moore
If your page is frequently access and the data does not change then by all means store the image in the file system. however, I have found it useful to store the images in the database for certain applications which I want to maintain an additional level of security over the images when using

Re: [PHP] How do remove WARNING message

2002-04-22 Thread Dennis Moore
I am not a LDAP expert, however I assume you can place a condition on your bind command to kill the script or go to your error reporting... ?php // do something like... ldap_bind($bindstr) or die(Enter your error message here); ? - Original Message - From: Jean-Rene Cormier [EMAIL

Re: [PHP] PHP @ 24-hour programming competition

2002-04-20 Thread Dennis Moore
This sounds interesting... I am not familiar enought with PHP-GTK to give an informed opinion. I think your decision should be based on how familiar with the tools you take into the contest.Since you are not face with a lot of time, will your competition be using Visual IDEs to aid the rapid

Re: [PHP] Apache Default File Include

2002-04-04 Thread Dennis Moore
go to the PHP online documentation and look in the configuration section. auto_append_file string Specifies the name of a file that is automatically parsed after the main file. The file is included as if it was called with the include() function, so include_path is used. The special value none

Re: [PHP] Removing Properties from Word DOC

2002-04-04 Thread Dennis Moore
I think you are SOL... You may be able to kloodge something but mucking around with a word doc without having MS Word or its ActiveX/DOM components is not recommended. /dkm - Original Message - From: David McInnis [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 04, 2002

Re: [PHP] Cannot upload JPEG only

2002-04-03 Thread Dennis Moore
Very strange... What environment are you runnign PHP? Do you have any spaces in the file names or the file names named in a funny format? /dkm - Original Message - From: Carl Schmidt [EMAIL PROTECTED] To: Bob [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, April 03, 2002

Re: [PHP] request for comments

2002-04-03 Thread Dennis Moore
I assume you want comments on the functionality. The first thing that strikes me is why would I want to use the product. I read the desciption and followed the diagram on the home. I then looked at the demo on affero.net. I quickly got lost on the purpose of the application and why I should

Re: [PHP] Email from Browser

2002-04-03 Thread Dennis Moore
You have no way of finding a user's email address without the user entering it into a input tag and submitting it through a form. The users email address is stored in their email application not the browser. So the short answer is no. /dkm - Original Message - From: Martin Schichl

Re: [PHP] Recommendation for PHP Shopping Cart

2002-04-01 Thread Dennis Moore
Take a look at OSCommerce at http://www.oscommerce.org. /dkm - Original Message - From: jeremy spielmann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 01, 2002 11:13 AM Subject: [PHP] Recommendation for PHP Shopping Cart I'm looking for an off the shelf shopping cart

Re: [PHP] Case Statements - lil help please

2002-03-30 Thread Dennis Moore
Try the following... // check the error code and generate an appropriate error message switch($e) { case( -1): $message = No such user.; break; case(0): $message = Invalid username and/or password.; break; case(2): $message = Unauthorized access.;

Re: [PHP] Php.ini

2002-03-30 Thread Dennis Moore
I do not know about a separate php.ini file but you can assign specific values in your VIRTUAL HOST settings or you can set them using your .htaccess file pending on how you have set up your server. Assuming you are running Apache on a UNIX type machine ie php_value upload_max_filesize

[PHP] PHP and XML/XLST/WDDX etc

2002-03-29 Thread Dennis Moore
I am looking for opinions and other philosophy on a couple of XML issues. I have my own opinion, but I am curious what others think and what they are doing... I am in the process of updating many of my applications to include XML/XLST/ and/or WDDX technologies. Many of my applications read

Re: [PHP] Question about database-driven web sites.

2002-03-29 Thread Dennis Moore
It all depends on what the needs for your site(s) are. Typically, you use database driven web sites as a means of storing data separate from the layout and style of your web site. The advantage of this is that you can just update your data in the database without affecting the layout and style

Re: [PHP] php and javascript

2002-03-25 Thread Dennis Moore
Your popup window should be an normal PHP page calling your images in the database. You can then setup your form to call the popup windows via javascript using the window.open() method. /dkm - Original Message - From: Scott [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March

[PHP] PHP IDE Feedback

2002-03-21 Thread Dennis Moore
I am currently evaluating the following IDEs that support PHP. Zend's Studio 2.0 NuSphere's PHPEd Active State's Komodo My selection criteria are: Code Completion Debugging Project Management Versioning and Source Control Documentation Code Deployment I have read through the documentation of

[PHP] $DOCUMENT_ROOT behavior linux vs solaris

2002-03-19 Thread Dennis Moore
I use the $DOCUMENT_ROOT environment variable quite ofter to build an absolute path to files in the web tree. I just ran into a problem moving my code from a linux box (RH6.2) to a SunW Ultra 60. Both machines are running the same version of Apache 1.3.20 and PHP4.0.6. Here's the rub. On

Re: [PHP] Multiple browser instances - is it possible to determine which browser?

2002-03-04 Thread Dennis Moore
You may consider the use of Javascript to control the parent and child windows and frames of your application. /dkm - Original Message - From: Neil Kimber [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 04, 2002 9:51 AM Subject: [PHP] Multiple browser instances - is it

Re: [PHP] elseif without else

2002-02-28 Thread Dennis Moore
Perfectly legitimate... it is much like having a switch statement without a default clause. - Original Message - From: Erik Price [EMAIL PROTECTED] To: PHP (E-mail) [EMAIL PROTECTED] Sent: Thursday, February 28, 2002 7:32 PM Subject: [PHP] elseif without else For any of you PHP

Re: [PHP] header (Location: URL);

2002-02-21 Thread Dennis Moore
Why not use javascript to launch a new window? /dkm - Original Message - From: Ali [EMAIL PROTECTED] To: 'Php-General (E-mail)' [EMAIL PROTECTED] Sent: Thursday, February 21, 2002 8:23 AM Subject: [PHP] header (Location: URL); Hello, is there any possibility of redirecting a request

Re: [PHP] One more quickie

2002-02-09 Thread Dennis Moore
$qr=select DATE_FORMAT(date_field,\%Y-%d\) as fmt_date from table $whereclause; then grab 'fmt_date' from the results... Don´t really want to bother you with these quickies - but: If i have a result from mysql that is a date (2002-02-09) - how do i change that into a variable with only

Re: [PHP] Trying to put ips into database

2002-02-08 Thread Dennis Moore
Not sure what your exact problem is but I did notice you had back ticks(`) in your insert statement. You should be using ('). You may need a where clause in your insrt statement unless you want to populate all rows. Just a couple of thoughts. /dkm - Original Message - From: Leif

Re: [PHP] Count concarent logins (newbie)

2002-02-08 Thread Dennis Moore
in A web site where logins are managed with php sesions is it possible to count how many concurent users are loged in ?? I believe that one way is to keep in a mysql table every login user but how can i delete a loged-in record when user session terminates abnormal If you use the

Re: [PHP] PHP Graphics Support

2002-01-31 Thread Dennis Moore
What version of RedHat are your running? You may want to install the image libraries manually via their distributions. Not to say this will work but just a thought. - Original Message - From: Ed Lazor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 31, 2002 11:01 AM

Re: [PHP] Swapping BR for \n... ?

2002-01-30 Thread Dennis Moore
$newstring=nl2br($string); - Original Message - From: Jon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 29, 2002 11:11 PM Subject: [PHP] Swapping BR for \n... ? I'm processing a form but all the functions I've found on the web only seem to add the BR after the \n. I

Re: [PHP] Date time

2002-01-29 Thread Dennis Moore
It is much easier to use the mysql DATE_FORMAT() function to format your dates when retrieving directly from the data base. You do not have to convert to a UNIX time stamp and all that other stuff. Your select statement should look something like: $date_format_long=%d:%m:%y at %T;

Re: [PHP] why isn't this working? (many questions inside)

2002-01-28 Thread Dennis Moore
Just curious, why not use FTP for such a large file? /dkm - Original Message - From: Wei Weng [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 28, 2002 8:39 PM Subject: [PHP] why isn't this working? (many questions inside) First, I am running (currently) php 4.0.6

Re: [PHP] Increment help..please

2002-01-24 Thread Dennis Moore
All you need to do is the set the field type for the id similar to : ID smallint not null primary key auto_increment you do not need to refer to ID in your insert statement. /dkm - Original Message - From: will hives [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 24,

Re: [PHP] Executing files?

2002-01-24 Thread Dennis Moore
All you need to do is the edit the php application type in your httpd.conf file if you want to apply globally or insert a .htaccess file in the directory you want to apply the change. AddType application/x-httpd-php .php .waw-file /dkm - Original Message - From: Mårten

Re: [PHP] Uploads

2002-01-21 Thread Dennis Moore
make sure you set the max_file_size in your form. ie input type=hidden name=MAX_FILE_SIZE value=800 or set it in your php.ini or .htaccess file. /dkm - Original Message - From: Ronald Tezuka [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 21, 2002 5:50 PM Subject:

Re: [PHP] Changing form look without reloading

2002-01-17 Thread Dennis Moore
You have to use Javascript to make this so... You may want to go to hotscripts.com for examples... /dkm - Original Message - From: Torkil Johnsen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 17, 2002 3:24 AM Subject: [PHP] Changing form look without reloading

Re: [PHP] AUTO_INCREMENT problems

2002-01-17 Thread Dennis Moore
Try... ALTER TABLE patients CHANGE id id MEDIUMINT not null primary key AUTO_INCREMENT /dkm - Original Message - From: Phil Schwarzmann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 17, 2002 12:35 PM Subject: [PHP] AUTO_INCREMENT problems I have an exsisting table

Re: [PHP] PHP MySQL problems, updating database..

2002-01-17 Thread Dennis Moore
Try using mysql_error() to display the mysql error message before issuing your die(). this will give more information to troubleshoot. You may not have the right privileges set up in your database where you can update or insert into the database or table. /dkm - Original Message -

Re: [PHP] PHP as a cron job

2002-01-16 Thread Dennis Moore
Please provide more information on how you have set up PHP to run your cron jobs. Are you trying to execute via LYNX or directly via a PHP script? /dkm - Original Message - From: Tiago Luchini [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 16, 2002 8:20 AM Subject:

Re: [PHP] URGENT : PHP install error on Solaris 7

2002-01-16 Thread Dennis Moore
What is in line 205? It looks as though you are dynamically loading PHP. Are you compiling with --with-apxs in PHP?Just a thought... /dkm - Original Message - From: R'twick Niceorgaw [EMAIL PROTECTED] To: php general [EMAIL PROTECTED] Sent: Wednesday, January 16, 2002 12:03 PM

Re: [PHP] Login script, session problem (I think)

2002-01-15 Thread Dennis Moore
More information is needed... what version of PHP are your running? I bit of sample code on how you set up your sessions would also be helpful... /dkm - Original Message - From: Hawk [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 15, 2002 11:19 AM Subject: [PHP] Login

Re: [PHP] problem with apache php module on solaris

2002-01-14 Thread Dennis Moore
I think you need to add the apache module extensions to your apache configuration. try adding --enable-apxs or --with-apxs (I can remember the exact syntax) to the apache configure. - Original Message - From: Gino Paoletti [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January

Re: [PHP] multiple replaces...

2002-01-12 Thread Dennis Moore
try str_replace() ... it allows you to pass an array into the replace function. /dkm - Original Message - From: Paul Roberts [EMAIL PROTECTED] To: Lauri Vain [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, January 12, 2002 4:35 PM Subject: Re: [PHP] multiple replaces... have a

Re: [PHP] Please \n problem????

2002-01-12 Thread Dennis Moore
I assume you your displaying a web page. HTML ignores \n ... You need to insert a br. - Original Message - From: Dani [EMAIL PROTECTED] To: PHP LIST [EMAIL PROTECTED] Sent: Saturday, January 12, 2002 8:25 PM Subject: [PHP] Please \n problem Hi! thanks for reviewing this email.

Re: [PHP] Print ONCE ONLY?????

2002-01-12 Thread Dennis Moore
move the following inside your while loop echo $row[item_id],BR; - Original Message - From: Dani [EMAIL PROTECTED] To: PHP LIST [EMAIL PROTECTED] Sent: Saturday, January 12, 2002 8:54 PM Subject: [PHP] Print ONCE ONLY? Hi Again! Why does this print only one record?

Re: [PHP] PHP x Mysql

2002-01-10 Thread Dennis Moore
execute phpinfo(); on a new page to see if mysql is still compiled in...; - Original Message - From: Frederico Madeira [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 10, 2002 10:37 PM Subject: [PHP] PHP x Mysql Hello !! My server was runing perfect the mysql

Re: [PHP] Problem with function declaration in include files

2002-01-04 Thread Dennis Moore
The problem is most likely with your include statement. The include path imay be incorrect... "Bobby" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have been using the following function declaration syntax for ages with no problems. Main php file:

[PHP] Time Accounting with Session Management

2002-01-03 Thread Dennis Moore
Does anyone know of any good examples of implementing time accounting with session management? I want to be able to restrict the number of hours a particular user can view a site. /dkm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] Including files variables ...

2001-12-28 Thread Dennis Moore
Make sure you include the tags ?php ? in your include file for PHP parsing. Included files are assumed to be text otherwise. You need to provide more information if you have another problem. - Original Message - From: Evansville Scene [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

[PHP] Function Alias: mysql()

2001-12-06 Thread Dennis Moore
I cannot seem to find in the documentation the what the function mysql() is aliaseed to using PHP4.0.6. Any ideas? Example: $rez=mysql($dbname,$query); Everything works fine... But I want to be sure what is actually being used. /dkm

Re: [PHP] Creating multidimensional array dynamically

2001-12-06 Thread Dennis Moore
Not sure what you are trying to do, but try using mysql_fetch_row () you can use SQL to limit your results. /dkm - Original Message - From: J. Roberts [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 06, 2001 4:08 PM Subject: [PHP] Creating multidimensional array

Re: [PHP] Function Alias: mysql()

2001-12-06 Thread Dennis Moore
question is why is my code still working? If so, what are the consequences of using mysql() or mysql_db_query(0 with PHP4.0.6? /dkm - Original Message - From: Tyler Longren [EMAIL PROTECTED] To: Dennis Moore [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, December 06, 2001 4:23 PM Subject

[PHP] PHP4 sessions and Netscape 4.75/Mac

2001-11-19 Thread Dennis Moore
Has anyone run into the following? I have set up a site using PHP4.0.6 sessions. Everything runs fine with IE and Netscape on PC and UNIX. However,I lose the session when using Netscape 4.75 on Mac. Any ideas or clues? Thx... -- PHP General Mailing List (http://www.php.net/) To

[PHP] fopen and while problem

2001-11-09 Thread Dennis Moore
I am having problems using the fopen functions within a while loop. I am having problems passingvariables into the function. Has anyone else had this problem? Example: $work_dir="$DOCUMENT_ROOT/click/oct01"; $ls_res=system("ls $work_dir/*.html $work_dir/ls.txt");

Re: [PHP] GD

2001-09-07 Thread Dennis Moore
Make sure you do not have an older version of gd on your system before trying to compile gd a new version. This will save you hours of frustration. /dkm - Original Message - From: Sebastian Wenleder [EMAIL PROTECTED] To: Joseph Bannon [EMAIL PROTECTED]; PHP (E-mail) [EMAIL PROTECTED]

Re: [PHP] Tracking shipments UPS, FEDEX, etc...

2001-09-06 Thread Dennis Moore
I am not clear in what you want to do. I think the simplest solution is to build a table in your favorite database with the tracking number and the vendor. Make another table or switch statement that points to the URL for the vendors tracking mechanism. Now you can just write a function that

Re: [PHP] Making gd Extensions

2001-09-04 Thread Dennis Moore
. If I learn anything, I'll be sure to let you know. Thanks Chris -Original Message- From: Dennis Moore [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 8:59 PM To: Chris Mulcahy; [EMAIL PROTECTED] Subject: Re: [PHP] Making gd Extensions I am having a similar

Re: [PHP] Making gd Extensions

2001-08-29 Thread Dennis Moore
I am having a similar problem using gd-2.0.1 where the compilation complains about conflicting type gdIOCtx. I am getting a knot on my forehead from the wall in front of me. Any ideas? /dkm - Original Message - From: Chris Mulcahy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: SV: [PHP] Sending alots of mail

2001-08-16 Thread Dennis Moore
Another alternative is to send the email message via majordomo or some other mail list management utility. The trick is how to manage the list (subscribe and unsubscribe). You have to make the decision whether or not you want to use the MLM or your PHP/database application as the primary

Re: [PHP] Problems porting from MySQL Server to MSSQL7 Server

2001-04-04 Thread dennis moore
my_update("update sometable set col1=".$var1." where col2=".$var2); and function: function my_update($query){ global $host,$user,$psw,$name; $conn=mssql_pconnect($host,user,psw) or die("Error: connection failed!"); $rdb=mssql_select_db($name,$conn) or die("Error: DB does not

Re: [PHP] mod_auth_mysql 2.20 won't compile with newer Apache and alloc.h vs ap_alloc.h

2001-04-02 Thread Dennis Moore
I ran into this problem last week. I finally punted. My configuration is: RH7, Apache 1.3.19, MySQL 3.23.36, mod_auth_mysql 2.20. The strange thing is that I did not have any problems with RH6.0, Apache1.3.12, MySQL 3.22.x, and mod_auth_mysql 2.20. If you run into a fix, please copy me as

[PHP] PDF Output Printing

2001-03-26 Thread dennis moore
I have a basic question regarding the printing quality using the PDF functions and lib. I need to place a high resolution image TIF or JPEG into a PDF file along with normal text from a database. The desired output will be printed at 600dpi. Are there issues associated in doing this with

[PHP] PDF reading via IE5.5

2001-03-20 Thread Dennis Moore
I have searched long and hard to resolve this issue. I've tried many variations for the header tag. However, I cannot seem to get it to work with IE5.5. I am trying to read an Acrobat created PDF file that I uploaded into my MySQL database. The problem occurs when I print the data via IE5.5.