Re: [PHP] isset()

2001-02-25 Thread Joe Stump
run some numbers on that. > 3) it will give a warning when $var is not set (error_reporting 15 > only). I run on the default error_reporting setting and it's never complained so far. --Joe > > > > -- > PHP General Mailing List (http://www.php.net/) > To uns

Re: [PHP] crontab help

2001-02-25 Thread Joe Stump
Didn't you just ask this a few days ago? In your while loop put a sleep(300) which will sleep for 300 seconds after processing X amount of emails. --Joe On Fri, Feb 22, 2002 at 02:53:10PM +0800, Arnold Gamboa wrote: > hi there. > > is there a way to tell crontab to do: > &g

Re: [PHP] isset()

2001-02-25 Thread Joe Stump
empty() fails when $var == 0 --Joe On Sun, Feb 25, 2001 at 10:50:15AM -0800, Chris Adams wrote: > On 25 Feb 2001 00:01:30 -0800, Mark Maggelet <[EMAIL PROTECTED]> wrote: > >On Sat, 24 Feb 2001 17:51:07 +0100, Christian Reiniger > >([EMAIL PROTECTED]) wrote: > >>O

Re: [PHP] mySQL table joins are slow, need rebuild?

2001-02-27 Thread Joe Stump
userID as the key char(15) (don't ask, it's an old design made by a former employee) which has roughly 1.6 million rows in it. We regularily do joins on it with other tables that have thousands of records in less than .05 seconds. This sounds like a table structure problem to me. --J

Re: [PHP] Direction Help!

2001-02-27 Thread Joe Stump
way to move on to "advanced features" is to challenge yourself and have a good understanding of programming concepts, UNIX, and the various protocols you work with. Just my $0.02 --Joe On Tue, Feb 27, 2001 at 04:01:22PM -0700, Web master wrote: > Hello Php Gurus, > > Need

Re: [PHP] Double Click

2001-02-27 Thread Joe Stump
Make the id field on the db entry unique - the second query will fail. You should also be doing error checking on whether or not the record exists already. --Joe On Wed, Feb 28, 2001 at 12:15:38AM -0600, Fabian Fabela wrote: > Hi, > > I have a page, and when I have to add a produc

[PHP] Export Linux Users and Password's to MYSQL database

2001-03-01 Thread Joe Njeru
Hi All, Is there a way I can export the users in my Linux machine to a mysql database. Together with their passwords without manually entering all of them. I will appreciate any input. Thanks in advance, Joe Njeru Nairobi, Kenya. "Where the sun shines all day!!" -- PHP Gener

Re: [PHP] How to convert a date to an int?(Need help as soon as possible)

2001-03-02 Thread Joe Stump
27; => 5,'Jun' => 6, 'Jul' => 7,'Aug' => 8, 'Sep' => 9,'Oct' => 10, 'Nov' => 11,'Dec' => 11); $foo = explode(' ',$date); $mont

Re: [PHP] En: [GENERAL] libpq.so.2.1 needed by php-pgsql-4.0.1pl2-9

2001-03-02 Thread Joe Conway
om the above that libpq.so.2.1 is in /usr/lib. Try adding this line to /etc/ld.so.conf: /usr/lib and the run "ldconfig". Hope this helps, Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP] Q: php4,cache,performance,mod_perl,zend cache, APC

2001-03-06 Thread Joe Rice
like zend cache? also, is there anywhere with stated benchmarks that i can see to compare? Thanks, joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] How to get oid after table insert? [postgresql]

2001-03-07 Thread Joe Conway
ould > like something like: > > So, how do I insert a new record into the database, and get the oid of > the record I just inserted? > See http://www.php.net/manual/en/function.pg-getlastoid.php Hope this helps, Joe -- PHP General Mailing List (http://www.php.net/) To

AW: [PHP] Cache Database-driven site

2001-03-12 Thread Joe Maier
Aaron, i would love to believe what you say. But i couldn't find any buffering functions in the online docs. Could you please gimme a pointer on where i can find these functions and what's their name. Are they available in php3? Thanks a lot, Joe -Ursprungliche Nachricht-

Re: [PHP] Bug or what?

2001-03-12 Thread Joe Stump
estroys it without setting it. --Joe On Mon, Mar 12, 2001 at 01:08:37PM -0600, Fabio Ottolini (EDB) wrote: > First File - index.php > > header("Pragma: no-cache"); > header("Cache-Control: no-cache, must-revalidate"); > if(empty($check)) { > $page

[PHP] Two Way Encryption

2001-03-13 Thread Joe Njeru
Hi All, I'm looking for a two way encryption function that I can use to encrypt a cookie value. I have had experience with MD5 but its one way. Is there one I can use with a key in php? Thanks in advance, Joe Njeru, Nairobi Kenya. "Where the women are beautiful" -- PHP Gener

AW: AW: [PHP] Cache Database-driven site

2001-03-13 Thread Joe Maier
Aaron, this is obviously exactly what i need!! Thanks a lot - this saved me days of work! Joe -Ursprungliche Nachricht- Von: Aaron Tuller [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 13. Marz 2001 05:41 An: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Betreff: Re: AW: [PHP] Cache Database

Re: [PHP] I want this magic directory

2001-03-14 Thread Joe Stump
Read up on forcetype'ing on phpbuilder.com - it will do just what you want it to do. --Joe On Wed, Mar 14, 2001 at 06:08:18PM +0800, Alex wrote: > I just want every customer on my site get his own unique id as his directory > name but the pages requested are all processed by the root

[PHP] Q: NSAPI support

2001-03-20 Thread Joe Rice
Hi, I have a funny situation where i can't use apache due Macromedia's ARIA software and lack of it's support for apache. So, i'm stuck with using iPlanet. My question is how stable,fast,usable is the PHP4 NSAPI support? Thanks, joe rice Web Admin www.bigidea.com --

[PHP] How do i include ASP script into PHP...??!

2001-04-16 Thread Joe Truong
How can i include ASP scripts into PHP files or is it posible? thanxz -Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] How do i include ASP script into PHP...??!

2001-04-16 Thread Joe Truong
>ASP scripts require an ASP interpreter. If you stick it in a PHP file, PHP > >will try to interpret the ASP code. PHP can't do that. > > > > > > > >-- > >Plutarck > >Should be working on something... > >...but forgot what it was. > > >

Re: [PHP] temp file help

2001-04-17 Thread Joe Stump
This is a wonderful IE "feature" - it just tries to open everything regardless of the browser type. I'd be interested in any working workarounds for this. I've even sent my own type headers ... all to no avail. --Joe On Mon, Apr 16, 2001 at 03:30:30PM -0700, Randy Johnson wr

Re: [PHP] multidimensional arrays

2001-04-17 Thread Joe Stump
just need to look at PHP's structure. It makes total sense when you think about it. You can through arrays into cells in an array without any troubles. I've had arrays go 4 and 5 deep before just because there was an array I needed to put in a cell that related to that set of data.

Re: [PHP] Tip for cookies

2001-04-17 Thread Joe Stump
to copy the cookie value to a local variable each time it is used in a function. --Joe On Tue, Apr 17, 2001 at 06:36:45PM -0400, Pat Hanna wrote: > I found out today after suffering from minor headaches and hair loss that if > you have functions defined in and outside file name 'foo.ph

Re: [PHP] select question

2001-04-17 Thread Joe Stump
In MySQL you can do this: $sql = "SHOW TABLES LIKE 'box%'"; $r = mysql_query($sql); // then loop through the tables and populate --Joe On Tue, Apr 17, 2001 at 07:49:11PM -0400, Matt TrollBoy Wiseman wrote: > How would I word a query to see what tables exist in a d

Re: [PHP] MySQL data

2001-04-17 Thread Joe Stump
users ... hope this helps ... --Joe On Tue, Apr 17, 2001 at 09:05:02PM -0300, Augusto Cesar Castoldi wrote: > This question has not much with PHP, but I work with PHP... > > Can I get the data from a table in MySQL and copy/transfer all data to > other database to a table with t

Re: [PHP] Last 10 rows

2001-04-17 Thread Joe Stump
ht be able to do others ... --Joe On Mon, Apr 16, 2001 at 11:53:12PM -0700, Randy Johnson wrote: > How do I get the last 10 rows in a table? > > thanks > > randy > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTEC

Re: [PHP] need help

2001-04-18 Thread Joe Stump
The 3rd argument for fwrite() is the length of the string. So you should do: $fp = fopen('./file.txt','w'); $line = "$text\n"; fwrite($fp,$line,strlen($line)); fclose($fp); --Joe On Wed, Apr 18, 2001 at 01:38:11AM -0500, chris herring wrote: > this is really bu

Re: [PHP] Characters counting

2001-04-18 Thread Joe Stump
look into the substr() function in PHP --Joe On Tue, Apr 18, 2000 at 09:23:39PM +0200, Jorn van Eck wrote: > Hi there, > > Does someone know how to display for example150 characters from a $ set by > MySQL? > -- > Jorn van Eck > Student Information Engineering > Almere

Re: [PHP] Finding the records that are NOT linked

2001-04-18 Thread Joe Stump
On your join instead of doing ID=ID do ID!=ID --Joe On Wed, Apr 18, 2001 at 09:55:05PM +0100, Simon Kimber wrote: > Hi all, > > I have written a PHP/MySQL "top-sites" program. It has two tables, > link_sites, which contains the details of all the sites signed up >

Re: [PHP] XML - simple get data from elements

2001-04-18 Thread Joe Stump
I wrote an article for PHPBuilder.com - I would start there - I made it as easy as possible. --Joe On Wed, Apr 18, 2001 at 04:58:28PM -0400, Mark Bean wrote: > I have a valid XML file that all I want to do is assign to variables the > data in the elements and . I know nothing about X

Re: [PHP] how to scale down image using ImageMagick?

2001-04-19 Thread Joe Stump
I just created a class that gets info resizes and stamps an image with text. It's pretty simple, but works. If anyone wants it email me privately. --Joe On Wed, Apr 18, 2001 at 06:00:38PM -0400, Morgan Curley wrote: > according to the docs use > -geometry 175x175> picture.jpeg &g

Re: [PHP] image-resize/convert

2001-04-19 Thread Joe Stump
Again - if you have imagemagick installed email me and I'll email you my little class that does this. --Joe On Thu, Apr 19, 2001 at 10:02:47AM +0200, De Bodemschat wrote: > Hello, > > I'm creating a bunch of photogalleries and wondering about the following: > > - Is

Re: [PHP] List Files

2001-04-19 Thread Joe Stump
$foo = `ls help*`; $files = explode("\n",$foo); while(list(,$fname) = each($files)) echo $fname."\n"; --Joe On Thu, Apr 19, 2001 at 08:25:19AM -0400, [EMAIL PROTECTED] wrote: > Hi, > > Does anyone know how I can list all the files begining with help in one of

[PHP] convert class

2001-04-20 Thread Joe Stump
I've heard a lot of people asking for info on imagemagick & php. I've created a small class that resizes images, gets info, and stamps images. It's nothing to call home to mom about, but it works. http://www.miester.org/software/convert.php.asc --Joe /* Joe Stump * Sr. PHP

Re: [PHP] Recursive Childs

2001-04-22 Thread Joe Conway
ed* -- modify as required if you are using MySQL or something else) Hope this helps! Joe * "; } $levelpad = $levelpad . ""; If (! empty($parent)) { $sql = "select id, name, parent from mytable where parent =$parent order

Re: [PHP] Recursive Childs

2001-04-22 Thread Joe Conway
ord == 0) { print("No matches found.\n"); } print("\n"); * That's it -- it's actually pretty simple. - Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: Re[3]: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c

2001-04-23 Thread Joe Brown
erent setting requirements. Or just "knowing" where to find the damn thing. -Joe "Daniel Beulshausen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Monday, April 23, 2001, 10:19:36 PM, you wrote: > > It should be the

Re: Re[3]: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c

2001-04-24 Thread Joe Brown
What is the software default path registry key??? I found it once before, when I wasn't looking. Now I'm looking I can't find it. "Marc Boeren" <[EMAIL PROTECTED]> wrote in message 7BE0F4A5D7AED2119B7500A0C94C58AC17A73B@DELLSERVER">news:7BE0F4A5D7AED2119B7500A0C94C58AC17A73B@DELLSERVER... > > >

[PHP] can someone debug this vote.php script for me?

2001-04-28 Thread Joe Truong
can some one debug this script for me... it say's "Warning: Undefined variable: total in PHP_poll.php on line 63" thanxz alot!!! http://www.ftls.org/php/ * ***/ // Necessary Variables: $RESULT_FILE_NAME = "poll_dat

[PHP] timezones

2001-04-30 Thread Joe Stump
t the PST timestamp to an EST timestamp. Are there any functions out ther that do this? --Joe Joe Stump <[EMAIL PROTECTED]> One is taught by experience to put a premium on those few people who can appreciate you for w

Re: [PHP] Link Color Questions

2001-04-30 Thread Joe Stump
No you don't :) http://www.domain1.com";>url1 http://www.domain2.com";>url2 http://www.domain3.com";>url3 http://www.domain4.com";>url4 --Joe On Sun, Apr 22, 2001 at 04:18:51PM -0500, Jeff Oien wrote: > You need to use style sheets: > http://www.awlo

Re: [PHP] timezones

2001-04-30 Thread Joe Stump
Thanks to everyone who sent in the info. The problem is as follows: 1.) the mktime()'s are stored as PST in the DB. 2.) we have users ALL OVER the world - is there a place to find all of the timezones at? --Joe On Mon, Apr 30, 2001 at 12:11:55PM -0700, Mark Maggelet wrote: > On Mon

Re: [PHP] php/postgres display information...

2001-05-08 Thread Joe Conway
> hey guys, > alright, I am new to using php to interface with a database, right now I > am trying to display just the primary keys for a table in my database, can > someone point me in the right direction on how to use php to display this > information? Create a function to supply the info -- se

Re: [PHP] Slightly OT - PHP Mileage from Zip Code Calculator

2001-05-11 Thread Joe Rice
I've also been interested in knowing how this is done. If you are willing to share, please post the source to your page. Thanks, joe bill([EMAIL PROTECTED])@Fri, May 11, 2001 at 09:07:26AM -0400: > Not sure what you're asking exactly, but I have a "Find a Dealer" page w

[PHP] server alias

2001-05-14 Thread Joe Stump
... --Joe Joe Stump <[EMAIL PROTECTED]> Life is cheap. It's the accessories that kill you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Re: [PHP] server alias

2001-05-14 Thread Joe Stump
Works great - thanks! --Joe On Tue, May 15, 2001 at 11:51:35AM +1000, Jason Brooke wrote: > > $SERVER_NAME only gives me foober.com (since that is the servername), but not > > the alias someone typed in to get there ... > > > > --Joe > > Give HTTP_HOST a g

Re: [PHP] need some ideas here...

2001-05-14 Thread Joe Conway
relay server. I haven't tried it with PHP, but I've done something similar with tcl before. You might try finding something like this already written. -- Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Re: Extract a string from a string

2002-01-02 Thread Joe Webster
part about that is that if you search for HI, if finds hi, it will highlight hi, not HI. Enjoy. -Joe "Qartis" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I've got a search script, where you can search for a string and it will

[PHP] Setting PHP vars in Apache Directives

2002-01-02 Thread Joe Webster
php_value, php_flag, php_admin_value, php_admin_flag but these are only for INI settings. Thanks for any help before I attempt to modify mod_php ;) Joe Webster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

[PHP] Re: Regular Expression

2002-01-02 Thread Joe Webster
preg_match("/]*)/i", $html, $args); $body_props = $args[1]; preg is much faster/better than ereg. note the /i at the end of the preg, that makes it case insative, drop the i if you want it to be case sensative on the match. -Joe "John Monfort" <[EMAIL PROTECTED]&g

[PHP] Re: Test

2002-01-02 Thread Joe Webster
dork "John Monfort" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Test: cannot send mail, but can read. > Please ignore. > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

Re: [PHP] INI file parsing

2002-01-02 Thread Joe Webster
that php in Windows and IIS reloads the ini every time a page is requested? > > Charles Killmer > > -- Original Message ------ > From: "Joe Webster" <[EMAIL PROTECTED]> > Date: Wed, 2 Jan 2002 15:46:32 -0500 > > no

Re: [PHP] PHP Doesn't Crash but show blank page

2002-01-03 Thread Joe Koenig
Chances are the error is showing up on the page, but is not visible. If you view the source (HTML) from your browser, I bet you'll see the error. Hope this helps, Joe Tamas Arpad wrote: > > > I'm having issues with my php pages. When I have errors, Instead of > > cr

[PHP] Re: PHP dependent on connection speed?

2002-01-03 Thread Joe Webster
Uh no, Php is completely server-side. Any kind of request will be built up, processed, and sent out to be sent to the user. If the user has a slow connection it will take longer to get that information, but PHP is done. -Joe "Charlesk" <[EMAIL PROTECTED]> wrote in message

[PHP] Re: More on images...

2002-01-03 Thread Joe Webster
$GLOBALS[ "HTTP_REFERER" ]; "Matthew Walker" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Related to my last question about the cookies in images, is there any way to get the referrer from the calling page without passing it as an argument to the image genera

[PHP] Re: Checking for characters in string

2002-01-04 Thread Joe Webster
nd I'll say it again, preg is ~40x faster than ereg/eregi and (IMO) better. Enjoy, Joe "Richard Black" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hi, > > I'm writing a page which will allow user's to regis

Re: [PHP] Decryption

2002-01-13 Thread Joe Conway
at the mcrypt extension and use 3DES or one of the other symmetrical encryption algorithms. HTH, --Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail:

[PHP] COM

2002-01-31 Thread Mainolfi, Joe
is anyone out there familiar with COM built into Php? This is my code: $sheet = Range("B6:B9")->Select; $sheet->Selection->Borders(xlEdgeBottom); $sheet->Selection->LineStyle = 9; //xlContinuous $sheet->Selection->Weight = 2; //xlThin I get an error everytime I use the Range method and some othe

[PHP] COM Question- Please Help

2002-01-31 Thread Mainolfi, Joe
This is what I am trying to do. I am trying to add a border to the bottom edge of a cell. The Range and some other methods seem to not work with the syntax that the VB editor in excel says. Like Range in the vb editor is Range("A1:B9").Select. When I try this in php it gives me and error. I

[PHP] dynamic indexes in arrays

2002-05-28 Thread Joe Pemberton
title, "content"=>"", "color"=>$color)); Is there any way to create indexes in arrays from variables? - - Joe [EMAIL PROTECTED]

[PHP] Q: sessions in a switch block not working

2002-02-25 Thread Joe Rice
aking of sessions is setting $uID = $HTTP_SESSION_VARS["uID"] well before the switch statement. $HTTP_SESSION_VARS["uID"] gets set many pages and other PHP scripts before and i just reuse it (as sessions were intended). any help would be greatly appreciated. thanks, joe -- How do i get rid of those words in my screen that are coming from you? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Targetted redirection?

2002-03-13 Thread Joe Webster
If you were going to use javascript to do that, use _parent as the target -- that should reuse the window rather than making a new window. -Joe "Erik Price" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > On Wednesday, Mar

[PHP] Re: vectoring/switchyard php file

2002-03-14 Thread Joe Webster
RewriteRule ^([[:digit:]]+)(/*)$ /__obj.php\?id\=$1 [QSA] We use this rule to rewrite /1234 to become __obj.php?id=1234 and pass and Query String Arguments (QSA) like ?foo=bar and so on. -Joe "Dennis Gearon" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECT

[PHP] Re: Variable Variables and Mulitdimensional Arrays

2002-03-16 Thread Joe Webster
($key,$val) = each($x)){ $my_keys .= $key } echo $my_keys; should result in: (using $x from my code above) 1 (I think it might even come out as 01 -- but probally 1 since it will be treated as a int maybe =) ) > > Any help would greatly be appreciated, > > Charlie > > Hope that helps, still not sure what your question was or if i answered it ;) -Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] preg_replace on digit word boundry help

2002-03-18 Thread Joe Rice
D)/","\\1,\\2",$digiword); this ends up with $replace being 123,joe456 how can i also catch the joe456 to end up with 123,joe,456 any help would appreciated. thanks, joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] preg_replace on digit word boundry in 2 lines how about 1?

2002-03-18 Thread Joe Rice
i can do this if i do it in two line..i'm wondering if it can be done in 1 line. the two lines: $replace = preg_replace("/(\d)(\D)/","\\1,\\2",$digiword); $replace = preg_replace("/(\D)(\d)/","\\1,\\2",$replace); tia, joe Joe Rice([EMAIL PROT

[PHP] how to include the same file twice?

2002-03-18 Thread Joe Lira
look at. if you can tell me what's wrong i would REALLY appreciate it :) thanks joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Search for words

2002-03-19 Thread Joe Webster
EG but neither is as fast as a straight out text search. if you go the preg route you need to make sure you form your expression correctly... but for words ... just | will do you fine. -Joe "Martin Kampherbeek" <[EMAIL PROTECTED]> wrote in message 006701c1cecb$806e9be0$[EMAIL

Re: [PHP] Hi! Is there any equivalent function with header?

2002-03-19 Thread Joe Webster
I wouldn't say you NEED a full url, it should handle relative URL's as well. I don't know if it's part of the specification, but it will work. As far as your problem I hope that line break isn't in the string and it's just there because of the email. -Joe "Ja

Re: [PHP] Making a simple borderless pop up window with a "Close" button

2002-03-19 Thread Joe Webster
It only works in IE -- it makes use of the 'Full Screen' (F11) option and tricks IE into doing so... hope you don't want it to work in NS, Opera... or anything else =) -Joe "Erik Price" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL

Re: [PHP] Making a simple borderless pop up window with a "Close" button

2002-03-20 Thread Joe Webster
Using the options parameter will allow you to get rid of toolbarts and scrollbars, but NOT the window's border, which the question was asking. -Joe "Bvr" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > The 3rd parame

[PHP] Re: PHP - mssql

2002-03-20 Thread Joe Webster
x27;$pass';"; $result = mssql_query( $query, $link ); if(!mssql_num_rows( $result )){ die( "Username/Password no good" ); } else{ die( "Everything is okay!" ); } like i said, i think all the mysql functions in php have a mssql equiv. -- like mssql_num_rows

[PHP] Javascript and PHP??

2002-04-03 Thread Joe Keilholz
. How would I accomplish this in PHP? Can I incorporate Javascript into my PHP code? If so, how? Any help would be appreciated! Thanks! Joe Keilholz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Uploading and linking to images from a admin panel!

2001-10-26 Thread joe donut
Hi Folks I can write to txt files, no problem! What is the easiest way to get my end user to upload images, is there a method to generate an online form that can handle the input of txt and images so that the images will get uploaded and then automatically linked to a template??? Hope someone c

Re: [PHP] building a php based subscription site (not a porn site)

2001-11-18 Thread Joe Stump
they didn't click through). Make sure to put a LARGE notice on your signup form explaining exactly how to activate their account. Hope this helps - it's worked great for me in the past. --Joe On Fri, Nov 16, 2001 at 06:02:38PM -0500, Vincent Stoessel wrote: > I am helping a client

Re: [PHP] Auto Thumbnail?

2001-11-18 Thread Joe Stump
your system (sometimes isn't installed). It's part of the Image Magik utility pack. --Joe On Fri, Nov 16, 2001 at 11:16:57PM +, cosmin laslau wrote: > I've got a website which will alllow users to upload photos (jpegs) and, > once approved, they'll be up for display

Re: [PHP] alzheimers and confused

2001-11-18 Thread Joe Stump
if(!eregi("\.jpg$",$image) || !eregi("\.jpeg$",$image)) die("ERROR: doesn't appear to be a JPeg image!"); --Joe On Fri, Nov 16, 2001 at 09:45:07PM -0500, jtjohnston wrote: > OK kids, I'm not 19 ... my old brain gets tired easily and my wife is &

Re: [PHP] Question on variable variables

2001-11-18 Thread Joe Stump
This would be the logical way to do it (as I see it): define('MY','pre_'); $a = "dog"; $new_var = MY.$a; $$new_var and $pre_dog are the same :) --Joe On Fri, Nov 16, 2001 at 09:47:12PM -0500, Jeff Lewis wrote: > I've a question regarding variable varia

Re: [PHP] comma-formatting numbers

2001-11-18 Thread Joe Stump
Here is an example of number format: --Joe On Sat, Nov 17, 2001 at 01:45:16PM -0800, Paul Wolstenholme wrote: > You can do this using the number_format function or probably sprintf. > /Paul > > On Saturday, November 17, 2001, at 01:36 PM, Scott Dudley wrote: > > > >

Re: [PHP] PHP Backing up a Database?

2001-11-18 Thread Joe Stump
This is what you'll want to do: 0 0 * * * /path/to/mysqldump -u[username] -p[username] [database] > /path/to/backup.sql Put that above in your crontab (you might want to tar/gzip it too if it's big) then download it via cron to your local box. You could also look into rsync.

Re: [PHP] extract() question

2001-11-18 Thread Joe Stump
You may want to do something like this instead: --Joe On Sun, Nov 18, 2001 at 04:21:46PM -0500, David Bernier wrote: > There is this array which I would like to convert into a series variables using the >extract function: > > $oz = array( > "lion" => "c

Re: [PHP] relative paths

2001-11-18 Thread Joe Stump
An easy way to fix this common problem is this: define('BASE_INCLUDE_PATH','/var/www/includes/'); include(BASE_INCLUDE_PATH.'my_include.inc'); Just make sure to include the file with the BASE_INCLUDE_PATH define using a relative path ... ie. --Joe On Sat, No

[PHP] FreeBSD 4.3, PHP 4.0.6 & unixODBC -- Undefined Symbol

2001-12-05 Thread Joe Koenig
unixODBC because I didn't think libiodbc should even be getting loaded. Regardless, does anyone have a fix? Thanks, Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

Re: [PHP] FreeBSD 4.3, PHP 4.0.6 & unixODBC -- Undefined Symbol

2001-12-05 Thread Joe Koenig
r how to change my ODBC library? Thanks, joe Joe Koenig wrote: > > I had previously attempted to get the Openlink ODBC drivers work with > iodbc and PHP. I was having no luck and turned to easysoft's solution, > which includes unixODBC. I re-configured PHP (removing the config.

[PHP] Compare strings

2001-12-05 Thread Mainolfi, Joe
Is there another way to compare the values of 2 strings other than strcmp(). This function is not consistent with its results and is causing so many headaches. I am somewhat new to Php so any help is appreciated. Thanks __ Joseph D. Mainolfi Jr

[PHP] Q: Informix + PHP + Apache + Solaris 8

2001-03-21 Thread Joe Rice
onfigure script is looking for $INFORMIXDIR/bin/esql which isn't installed by IConnect either. Thanks, joe rice Web Admin www.bigidea.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To cont

Re: [PHP] Q: Informix + PHP + Apache + Solaris 8

2001-03-21 Thread Joe Rice
p would be greatly appreciated. Thanks, joe Chris Fry([EMAIL PROTECTED])@Thu, Mar 22, 2001 at 09:45:14AM +1100: > For SCO I had to download the ESQL package separately - I think you have to do the > same (if it's available). > > Chris > > Joe Rice wrote: > > > Hi,

Re: [PHP] Q: Informix + PHP + Apache + Solaris 8

2001-03-21 Thread Joe Rice
What ended up working for me is; LD_RUN_PATH=$INFORMIXDIR/lib then i recompiled php and when i started apache everything seemed to work. I didn't go the LD_LIBRARY_PATH way because of http://www.visi.com/~barr/ldpath.html titled "Why LD_LIBRARY_PATH is bad" Thanks for all the

Re: [PHP] A problem under Solaris

2001-03-22 Thread Joe Rice
If you have the "Bonus Software" pack that came with Solaris8, there is a CD call "Companion". That CD has everything you need form the GNU world. Loads of GNU solaris packages. joe Emiliano Marmonti([EMAIL PROTECTED])@Thu, Mar 22, 2001 at 02:43:25PM -0600: > Thank you

[PHP] Environment Variables

2001-03-22 Thread Joe Rice
how do you sent a Environment Variables for the php script to execute in? i need to set INFORMIXSERVER so i can use the informix php functions. This is going live tomorrow and we don't have it working yet...PLEASE HELP! thanks, joe rice Web Admin www.bigidea.com -- PHP General Ma

Re: [PHP] Environment Variables

2001-03-22 Thread Joe Rice
i figured it out...thanks. putenv() Joe Rice([EMAIL PROTECTED])@Thu, Mar 22, 2001 at 03:16:35PM -0600: > > > how do you sent a Environment Variables for the php script > to execute in? i need to set INFORMIXSERVER so i can > use the informix php functions. This is going live

Re: [PHP] ODBC & Oracle

2001-03-22 Thread Joe Brown
There is a timeout, that should halt a script if it runs too long. If you can, check php.ini set max_execution_time to something greater than 30 seconds, see if that helps. ""Brooks, Ken"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I thought maybe the php

Re: [PHP] key generation with mcrypt

2001-03-23 Thread Joe Conway
this requires MHash as well as MCrypt, but you could substitute the built in MD5 function for SHA1. Hope this helps, Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] random letters and numbers

2001-03-24 Thread Joe Stump
Sure - use md5() --Joe On Sat, Mar 24, 2001 at 12:05:49PM -0500, Randy Johnson wrote: > Is there an easy way to create random numbers and letters for a file example > > > http://www.mydomain.com/1w2e3rff.txt > > and then after they download it have it be dele

Re: [PHP] [PHP4]

2001-03-24 Thread Joe Brown
if($formSubmit) { echo "form submitted: $frmName"; //<= have you tried this to make sure $formSubmit is true? $newsSubmit = file("news.txt"); //RTM, your not using file() the way it's inteneded. $fp = fopen("news.txt", 'a'); //looks good fwrite($fp, $frmName); //looks good, but does $frmNam

[PHP] Compiling, How to resolve COM

2001-03-24 Thread Joe Brown
nals Error executing link.exe. Please enlighten me. Thanks, -Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] [PHP4] $fp = fopen( "news.txt", 'a' ); // 'a' = append! Wah!

2001-03-25 Thread Joe Brown
Re-create the file. You're most of the way there. if( $formSubmit ) { echo "Your news has been processed."; $filename = "news.txt"; //This is simpler than messing with an array of the original content. $fp = fopen ($filename, "r"); $newsSubmit = fread ($fd, filesize ($filename)); fclose ($fp)

Re: [PHP] [PHP4] $fp = fopen( "news.txt", 'a' ); // 'a' = append! Wah!

2001-03-25 Thread Joe Brown
Take a closer look at the previous message I sent $filename was defined as: $filename="news.txt"; ""Dddogbruce (@home.com)"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > When you say $newsSubmit = fread ($fd, filesize ($filename)); > > Do you mean specify t

Re: [PHP] [PHP4] $fp = fopen( "news.txt", 'a' ); // 'a' = append! Wah!

2001-03-25 Thread Joe Brown
maybe spinning the 'd' in $fd 180 degrees to make it a p will help... Sorry, haven't tried this myself, typo's happen. heh, I'm still trying to compile php 4 windows :-( been hoping for a helping hand. ""Dddogbruce (@home.com)"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EM

Re: [PHP] Another problem installing PHP under Solaris 8.0

2001-03-26 Thread Joe Rice
you need ar. my solaris 8 install has it in /usr/ccs/bin if you have it there, make sure /usr/ccs/bin is in your PATH. if you need to know what package ar is part of let me know. joe Emiliano Marmonti([EMAIL PROTECTED])@Mon, Mar 26, 2001 at 03:12:00PM -0300: > > Dear Friends: > >

Re: [PHP] "DF" output

2001-03-27 Thread Joe Brown
nobody has execute permission on ps? Probably quite the opposite, your webserver user doesn't have execute permission on ps, so there is no execution or return value. "Steven Shepherd" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am writing a script, actu

<    1   2   3   4   5   6   7   8   >