Re: [php-list] CAN PHP BE USED TO PROGRAM A STANDALONE SOFTWARE

2007-07-10 Thread Mike Brandonisio
Hi, Alos keep in mind that the system your application will run must also have PHP installed and running. Have you looked at WEB 2.0. I've Google and Adobe both have off-line run-time tools. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustr

Re: [php-list] Local servers

2007-06-15 Thread Mike Brandonisio
Hi, Check your windows firewall. Turn it off or configure to allow http. Sincerely, Mike -- Mike Brandonisio *IT Planning & Support Tech One Illustration*Database Applications tel (630) 759-9283 *e-Commerce [EMAIL PROTE

Re: [php-list] Finding a TAB character

2007-05-25 Thread Mike Brandonisio
Hi, Thank you to all that responded. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL PROTECTED]*http://www.jikometrix.net JIKOmetrix - Reliable web hosting On May 24

[php-list] Finding a TAB character

2007-05-24 Thread Mike Brandonisio
Hi, Does anyone know how to find a TAB character in a string or explode on TAB into an array? Sincerely, Mike -- Mike Brandonisio *IT Planning & Support Tech One Illustration*Database Applications tel (630) 759-9283 *e-Commerce [E

Re: [php-list] store images in file system or MySQL BLOB

2007-05-24 Thread Mike Brandonisio
Hi Gurudatta, I see your point. Sincerely, Mike -- Mike Brandonisio *IT Planning & Support Tech One Illustration*Database Applications tel (630) 759-9283 *e-Commerce [EMAIL PROTECTED] *www.techoneillustration.com On May 24, 2007

Re: [php-list] store images in file system or MySQL BLOB

2007-05-24 Thread Mike Brandonisio
Hi Wade, I mostly use Linux. This client I think has an in-house windows server that they are planning on using. Also, Yes I was planning on using a thumbnail function. I'm also looking into some kind of caching too. Thanks. Sincerely, Mike -- Mike Brandonisio *

Re: [php-list] store images in file system or MySQL BLOB

2007-05-23 Thread Mike Brandonisio
something like 65,534 and on NTFS are 4,294,967,295 files on a folder or folders in a folder. I cannot find anything on linux though. Some say theoretical 10 to the 18 power. Sincerely, Mike -- Mike Brandonisio *IT Planning & Support Tech One Illustra

Re: [php-list] store images in file system or MySQL BLOB

2007-05-22 Thread Mike Brandonisio
Hi Wade, Thanks. Have you heard of any performance issue with thousands of images in one folder on linux vs. windows. There will be one admin. This is strictly for searching for the stored images. Sincerely, Mike -- Mike Brandonisio *IT Planning & Support Tech

[php-list] store images in file system or MySQL BLOB

2007-05-22 Thread Mike Brandonisio
with file paths or insert them into a BLOB field in the DB?" Sincerely, Mike -- Mike Brandonisio *IT Planning & Support Tech One Illustration*Database Applications tel (630) 759-9283 *e-Commerce [EMAIL PROTECTED] *www.techoneillustration.com

[php-list] security challenge

2007-05-11 Thread Mike Brandonisio
s. Do you think just checking the refer URL is enough? Sincerely, Mike -- Mike Brandonisio *IT Planning & Support Tech One Illustration*Database Applications tel (630) 759-9283 *e-Commerce [EMAIL PROTECTED] *www.techoneillustration.com

Re: [php-list] Gumo? or Jumo?

2007-03-29 Thread Mike Brandonisio
k.org/joomla/ Was the address you used to run the installer for joomla? If not what was the URL used? I still think you are having a path issue. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Com

Re: [php-list] need help on a PHP problem

2007-03-25 Thread Mike Brandonisio
link_output = 'Rep click here'; in your html do this: Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL PROTECTED]*http://www.jikometrix.net JIKOmetrix - Reliable

Re: [php-list] preg_match_all pattern for email address

2007-03-22 Thread Mike Brandonisio
Hi James, Thank you. That does help. I've been look at PHP.net to get my head around the expression syntax. This help a lot. Thanks. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [

Re: [php-list] preg_match_all pattern for email address

2007-03-22 Thread Mike Brandonisio
Hi, I changed it to this: preg_match_all('/(\w+\.)*\w+@(\w+\.)*\w+(\w+\-\w+)*\.\w+/', $str, $output); It works great. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL

Re: [php-list] preg_match_all pattern for email address

2007-03-22 Thread Mike Brandonisio
Hi, That worked. Thank you. I'll play some more. I want to catch domains with hyphen and sub domain emails too like [EMAIL PROTECTED] Thanks again. Sincerely, Mike -- Mike Brandonisio *IT Planning & Support Tech One Illustration*Database Applica

[php-list] preg_match_all pattern for email address

2007-03-22 Thread Mike Brandonisio
alse; } # Here is how to use it. # Sample string containing email addresses; $str = "test [EMAIL PROTECTED] ha ha [EMAIL PROTECTED] bla bla [EMAIL PROTECTED]"; # Get the emails on arrays; $emails = get_emails ($str); # Print that arrays; print_r ($emails);

Re: [php-list] Looking for PHP solution to adding content to MySQL database

2007-03-21 Thread Mike Brandonisio
ing if you are trying to keep this really simple you could just use a naming convention that when sorted by name creates the groups like "type - name", "Arabian - Lucky" or "Mustang - Thunder". Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech O

Re: [php-list] Gumo? or Jumo?

2007-03-15 Thread Mike Brandonisio
o /var/www/htdocs or /var/www/html in the apache conf file. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL PROTECTED]*http://www.jikometrix.net JIKOmetrix - Reliable web

Re: [php-list] Mac utility for converting CSV to SQL?

2007-03-14 Thread Mike Brandonisio
erely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL PROTECTED]*http://www.jikometrix.net JIKOmetrix - Reliable web hosting On Mar 14, 2007, at 11:58 AM, whoisquilty wrote:

Re: [php-list] Mambo vs. Joomla voting / customizing in PHP was Re: Gumo? or Jumo?

2007-03-13 Thread Mike Brandonisio
Hi Emily, Your welcome. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL PROTECTED]*http://www.jikometrix.net JIKOmetrix - Reliable web hosting On Mar 13, 2007, at 12

Re: [php-list] Mambo vs. Joomla voting / customizing in PHP was Re: Gumo? or Jumo?

2007-03-13 Thread Mike Brandonisio
ort a wrapper menu link then create a content item for registered users only that has an iframe pointing to the survey. If you need more help on this email me or post to the list. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketin

Re: [php-list] Need help debugging my code (CROSS-POSTED)

2007-03-12 Thread Mike Brandonisio
Hi, They are. The Session Id is stored in a cookie if Cookies are available. If not then the session ID is appended to your URL. Sincerely, Mike -- Mike Brandonisio *IT Planning & Support Tech One Illustration*Database Applications tel (630) 759-

Re: [php-list] Gumo? or Jumo?

2007-03-12 Thread Mike Brandonisio
today as well as where you will get support for your CMS. If you will be the CMS support, Look at the API to see what you may like or dislike. Here is a link to Joomla: www.joomla.org Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Mark

Re: [php-list] Directory Deleted

2007-03-05 Thread Mike Brandonisio
n[] = $f; else unlink($f); } closedir($d); } } $i_until = ($only_empty)? 1 : 0; for ($i=count($darr)-1; $i>=$i_until; $i--) { rmdir($darr[$i]); } return (($only_empty)? (count(scandir)<=2) : (!is_dir($dirna

Re: [php-list] send sms by php

2007-02-17 Thread Mike Brandonisio
rely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL PROTECTED]*http://www.jikometrix.net JIKOmetrix - Reliable web hosting On Feb 16, 2007, at 9:33 AM, Marco Branco wrote: > It&

Re: [php-list] HELP question about PHP file and text

2007-02-14 Thread Mike Brandonisio
Hi, sorry the echo show have had $value in it like this: $row = 0; foreach( $result as $value ) { if ( is_int($row/2) ) { echo "italic text: ". $value .""; } $row++; } Sincerely, Mike -- Mike Brandonisio *IT Planning & Suppo

Re: [php-list] HELP question about PHP file and text

2007-02-14 Thread Mike Brandonisio
Hi, Here is one way. Some else might a more compact version. $row = 0; foreach( $result as $value ) { if ( is_int($row/2) ) { echo "italic text"; } $row++; } Here i a link to more HMTL tags: http://www.w3schools.com/html/html_formatting.asp Sincerely, Mik

Re: [php-list] creating a multiple page form

2007-02-12 Thread Mike Brandonisio
m } Don't forget to validate your form data and strip/ convert special characters. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL PROTECTED]*http://www.jikometrix.net

Re: [php-list] Displaying color choices from a db - it's becoming cumulative and I don't want t

2007-01-25 Thread Mike Brandonisio
Hi, Do this $varname = ""; $varname .= "COLOR"; or unset($varname); $varname .= "COLOR"; Either way you initialize the value before you set the value. Sincerely, Mike -- Mike Brandonisio *IT Planning & Support Tech One Illustration

Re: [php-list] PHP on exit command ?

2006-12-13 Thread Mike Brandonisio
Hi, I'd think that yo would have to create an exit function to do that and replace all of your "exit;" requests with with that function call to perform the other operations of recording where you are about to exit before you actually exit. Sincerely, Mike -- M

Re: [php-list] Auto run a 2nd script ?

2006-11-17 Thread Mike Brandonisio
Hi, If the script is on the same application root as your main php scripts then you should be able to call the script in the first. However, if that script is on another server you can use cURL to post the data to that other server from inside script 1. Sincerely, Mike -- Mike Brandonisio

Re: [php-list] Quick PHP include question

2006-10-24 Thread Mike Brandonisio
Hi, Look at cURL. You can load the page into a variable then echo it out in the body in an iframe or frame. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL PROTECTED]*http

Re: [php-list] Best way to just have so many per page...

2006-10-18 Thread Mike Brandonisio
Hi, I found a bunch on google: http://tinyurl.com/y8terh criteria: tutorial paginate output PHP Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL PROTECTED]*http

Re: [php-list] PLZ Helpppppp

2006-09-18 Thread Mike Brandonisio
Hi, try this inline editor: http://tinyurl.com/hvfuq Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL PROTECTED]*http://www.jikometrix.net JIKOmetrix - Reliable web

Re: [php-list] final project

2006-09-16 Thread Mike Brandonisio
Hi, You can use JS or meta tag refresh to redirect the page after a set time. You would print or echo the time value to the page output so JS or Meta Tag can start counting from or to the value you specified. Sincerely, Mike -- Mike Brandonisio *IT Planning & Sup

Re: [php-list] Preventing scripted form posts

2006-08-06 Thread Mike Brandonisio
Hi Bob, It's always a challenge to balance needs and usability. At least they have moved on to something else. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL PROT

Re: [php-list] Preventing scripted form posts

2006-08-04 Thread Mike Brandonisio
Hi, Yes, it looks like it would and the code is very compact too. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL PROTECTED]*http://www.jikometrix.net JIKOmetrix

Re: [php-list] Preventing scripted form posts

2006-08-04 Thread Mike Brandonisio
with an empty string. Do you do it another way? Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL PROTECTED]*http://www.jikometrix.net JIKOmetrix - Reliable web hosting

Re: [php-list] Zend Optimizer errors

2006-08-02 Thread Mike Brandonisio
own stream. It just needs to be installed and it is a server wide installation like PHP or MySQL would be and not installable for a single account. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*

Re: [php-list] Preventing scripted form posts

2006-08-02 Thread Mike Brandonisio
might even use something like htmlspecialchars() to convert things like <,>, ",', and so on. 4. Do not put the recipient email address as a hidden form input. Put it in the script. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Intern

[php-list] Preventing scripted form posts

2006-08-01 Thread Mike Brandonisio
of posts per user IP per hour. Maybe I could write to a MySQL table and count the entries per hour from a given IP. So the table does not get full I could empty it daily. Ideas? Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel

Re: [php-list] Zend Optimizer errors

2006-08-01 Thread Mike Brandonisio
Hi, It optimizes your PHP code and allows your server to run compiled/ encrypted PHP code. http://www.zend.com/products/zend_optimizer If your not on dedicated hosting or VPS this is something that your hosting provider needs to upgrade. Sincerely, Mike -- Mike Brandonisio

Re: [php-list] Restricting script to run with crontab only

2006-07-27 Thread Mike Brandonisio
straight forward on building the logic to restrict usage to crontab. Thanks again. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL PROTECTED]*http://www.jikometrix.net

Re: [php-list] Restricting script to run with crontab only

2006-07-27 Thread Mike Brandonisio
Hi Phill, Thanks for the input. Yes it will be a PHP script. I'll do some tests to see what $_SERVER has in it when run via cron/command line and HTTP request. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759

[php-list] Restricting script to run with crontab only

2006-07-27 Thread Mike Brandonisio
cript via HTTP and only execute it via crontab. One thought was to put the script outside of the public root. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL PROTECTED]*

Re: [php-list] Inserting blank values

2006-07-22 Thread Mike Brandonisio
Hi, Yes. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL PROTECTED]*http://www.jikometrix.net JIKOmetrix - Reliable web hosting On Jul 22, 2006, at 11:06 AM, Bob

Re: [php-list] Empty values in MySql DBs

2006-07-22 Thread Mike Brandonisio
Hi, Like Pete said, just do not pass a value to it in your query. I had a typo in my response that should have read : Also do not assign an empty string like '' for the value or you will **NOT** get a NULL value [as your default]. Sincerely, Mike -- Mike Brandonisio *W

Re: [php-list] Empty values in MySql DBs

2006-07-21 Thread Mike Brandonisio
o do not assign an empty string like '' for the value or you will get a NULL value. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL PROTECTED]*http://www.jikometrix.ne

Re: [php-list] Re: htaccess to read XML as PHP

2006-07-16 Thread Mike Brandonisio
Hi, That could be. After sending it I also try to create an RSS folder in Fire Fox, but received a failure to load error when putting the XML link. Jer may not even be directing usage to Fire Fox but maybe for Search engine feeds or Blog feeds. Sincerely, Mike -- Mike Brandonisio

Re: [php-list] Re: htaccess to read XML as PHP

2006-07-16 Thread Mike Brandonisio
you might be interested. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL PROTECTED]*http://www.jikometrix.net JIKOmetrix - Reliable web hosting On Jul 16, 2006, at 8:

[php-list] WIndows IE - session expired

2006-07-14 Thread Mike Brandonisio
*/ header("Cache-Control: no-store, no-cache, must-revalidate"); header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Pragma: no-cache"); Is there something I need to do differently for Windows IE to make this work? Sincerely, Mike -- Mike Brandonisio

Re: [php-list] thumbnail "blow up"

2006-07-13 Thread Mike Brandonisio
Hi Phill, I miss-spoke. After sending the email I realized that AJAX uses JS to operate. CSS is a good solution too. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL PROTECTED

Re: [php-list] thumbnail "blow up"

2006-07-09 Thread Mike Brandonisio
Hi, Yes, CSS or AJAX I feel is better than straight JS. CSS is more universal though, I think. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL PROTECTED]*http

Re: [php-list] thumbnail "blow up"

2006-07-08 Thread Mike Brandonisio
Hi, With AJAX or some other Javascript technique. You cannot use PHP a server side script to perform client side operations. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL

Re: [php-list] Mysql Insert Problem

2006-07-05 Thread Mike Brandonisio
r']."', '".$_POST ['email']."' "; $query .=" )"; Also are you doing any cleanup or escaping on the POST data before INSERTING it into your DB? You should escape each post. /**Prevent SQL injections *** */ function qu

Re: [php-list] Mysql Insert Problem

2006-07-03 Thread Mike Brandonisio
', '".$_POST ['zip']."',"; $query .=' '".$_POST['phhome']."', '".$_POST['phcell']."',"; $query .=" '".$_POST['phwork']."', '".$_POST['other&#x

Re: [php-list] Membership section handling with sessions but...

2006-06-29 Thread Mike Brandonisio
Hi, I think something like this is more than likely the best solution here for images. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL PROTECTED]*http://www.jikometrix.net

Re: [php-list] Membership section handling with sessions but...

2006-06-27 Thread Mike Brandonisio
use something like AJAX to display images that are outside of the public root. 5) use htacess on the image folder and use php to authenticate users. Anyone else have suggestions. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel

Re: [php-list] include question

2006-06-21 Thread Mike Brandonisio
ot; First name: "; Sincerely, Mike -- Mike Brandonisio *IT Planning & Support Tech One Illustration*Database Applications tel (630) 759-9283 *e-Commerce [EMAIL PROTECTED] *www.techoneillustr

Re: [php-list] include question

2006-06-21 Thread Mike Brandonisio
" First name: "; Sincerely, Mike -- Mike Brandonisio *IT Planning & Support Tech One Illustration*Database Applications tel (630) 759-9283 *e-Commerce [EMAIL PROTECTED] *www.techonei

Re: [php-list] Multidimensional Arrays

2006-06-21 Thread Mike Brandonisio
t the same array by different named positions like 'id' replace 'name' with 'id' in the function or create a new function for sorting by that value. Also to sort DESC change the '<' to '>' in the function. After calling usort() you can

Re: [php-list] include question

2006-06-21 Thread Mike Brandonisio
value="'.$_POST['fname'].'" shows in source? but this \'.$_POST[\'fname\'].\' is what you see in the text field for the value with the escaped quotes? Sincerely, Mike -- Mike Brandonisio *IT Planning & Support Tech One Illus

Re: [php-list] include question

2006-06-20 Thread Mike Brandonisio
Hi, When you say, "Neither have worked." Do you mean you are not getting the form printed? Try elseif no space between else and if. Sincerely, Mike -- Mike Brandonisio *IT Planning & Support Tech One Illustration*Database Applications tel

Re: [php-list] include question

2006-06-20 Thread Mike Brandonisio
Hi, you can either interleave First name: or put it in var like this: $var = 'First name:'; echo($var); Also not that you end value="'.$_POST['fname'].'' with a single quote it should be double like above. Sincerely, Mike -- Mike Brando

Re: [php-list] Multidimensional Arrays

2006-06-20 Thread Mike Brandonisio
osition1++; }// end array search So this lets me search one array for any instance match in another. Is there a better way to do this? Now how to sort the results in $array1 by $array1[]['answer'] ?? Sincerely, Mike -- Mike Brandonisio *IT Pl

[php-list] Multidimensional Arrays

2006-06-20 Thread Mike Brandonisio
=> B [remote_address] => 24.15.143.7 [date_time] => 2006-06-20 07:35:24 [survey_id] => 1 ) ) I'm just not getting how the php example works with usort() or array_filter(). Sincerely, Mike -- Mike Brandonisio

php-list@yahoogroups.com

2006-06-13 Thread Mike Brandonisio
Hi, Also you have to use empty() on each var. if (empty($_POST['phhome']) && empty($_POST['phcell']) && empty($_POST ['phwork']) && empty($_POST['email'])) { Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech

php-list@yahoogroups.com

2006-06-13 Thread Mike Brandonisio
Hi, You might test isset() first to see if it there. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL PROTECTED]*http://www.jikometrix.net JIKOmetrix - Reliable web

Re: [php-list] Looking for help ~ Interested?

2006-06-05 Thread Mike Brandonisio
Hi. I agree with Bob. Constant Contact or exact target. You will not have  to deal with Block list issues either and get better distribution to  systems like yahoo and aol. Sincerely, Mike -- Mike Brandonisio  *    Web Hosting Tech One Illustration *    Internet Marketing tel

Re: [php-list] Array Question

2006-06-05 Thread Mike Brandonisio
which item was duplicated. Then when they  commit there selection I need to create an SQL query from the array  using a foreach() loop to generate the INSERT statement. I also need  to use the same technique for deleting items from a table. That is  where I was using the 'OR'. Sincerely,

[php-list] Array Question

2006-06-04 Thread Mike Brandonisio
  it is = to 1. When the array not in sequence the that last key and  count value will not work together properly. Sincerely, Mike -- Mike Brandonisio  *    Web Hosting Tech One Illustration *    Internet Marketing tel (630) 759-9283    *    e-Commerce [EMAIL PROTECTED]    *    http

Re: [php-list] How to replace ID with data from another table.

2006-05-26 Thread Mike Brandonisio
Hi, Yes, that is pretty much what I did. Sincerely, Mike --  Mike Brandonisio *    IT Planning & Support Tech One Illustration    *    Database Applications tel (630) 759-9283   *    e-Commerce [EMAIL PROTECTED]  *    www.techoneillustration.com On

Re: [php-list] How to replace ID with data from another table.

2006-05-26 Thread Mike Brandonisio
Hi Tom, Thanks. It's all coming together quickly now. Sincerely, Mike --  Mike Brandonisio *    IT Planning & Support Tech One Illustration    *    Database Applications tel (630) 759-9283   *    e-Commerce [EMAIL

Re: [php-list] How to replace ID with data from another table.

2006-05-26 Thread Mike Brandonisio
erely, Mike -- Mike Brandonisio  *    Web Hosting Tech One Illustration *    Internet Marketing tel (630) 759-9283    *    e-Commerce [EMAIL PROTECTED]    *    http://www.jikometrix.net JIKOmetrix - Reliable web hosting On May 26, 2006, at 9:21 AM, Mike Brandonisio wrote:

Re: [php-list] How to replace ID with data from another table.

2006-05-26 Thread Mike Brandonisio
Hi, Thanks again. It worked perfectly. Sincerely, Mike -- Mike Brandonisio  *    Web Hosting Tech One Illustration *    Internet Marketing tel (630) 759-9283    *    e-Commerce [EMAIL PROTECTED]    *    http://www.jikometrix.net JIKOmetrix - Reliable web hosting On

Re: [php-list] How to replace ID with data from another table.

2006-05-26 Thread Mike Brandonisio
Hi, Thanks. I'll take a look at that. Sincerely, Mike -- Mike Brandonisio  *    Web Hosting Tech One Illustration *    Internet Marketing tel (630) 759-9283    *    e-Commerce [EMAIL PROTECTED]    *    http://www.jikometrix.net JIKOmetrix - Reliable web hosting O

[php-list] How to replace ID with data from another table.

2006-05-25 Thread Mike Brandonisio
with an SQL statement? Any input would be helpful. Sincerely, Mike -- Mike Brandonisio  *    Web Hosting Tech One Illustration *    Internet Marketing tel (630) 759-9283    *    e-Commerce [EMAIL PROTECTED]    *    http://www.jikometrix.net JIKOmetrix - Reliable web ho

Re: [php-list] Session variables and Security

2006-05-22 Thread Mike Brandonisio
Hi James, Thanks. That give me something to think about. Sincerely, Mike --  Mike Brandonisio *    IT Planning & Support Tech One Illustration    *    Database Applications tel (630) 759-9283   *    e-Commerce [EMAIL PROTE

[php-list] Session variables and Security

2006-05-22 Thread Mike Brandonisio
'm safe from injections. Is there another way that someone  might attempt to read or modify the session variables? Sincerely, Mike -- Mike Brandonisio  *    Web Hosting Tech One Illustration *    Internet Marketing tel (630) 759-9283    *    e-Commerce [EMAIL PROTEC

Re: [php-list] MYSQL Update

2006-05-21 Thread Mike Brandonisio
Hi, You do not use back ticks in the values. They should be single  quotes. See [EMAIL PROTECTED] response. Sincerely, Mike -- Mike Brandonisio  *    Web Hosting Tech One Illustration *    Internet Marketing tel (630) 759-9283    *    e-Commerce [EMAIL PROTECTED

Re: [php-list] Current user Sessions

2006-05-21 Thread Mike Brandonisio
short. What kind of site is this? I'd think  20 to 30 minutes would be  better, especially if you have any reading  material. Sincerely, Mike -- Mike Brandonisio  *    Web Hosting Tech One Illustration *    Internet Marketing tel (630) 759-9283    *    e-Commerce [EMAIL

Re: [php-list] Current user Sessions

2006-05-20 Thread Mike Brandonisio
Hi, You'll have to write your data to a table since other users will have  query the table to count how many entries are live. You'll also have  to figure out how to deal with people who leave the site. Sincerely, Mike -- Mike Brandonisio  *    Web Hosting Tech One Il

Re: [php-list] Sessions &/or Cookies

2006-05-13 Thread Mike Brandonisio
www  subdomain. Refer to tail  matching in the spec for details. Is that how your doing it but it is not working that way? Sincerely, Mike -- Mike Brandonisio  *    Web Hosting Tech One Illustration *    Internet Marketing tel (630) 759-9283    *    e-Commerce [EMAIL PROTECTE

Re: [php-list] Parse error: parse error, unexpected T_STRING in /home/public_html/register.php on line 30

2006-04-19 Thread Mike Brandonisio
Hi, I see, you are correct. Sincerely, Mike -- Mike Brandonisio *    IT Planning & Support Tech One Illustration    *    Database Applications tel (630) 759-9283   *    e-Commerce [EMAIL PROTECTED]  *    www.techoneillustration.com On Apr 19, 2006,

Re: [php-list] Parse error: parse error, unexpected T_STRING in /home/public_html/register.php on line 30

2006-04-19 Thread Mike Brandonisio
Hi, You have a double ; in your $check at the end.   //check if the username is taken    $check = "SELECT id from registration WHERE username =    '".$POST ['username']."';"; I think it should be:   '".$POST ['

Re: [php-list] Re: Permissions problem with file upload script. [SOLVED] and now 2.0

2006-04-14 Thread Mike Brandonisio
Hi, Yes, The script has to run as that user instead of nobody. To do this you need to make php with phpsuexec. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL PROTECTED

[php-list] new structure and redirecting old URLs

2006-04-07 Thread Mike Brandonisio
s to the new URLs? The 2 ways that come to mind are meta tag refresh or mod_rewrite. Does anyone have a technic that they use for this application? Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*

Re: [php-list] windows explorer like interface in a php page

2006-03-30 Thread Mike Brandonisio
Hi, Yes. Use FTP. I'm pretty sure PHP has built in support for ftp connections. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL PROTECTED]*http://www.jikometri

Re: [php-list] windows explorer like interface in a php page

2006-03-29 Thread Mike Brandonisio
Hi, Try looking here: www.phpclasses.org Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL PROTECTED]*http://www.jikometrix.net JIKOmetrix - Reliable web hosting On

Re: [php-list] Information truncates because of quotation marks

2006-03-14 Thread Mike Brandonisio
Hi, Is the text field formated with quotes like this: 1) or do you have this, no quotes on the value: 2) > If you add quotes to the value parameter it should display properly even without quote pairs in the data from MySQL. Sincerely, Mike -- Mike Brandonisio *Web Host

Re: [php-list] Hacker! Grrr

2006-03-10 Thread Mike Brandonisio
Hi, Maybe you left a session open on the server and it was hijacked. http://www.sitepoint.com/blogs/2004/03/03/notes-on-php-session-security/ Are you limiting special characters from your login form fields? Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration

Re: [php-list] file upload problem need help

2006-03-06 Thread Mike Brandonisio
Hi, If you find one I'd like to see it too. Sincerely, Mike -- JIKOmetrix *Web Hosting tel (630) 759-9283 *SSL Certificates [EMAIL PROTECTED] *http://www.jikometrix.net a Tech One Illustration service On Mar 6, 2006, at 4:13 AM, nitin sharma wrote:

Re: [php-list] Running recursive search on shared server

2006-03-06 Thread Mike Brandonisio
tes to spread it out. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL PROTECTED]*http://www.jikometrix.net JIKOmetrix - Reliable web hosting On Mar 5, 2006, at 10:14 P

Re: [php-list] Running recursive search on shared server

2006-03-05 Thread Mike Brandonisio
oid server issues. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL PROTECTED]*http://www.jikometrix.net JIKOmetrix - Reliable web hosting On Mar 5, 2006, at 1:33 PM,

Re: [php-list] Error when submitting online order form

2006-03-02 Thread Mike Brandonisio
ot;/")); should be: if($errors==1) {echo $error; } else { $where_form_is="http". ($HTTP_SERVER_VARS["HTTPS"]=="on"?"s":"")."://".$SERVER_NAME.strrev (strstr(strrev($PHP_SELF),"/")); rest of code} Sincerely, Mike

Re: [php-list] gethostbyname

2006-03-02 Thread Mike Brandonisio
Hi, This is a DNS caching issue on the web server. Either the TTL on the DNS record needs to be shortened so it expires sooner or if you cannot wait for the that long you need a static IP to avoid DNS issues. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One

Re: [php-list] ASP on Apache?

2006-03-01 Thread Mike Brandonisio
Hi, You might have to ass something like chilisoft ASP to run the ASP code. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL PROTECTED]*http://www.jikometrix.net

Re: [php-list] Re: Code injection

2006-03-01 Thread Mike Brandonisio
Hi, Yes absolutely. I checked my servers and they both use open_basedir to limit what scripts can open as valid paths. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL PROTECTED

Re: [php-list] Re: Code injection

2006-03-01 Thread Mike Brandonisio
Hi, Yes you should be able to if your php runs as your hosting account user. If runs as nobody you might have to open it to the group write in stead just owner. Sincerely, Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283

Re: [php-list] Re: Code injection

2006-03-01 Thread Mike Brandonisio
Mike -- Mike Brandonisio *Web Hosting Tech One Illustration *Internet Marketing tel (630) 759-9283*e-Commerce [EMAIL PROTECTED]*http://www.jikometrix.net JIKOmetrix - Reliable web hosting On Mar 1, 2006, at 2:37 PM, James Keeline wrote: > --- Mike Bra

  1   2   >