Re: [PHP] Could this be a configuration directive?

2002-02-16 Thread Anas Mughal
Thank you very much... This worked: $message = ${$this->func_name($string)}; and, this worked: (I am going to stick with this) $message = ${$this->func_name}($string); However, this did NOT work: $message = ${$this}->func_name($string); Lesson learned: I need to enclose the function

Re: [PHP] Could this be a configuration directive?

2002-02-16 Thread Michael Sims
At 11:22 PM 2/16/2002 -0800, Anas Mughal wrote: >I get a parse error using my CGI version of PHP on the >following line: > >$message = $$this->func_name($string); > >However, the same above line works fine with my ISP's >CGI version of PHP. That is strange. Just for kicks, try using curly br

[PHP] Could this be a configuration directive?

2002-02-16 Thread Anas Mughal
I get a parse error using my CGI version of PHP on the following line: $message = $$this->func_name($string); However, the same above line works fine with my ISP's CGI version of PHP. The first thing that jumps to my mind is that my ISP's CGI version could have been compiled with some differ

RE: [PHP] Help please

2002-02-16 Thread webmaster mbtradingco
I'm sorry but I cant seem to make it work. The form instruction is now: The Button Instruction is now: Still when the new window opens is stops cause it does not have any values with it. What am I doing wrong here, if I add an action statement in

[PHP] net send/WinPopup code - RFC

2002-02-16 Thread Garth Dahlstrom
I'm working on some PHP code to make it possible for a PHP script to do "net send" messages. Here's what I have so far, I've been successful sending to localhost with it on a Windows machine. If folks could try this out and make suggestions on how to improve it, I'd be very appreciative...

[PHP] MySQL error checking/matching

2002-02-16 Thread Navid Yar
Hello everyone, I have a problem. I have a test database (used to learn MySQL) with a table called customers and a field called email. The email field is set to be unique, so I know that by using: $query = "select email from customers where email = $email"; I will get one cell with the e-mail add

[PHP] global variables accesible by any script started by any browser

2002-02-16 Thread Sofhian Mahat
Does anyone know if it is possible to have a script declare a variable and make it accesible by any script started by any browser?

Re: [PHP] Sessions that last for ever

2002-02-16 Thread Jason Wong
On Sunday 17 February 2002 04:10, Nigel Gilbert wrote: > But very many commercial sites, including Apple and Amazon to name two, > do exactly this. When you re-enter the site they 'remember' who you are > using a cookie. In my case, I'm building a multi-player strategy game > and while I want th

Re: [PHP] Help please

2002-02-16 Thread Bogdan Stancescu
You should make up your mind - do you want to use the form in order to carry the data (use submit()) or do you want to submit the data via URL (GET method - using window.open()). You can't use both! Bogdan webmaster mbtradingco wrote: >Thanks... I hope you can assist me a little more. > > >

[PHP] Apache.exe fails Java

2002-02-16 Thread Zlutarch G.
Hi, I am learning how to use the PHP Java extension. I used the example script/codes found in the PHP Java documentation:" getProperty('java.version').' '; print 'Java vendor=' .$system->getProperty('java.vendor').' '; print 'OS='.$system->getProperty('os.name').' '. $system->

RE: [PHP] Help please

2002-02-16 Thread webmaster mbtradingco
Thanks… I hope you can assist me a little more. I put the text like this: but it opens the new window (like it is supposed but it carries no data), and the main window changes like if no value was added. This is the third consecutive form in the page, and

[PHP] Re: storing arrays

2002-02-16 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Clark) wrote: > 1) Is it possible to write an array to a file? > 2) Is it possible to specify the name of the key to each item of an array > when you get the array usin

RE: [PHP] Help please

2002-02-16 Thread webmaster mbtradingco
Thanks… I hope you can assist me a little more. I put the text like this: but it opens the new window (like it is supposed but it carries no data), and the main window changes like if no value was added. This is the third consecutive form in the page, and t

Re: [PHP] Help please

2002-02-16 Thread Bogdan Stancescu
Since you're assuming Javascript anyway, you can use a instead of and use the same javascript code as for the , just that you append a "document.forms[0].submit()". HTH Bogdan webmaster mbtradingco wrote: > I'm trying to contro l the way a new window opens when submiting a form. > > > >

[PHP] storing arrays

2002-02-16 Thread Clark
Two questions: 1) Is it possible to write an array to a file? 2) Is it possible to specify the name of the key to each item of an array when you get the array using file(). Thanks a lot. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Breadcrumbs in PHP

2002-02-16 Thread [EMAIL PROTECTED]
Hi, I was trying out this breadcrumbs code found at evolt.org: http://www.evolt.org/article/Breadcrumbs_for_PHP_Lovers/17/4455/ and tried it on my site. The same problem as documented on that page exists on my page, being that it doesn't include any directories between the "home" and the curren

[PHP] Re: Outputing XML to browser???

2002-02-16 Thread Jim Hankins
More info on my latest issue regarding the integrating of xml and php for dynamic xml documents Thanks for help, could use another assist if you have a moment. When I used the method of using the application it worked only the output is text not xml, ie it does update the dynamic information but

Re: [PHP] file reading and array's

2002-02-16 Thread Scott
Perfect! Thank you, my mind was out in left field somewhere. On Tue, 12 Feb 2002, DL Neil wrote: > Hi Scott, > > > In my constant effort to improve my perl conversion project, I have a > > question regarding file reading. I am taking two files and combining > > them in an array and then writ

php-general Digest 17 Feb 2002 01:40:02 -0000 Issue 1176

2002-02-16 Thread php-general-digest-help
php-general Digest 17 Feb 2002 01:40:02 - Issue 1176 Topics (messages 85030 through 85076): php blocking functions 85030 by: Sofhian Mahat Text editor for linux 85031 by: Torkil Johnsen 85034 by: Matthew Darcy 85044 by: Jackson Miller 85074 by: Greg

[PHP] Help please

2002-02-16 Thread webmaster mbtradingco
I’m trying to control the way a new window opens when submiting a form.   When I do it from a regular button, I use:   rollbars=0,width=300,height=340,top=150,left=150');return true">   and it works, it opens the new window, but I’m not transferring any values in here.   What I wan

RE: [PHP] Text editor for linux

2002-02-16 Thread Scott
Nedit, Bluefish are also good under X -Original Message- From: Greg Donald [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 16, 2002 7:22 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Text editor for linux > Anyone know of a good text editor for linux, WITH syntax highlighting for > ph

Re: [PHP] Text editor for linux

2002-02-16 Thread Greg Donald
> Anyone know of a good text editor for linux, WITH syntax highlighting for > php/html + other languages? Vim - http://www.vim.org/ If you use X, then use gvim. Greg Donald - http://destiney.com/ http://phprated.com/ | ht

[PHP] exec on Windows

2002-02-16 Thread Scott
I am trying to develop a music scheduling system on Windows using the command line to fire off WinAMP. The first exec works fine, then it stops and says that program execution time has been exceeded. An example would be: exec ("winamp.exe M01.mp3"); a while loop kicks off the second. I

Re: [PHP] PHP Help Requested

2002-02-16 Thread Greg Donald
> I have a template stored in a database which contains variables. Then, > in a separate file, I have the variables set, and I call the template and run > it through eval(). Unfortunately, it only is parsing a few of them. Could > somebody take a look and give me some input? Here's what my temp

Re: [PHP] Where To Find Resources About Programming Style (my bleedin' code is so darn ugly)

2002-02-16 Thread Michael Sims
At 12:26 AM 2/17/2002 +0100, Frank Joerdens wrote: >I am looking for a good manual or introduction on how to write readable, >extensible code (in any programming language). To give you an example, >this bit looks pretty darn horrible and I just don't know how to >rephrase it to make it more concis

Re: [PHP] Sessions that last for ever

2002-02-16 Thread Greg Donald
> But very many commercial sites, including Apple and Amazon to name two, > do exactly this. When you re-enter the site they 'remember' who you are > using a cookie. In my case, I'm building a multi-player strategy game > and while I want the players to go through an initial briefing the first >

[PHP] Where To Find Resources About Programming Style (my bleedin' code is so darn ugly)

2002-02-16 Thread Frank Joerdens
I am looking for a good manual or introduction on how to write readable, extensible code (in any programming language). To give you an example, this bit looks pretty darn horrible and I just don't know how to rephrase it to make it more concise and readable: - snip ---

[PHP] pdf_place_image size not scale

2002-02-16 Thread Paul Fowler
Is there a way to fake adding images with a constrained size as appose to a scale? I am trying to build a dynamic catalog, but I want all images the same size and not scaled. I am sure the response will be to make them all the same size before using pdf_place_image, but the items change regularl

[PHP] Test please ignore

2002-02-16 Thread Paul Fowler
Test please ignore Just a test to see if I am on the list yet. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ftp_rawlist() info

2002-02-16 Thread Artemis Mendrinos
Hello, Everything works with the FTP connection...but I have a problem with the address at ftp_rawlist. I tried "/" to see the root directory and it didn't accepted it... What is rong? Artemis Mendrinos. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php

[PHP] FREE webspace with NO ADS!! (also PHP included!)

2002-02-16 Thread Balazs Laszlo
Hi! You can find details at the next link: http://endi.go.ro/ml.htm __ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

Re: [PHP] Change gif image with php

2002-02-16 Thread Rasmus Lerdorf
> Rodrigo, > I've been struggling with this for some time, so here goes: > > The php4 builds do not support .gif files, you'll need to change your files > to .jpg or .png format, or use php3 (I can't change to php3). This is not true. GIF support depends solely on the version of the GD library

RE: [PHP] scheduled tasks

2002-02-16 Thread B Richards
What do people think about making a cron job call a page by doing a lynx http://www.site.com/automatedtasks.php every hour? -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: February 16, 2002 3:02 PM To: Rodney Davis Cc: [EMAIL PROTECTED] Subject: Re: [PHP] scheduled

RE: [PHP] scheduled tasks

2002-02-16 Thread B Richards
What do people think about making a cron job call a page by doing a lynx http://www.site.com/automatedtasks.php every hour? -Original Message- From: Michael Sims [mailto:[EMAIL PROTECTED]] Sent: February 16, 2002 9:59 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] sche

Re: [PHP] Change gif image with php

2002-02-16 Thread hugh danaher
Rodrigo, I've been struggling with this for some time, so here goes: The php4 builds do not support .gif files, you'll need to change your files to .jpg or .png format, or use php3 (I can't change to php3). I use imagecreate() func. before imagecreatefromjpeg() func. because if I didn't do this,

Re: [PHP] Change gif image with php

2002-02-16 Thread Andrew Brampton
ya its completly possible.. I've never done it, but I'm sure I read how to over at phpbuilder.com Andrew - Original Message - From: "Rodrigo Peres" <[EMAIL PROTECTED]> To: "PHP" <[EMAIL PROTECTED]> Sent: Saturday, February 16, 2002 7:49 PM Subject: [PHP] Change gif image with php > Hi l

Re: [PHP] Sessions that last for ever

2002-02-16 Thread Nigel Gilbert
But very many commercial sites, including Apple and Amazon to name two, do exactly this. When you re-enter the site they 'remember' who you are using a cookie. In my case, I'm building a multi-player strategy game and while I want the players to go through an initial briefing the first time

Re: [PHP] Change gif image with php

2002-02-16 Thread Adrian Murphy
button.php fot this to work you need to upload VERDANAB.TTF to a folder called 'fonts' and you call the image like this: to draw 'hello' on a button called 'mybutton.gif' stored in 'images' folder - Original Message - From: "Rodrigo Peres" <[EMAIL PROTECTED]> To: "PHP" <[EMAIL PROTECT

Re: [PHP] scheduled tasks

2002-02-16 Thread Erik Price
On Friday, February 15, 2002, at 03:03 PM, Rodney Davis wrote: > Is currently anyway of doing scheduled tasks with PHP (without using > crontab)? For example, using an email script to send out e-mail > reminders every Monday or something like that? One way to do it (stole this from my 'Beginn

Re: [PHP] Sessions that last for ever

2002-02-16 Thread Erik Price
On Saturday, February 16, 2002, at 07:43 AM, Nigel Gilbert wrote: > By default, a session (created with session_register) seems to last > just as long as the user has their browser open. If a user quits the > browser, the session is automatically destroyed. > > I want a session to last indef

[PHP] Change gif image with php

2002-02-16 Thread Rodrigo Peres
Hi list I have some buttons made in photoshop in .gif format. This buttons have round corner, feather, multiple colors etc. There's a way to open it with php and write some text to it. I know that is possible to create images, but what about to change them??? I need to do this because the text th

[PHP] Re: Outputing XML to browser???

2002-02-16 Thread Jim Hankins
OK so it's not working. I was having cache issues, so it now displays as text instead of xml but does process the commands. I'm close, any ideas what I need to do? Do I need to now place some kind of header in all my xml files or is there some type of apache config that needs changing? Now all

[PHP] PHP Help Requested

2002-02-16 Thread Pete Bekisz
Hello =) I have a template stored in a database which contains variables. Then, in a separate file, I have the variables set, and I call the template and run it through eval(). Unfortunately, it only is parsing a few of them. Could somebody take a look and give me some input? Thanks

[PHP] Re: Outputing XML to browser???

2002-02-16 Thread Jim Hankins
Christian, never mind, my fault. It's working beauthifully now. Thanks so much for the help! Save my weekend! Jim "Jim Hankins" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Christian, when I changed the AddType to include .htm .html .xml and .xhtml > now e

[PHP] Re: Outputing XML to browser???

2002-02-16 Thread Jim Hankins
Christian, when I changed the AddType to include .htm .html .xml and .xhtml now even if I don't have any php content in the file, it displays as plain text instead of xml, the files have an xml ext. Any ideas? "Christian Blichmann" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EM

Re: [PHP] Tricky variable question! Impossible??

2002-02-16 Thread Edward van Bilderbeek - Bean IT
Well, as long as you use double quotes: " the variables will be parsed inside you statement... single quotes however mean the exact string... example: $icon = "1.jpg"; $str = "this is the image $icon"; $str2 = 'this is the image $icon'; print $str; // returns: "this is the image 1.jpg" print $st

Re: [PHP] LINUX distrib of PHP different to windows?

2002-02-16 Thread Lars Torben Wilson
On Sat, 2002-02-16 at 05:55, Andy wrote: > Hi there, > > I just installed my first linux box and I have problems on configuring php > for my needs. > > It does not matter what I do to php.ini, nothing is changing. And yes, I did > restart apache. I thought php4.1.1 > comes with gd2.0 build in, l

Re: [PHP] The ASP "application" object in PHP?

2002-02-16 Thread Peter J. Schoenster
On 16 Feb 2002, at 8:37, michael kimsal wrote: > I don't believe the original poster you quote really had/has > a firm grasp on what it actually does. > > The tried and true example is a hit counter. No matter who hits a > page, if that page increases an application variable called "counter" >

[PHP] Tricky variable question! Impossible??

2002-02-16 Thread Andy
Hi guys, I am not sure if this is possible. Not on my knowledge, but maybe someone is smarter than I am :-) I want to pass an icon to a function. Therefore I am putting all the html into a var called icon. Inside this html their is another variable with an array which value is set inside the fun

[PHP] Re: Problems with Cookies

2002-02-16 Thread Georgie Casey
email me if you dont understand something about my question. I read it back to myself, and it all sounds so complicated! TIA "Georgie Casey" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Rite, a user logs in at http://localhost/employers/login.php and PHP set

[PHP] Problems with Cookies

2002-02-16 Thread Georgie Casey
Rite, a user logs in at http://localhost/employers/login.php and PHP sets a cookie, eusername, that has his username, funnily enough. then he clicks on to the /employers/search.php, submits his query and clicks on the page of http://localhost/freelancers/some_guy/index.php When I have a bit of P

RE: [PHP] Text editor for linux

2002-02-16 Thread Jackson Miller
I am using Komodo from Active State. http://www.activestate.com It runs in windows and Linux. On Sat, 2002-02-16 at 09:17, Matthew Darcy wrote: > there is a way of using vi/vim to highlight syntax with PHP and HTML. > > I am playing with it at the moment. > > Matt, > > > -Original Messag

[PHP] Re: Outputing XML to browser???

2002-02-16 Thread Christian Blichmann
Whoops, sent you a wrong .htaccess - file, here's what I really use (the other one was old): AddType application/x-httpd-php .php .php4 .htm .html .xml .xhtml DirectoryIndex index.xml index.xhtml IndexIgnore .htaccess .htpasswd -- Christian Blichmann _

[PHP] Re: Outputing XML to browser???

2002-02-16 Thread Christian Blichmann
Hello! >From my understanding of your question, I'd say that you'll have to configure Apache so that it calls PHP for XML-files, too. You can set this up in your either ".htaccess" files or in your Apache config file (-> see the docs, I don't know exactly 'cos I'm using IIS/5.0 with Win2k). This i

Re: [PHP] My Session don't expire

2002-02-16 Thread Andrey Hristov
Maybe the content of the page is cached. Try to reload/to clear the cache of the browser. Best regards, Andrey Hristov - Original Message - From: "Rodrigo Peres" <[EMAIL PROTECTED]> To: "PHP" <[EMAIL PROTECTED]> Sent: Saturday, February 16, 2002 4:50 PM Subject: [PHP] My Session don't

Re: [PHP] scheduled tasks

2002-02-16 Thread Michael Sims
At 06:41 AM 2/16/2002 -0800, [EMAIL PROTECTED] wrote: >"Is currently anyway of doing scheduled tasks with PHP (without using >crontab)? " >"What's wrong with using cron?" > >I'm building an OSS site where the PostgreSQL data base maintenance, >email sending, stats gathering, number crunching an

[PHP] My Session don't expire

2002-02-16 Thread Rodrigo Peres
Hi list, I'm using IE5 on Mac with MacOS 9.2.2. I've made a script that use session_register(), but even when I quit the browser the values registered with session still there. Ex: I run the script, quit the browser, reopen it and do an echo($myvar) and, the value is there, didn't expire. How can

[PHP] Re: Sessions that last for ever

2002-02-16 Thread Joe Van Meer
Hi Nigel, you could set a cookie once they enter your site, and check at the top of each page you want accessible with this variable to see if they have it or not. Joe :) Nigel Gilbert <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > By default, a session (cre

Re: [PHP] scheduled tasks

2002-02-16 Thread flume33
"Is currently anyway of doing scheduled tasks with PHP (without using crontab)? " "What's wrong with using cron?" I'm building an OSS site where the PostgreSQL data base maintenance, email sending, stats gathering, number crunching and graph plotting needs to be automated. My target audience

[PHP] Re: Sessions and templating help

2002-02-16 Thread Joe Van Meer
Hi Justin, are you using at the top of every page you want to keep the session? Cheers, Joe :) Justin Deutsch <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi All, > > I am running Apache with PHP4 as a module. I have also written a script (template.php)

[PHP] RE: Sessions that last for ever

2002-02-16 Thread SpamSucks86
I think changing a setting in php.ini will do it, I'm just not sure which one. session.cache_expire seems like it might do something, or maybe session.gc_maxlifetime. Look them up in the manual -Original Message- From: Nigel Gilbert [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 16,

RE: [PHP] Text editor for linux

2002-02-16 Thread Matthew Darcy
there is a way of using vi/vim to highlight syntax with PHP and HTML. I am playing with it at the moment. Matt, -Original Message- From: Torkil Johnsen [mailto:[EMAIL PROTECTED]] Sent: 16 February 2002 13:45 To: [EMAIL PROTECTED] Subject: [PHP] Text editor for linux Anyone know of a

Re: [PHP] modular programming

2002-02-16 Thread Kunal Jhunjhunwala
Hey DN, The Guestbook was an example of what im trying to do. I am NOT coding a guest book... Regards, Kunal Jhunjhunwala "Minds think with ideas, not information. No amount of data, bandwidth, or processing power can substitute for inspired thought." - Clifford Stoll - Original Message -

[PHP] LINUX distrib of PHP different to windows?

2002-02-16 Thread Andy
Hi there, I just installed my first linux box and I have problems on configuring php for my needs. It does not matter what I do to php.ini, nothing is changing. And yes, I did restart apache. I thought php4.1.1 comes with gd2.0 build in, like on windows distrib. but it does not. I compiled php4.

[PHP] Text editor for linux

2002-02-16 Thread Torkil Johnsen
Anyone know of a good text editor for linux, WITH syntax highlighting for php/html + other languages? - TOrkil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php blocking functions

2002-02-16 Thread Sofhian Mahat
Hello everyone, I am searching for an alternate way to accomplish user synchronization. I would like two or more users to block on the read of some stream, so that when one person writes to it, the other person(s) will read it. The only way I currently know to do this is with the socket funct

php-general Digest 16 Feb 2002 13:34:08 -0000 Issue 1175

2002-02-16 Thread php-general-digest-help
php-general Digest 16 Feb 2002 13:34:08 - Issue 1175 Topics (messages 84990 through 85029): Re: The ASP "application" object in PHP? 84990 by: Michael Sims 84994 by: Tom Rogers 84995 by: michael kimsal 84997 by: Joshua Hoover 84998 by: Tom Rogers

Re: [PHP] The ASP "application" object in PHP?

2002-02-16 Thread michael kimsal
Peter J. Schoenster wrote: > to all instances and sessions. It is for example very useful to track different users at the same time, or to send messages from one session to another, or the likes. > > Well it started from the above where some guy said this magic > could track u

Re: [PHP] modular programming

2002-02-16 Thread DL Neil
Hey Kunal, > The entire concept of OOP was based on the data and not the processing :) No, this seems too much of a simplification. In the 'good old days' we used to design a program by using a flowchart. Such is an entirely procedural/code-based approach. Each of the philosophies that followe

[PHP] Sessions that last for ever

2002-02-16 Thread Nigel Gilbert
By default, a session (created with session_register) seems to last just as long as the user has their browser open. If a user quits the browser, the session is automatically destroyed. I want a session to last indefinitely (or until my program destroys it). There are some hints about how th

[PHP] zipping files on the fly

2002-02-16 Thread Kunal Jhunjhunwala
Hey, I am trying to zip an entire directory and its contents on the fly. Any tips or codes snippets for doing something like this? The one at zend doesnt seem to be working for me :( Regards, Kunal Jhunjhunwala "Minds think with ideas, not information. No amount of data, bandwidth, or processing

RE: [PHP] user auth script update.

2002-02-16 Thread Matthew Darcy
never mind Matt, I noticed the missin ); on line 65 Thanks for your help. Matt. -Original Message- From: Matt [mailto:[EMAIL PROTECTED]] Sent: 16 February 2002 12:05 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] user auth script update. > I am now getting the parse err

Re: [PHP] not really a php question but can't hurt to ask.

2002-02-16 Thread Matt
Turn caching off in IE while you're developing ... or hit refresh so you get the new page. - Original Message - From: "Matthew Darcy" <[EMAIL PROTECTED]> > For some reason windows using ie takes doesn't see changed on the apache > webserver as quick as linux ??? > -- PHP General Mai

RE: [PHP] not really a php question but can't hurt to ask.

2002-02-16 Thread Matthew Darcy
got the apache thing sussed. For some reason windows using ie takes doesn't see changed on the apache webserver as quick as linux ??? -Original Message- From: Matthew Darcy [mailto:[EMAIL PROTECTED]] Sent: 16 February 2002 11:58 To: PHP developers Subject: [PHP] not really a php questi

[PHP] Generating PDF documents

2002-02-16 Thread Alberto Pirovano
Hi, is there someone who can give me some tips to rotate a text-box with pdf-lib functions? I've tried with pdf_rotate(...), but i've been not able to write a thing in other ways than horizontal. Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

Re: [PHP] user auth script update.

2002-02-16 Thread Matt
> I am now getting the parse error on line 64 > $sql_authorisation = "SELECT * FROM account_details WHERE > account_name='$login_username' AND > account_password=PASSWORD('$login_password'); You're missing the closing " on the last line above. -- PHP General Mailing List (http://www.php.net/)

[PHP] not really a php question but can't hurt to ask.

2002-02-16 Thread Matthew Darcy
I have apache compiled and working %100. I have www.mydomain.com when I visit thie domain apache loads index.html for my by default - wo my browser displays www.mydomain.com - but the page viewed is www.mydomain.com/index.html I updated index.html (did not touch any apache configuration) adde

Re: [PHP] modular programming

2002-02-16 Thread Kunal Jhunjhunwala
Hey, The entire concept of OOP was based on the data and not the processing :) But, no one has yet addressed the core of my question. How can I make any application plugable? I am trying to create a standard which will work with every other language. A simple example of what I am attempting to do

[PHP] user auth script update.

2002-02-16 Thread Matthew Darcy
Found 1 schoold box error AGAIN I ended line 4 with : not ; I am now getting the parse error on line 64 Can anyone review this script and tell me where I am going wrong. Thanks, Matt. SCRIPT START-- BathJobs.com User Log

[PHP] Problem in a user auth script. Advice please.

2002-02-16 Thread Matthew Darcy
Hi, After the help given on my last script I got a bit more advanced. I am trying to write a user auth script and start sessions. I wrote this script and ran it and I am getting an error on line 4. Once again I cannot see any problems. I would appriciate you experienced guys casting your eyes ove

Re: [PHP] modular programming

2002-02-16 Thread DL Neil
Dear Steven and Kunal, Agreed with what you had to say. > In my experience, 'modular coding' is entirely a process of evolution. > It's impossible to sit down and design software on paper. Every piece of > code I write is under constant evaluation. Each time a weakness is > exposed, I rethink my

Re: [PHP] Is there an MSSQL limit function?

2002-02-16 Thread Michael Sims
At 05:54 PM 2/16/2002 +0800, Jason Wong wrote: >On Saturday 16 February 2002 17:48, Dean Householder wrote: > > Is anyone familiar with how exactly to use the TOP command in MSSQL? Is it > > in it's own SQL query or built into the select query? I'm looking at the > > help and it doesn't seem ver

Re: [PHP] Is there an MSSQL limit function?

2002-02-16 Thread Dean Householder
I figured it out! For benefit of all I'm posting the answer: select top 3 * from table This query will return the top three rows of the table but now I want to them to be random. Once again, in MySQL you could just say "order by rand()" but that doesn't work in MSSQL. Does anyone know how to

Re: [PHP] Is there an MSSQL limit function?

2002-02-16 Thread Jason Wong
On Saturday 16 February 2002 17:48, Dean Householder wrote: > Is anyone familiar with how exactly to use the TOP command in MSSQL? Is it > in it's own SQL query or built into the select query? I'm looking at the > help and it doesn't seem very helpful... It's been a while since I last used MS d

Re: [PHP] Is there an MSSQL limit function?

2002-02-16 Thread Dean Householder
Is anyone familiar with how exactly to use the TOP command in MSSQL? Is it in it's own SQL query or built into the select query? I'm looking at the help and it doesn't seem very helpful... Dean - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: S

Re: [PHP] vpopmail Functions

2002-02-16 Thread Jason Wong
On Saturday 16 February 2002 16:47, Pete Bekisz wrote: > Hello, > > I have read on php.net that the vpopmail functions are available in > 4.0.5 and later. However, I have not been able to successfully use then on > 4.0.6 or 4.1.0. Is this something that needs to be enabled, or am I doing > s

Re: [PHP] Is there an MSSQL limit function?

2002-02-16 Thread Jason Wong
On Saturday 16 February 2002 17:14, Dean Householder wrote: > I want to run a query like: > > select * from table order by rand() limit 3 > > in MySQL it would work but I need to run it in MSSQL. I've been searching > for a limit function in MSSQL and I can't find a way to do it. I'm > experienc

[PHP] Is there an MSSQL limit function?

2002-02-16 Thread Dean Householder
I want to run a query like: select * from table order by rand() limit 3 in MySQL it would work but I need to run it in MSSQL. I've been searching for a limit function in MSSQL and I can't find a way to do it. I'm experienced with MySQL but know nothing about MSSQL. If someone could point me

[PHP] vpopmail Functions

2002-02-16 Thread Pete Bekisz
Hello, I have read on php.net that the vpopmail functions are available in 4.0.5 and later. However, I have not been able to successfully use then on 4.0.6 or 4.1.0. Is this something that needs to be enabled, or am I doing something incorrectly? Pete~