Re: [PHP] db paging with MS Sql

2001-02-04 Thread Manuel Lemos
Hello Joe, On 04-Feb-01 21:18:55, you wrote: >AFAIK this is more of a SQL thing than a DB specific thing. Just look up the >LIMIT equivilent in MS SQL (should just be LIMIT) and use that for paging, >once you get the hang of it it's quite easy. >You can look through my paging class at www.miest

Re: [PHP] db paging with MS Sql

2001-02-04 Thread Joe Stump
I was just meaning plain SQL - can't microsoft say ANSI? All I ask for is a simple little standard and for people to follow it - I'm not asking for every feature of the standard - just a following. --Joe On Sun, Feb 04, 2001 at 10:43:37PM -0300, Manuel Lemos wrote: > Hello Joe, > > On 04-Feb-01

Re: [PHP] Help with XSLT!

2001-02-04 Thread Theo Brinkman
Ok, well from the looks of it I've got it working, thanks to whoever pointed out the conf.php.net archive of the slideshow. The sample files from that slide work fine, but I can't get any of the other samples I've snagged to work. Maybe they're what's broken, but I don't see how. Now that th

Re: [PHP] db paging with MS Sql

2001-02-04 Thread Andrew Hill
Joe, Does SQL92 count? Best regards, Andrew --- Andrew Hill - OpenLink Software Director Technology Evangelism eBusiness Infrastructure Technology http://www.openlinksw.com On 2/4/01 8:09 PM, "Joe Stump" <[EMAIL PROTECTED]> wrote: > I was just meaning plain

Re: [PHP] db paging with MS Sql

2001-02-04 Thread Manuel Lemos
Hello Joe, On 04-Feb-01 22:01:37, you wrote: >I was just meaning plain SQL - can't microsoft say ANSI? All I ask for is a I don't think there is a standard way of achieving what the LIMIT clause can that works for all or at least most databases. >simple little standard and for people to follo

Re: [PHP] Email Selected Data

2001-02-04 Thread David Robley
On Mon, 5 Feb 2001 07:01, [EMAIL PROTECTED] wrote: > Hi, > > I am selecting data using the below and trying to insert it into a mail, > it does everything except send the data selected, anyone have an idea? > > $SQLStatement = "SELECT * FROM Orders Where Status='N' Order by OrderID"; > $SQLConn =

[PHP] Apache and PHP

2001-02-04 Thread Patrick L. Olson
I must be missing something while I had no problem getting perl and SSI working getting PHP to work is eluding me for some reason. I have added this to httpd.conf can someone enlighten me on what may be missing # And for PHP 4.x, use: # AddType application/x-httpd-php .php AddType app

Re: [PHP] Apache and PHP

2001-02-04 Thread Michael Kimsal
Do you normally have #!perl.exe as your shebang? Normally I'd see something like #!/usr/local/bin/perl or #!/usr/local/bin/php not sure of pathing issues on Windows for that. #!c:\program files\php4\php.exe ? "Patrick L. Olson" wrote: > I must be missing something while I had no problem gett

Re: [PHP] Apache and PHP

2001-02-04 Thread Jason Brooke
I'm not even sure that the shell escape is even used in win32 perl - I think it's done via a regular file association. I clearly remember setting it to #!/some/fake/rubbish one time as a test and it still worked fine I imagine the same would go for php.exe jason > Do you normally have #!perl.

[PHP] Re: [PHP-DB] .htpasswd?

2001-02-04 Thread Victor Foitzik
James Smith wrote: >Is there a way that when a user signs up for a >user/pass on a site, to automatically update the >.htpasswd on the site? Right now I'm running a Win2k >Pro, with Apache installed and MySQL/PHP. > >Thanks, > >James The quite simpliest method is to put appropriate directives

Re: [PHP] Email Selected Data

2001-02-04 Thread Andrew Hill
Ade, You can try something like this: while (list($column_name, $row_value) = each($row)) { echo "$column_name,$row_value " ; } // loop thru each row and get an array of values for each row, listing them // as name:value pairs the above would be for mysql_fetch_array($array, MYSQL_ASSOC) for o

Re: [PHP] Apache and PHP

2001-02-04 Thread Sean Cazzell
> I'm not even sure that the shell escape is even used in win32 perl - I think > it's done via a regular file association. So maybe he just needs to associate .php files with php.exe? -Sean (who hasn't ever used php on windows) -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] I should apologize

2001-02-04 Thread Sean Cazzell
> I don't mean to bash php in any way (as in the Ruby plugs in my last > post). I use it because it has so many advantages over other more > system-oriented not web-oriented languages for this type of work. It's > fantastic. I don't think anyone will take offense to your mentioning the adva

php-general Digest 5 Feb 2001 03:36:42 -0000 Issue 493

2001-02-04 Thread php-general-digest-help
php-general Digest 5 Feb 2001 03:36:42 - Issue 493 Topics (messages 38109 through 38183): Newbie:Cannot send session cookie... 38109 by: james 38121 by: Teodor Cimpoesu Re: HTTP compression 38110 by: Sean Cazzell 38116 by: Alain Fontaine 38120 by: Te

Re: [PHP] Learning MySQL

2001-02-04 Thread Sean Cazzell
You need to go get yourself a copy of the MySQL book from New Riders. Stay away from the O'Reilly one, it sucks. Regards, Sean -- 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 a

Re: [PHP] upload

2001-02-04 Thread Sean Cazzell
Hmm...well if you mean "can I upload a file from the web browser to the web server", the answer is yes. See the php manual on zend.com. http://www.zend.com/manual/ Regards, Sean -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Re: [PHP] Learning MySQL

2001-02-04 Thread Michael Kimsal
I'd second Sean's endorsement of the New Riders book. I generally am a fan of Oreilly books, but I can't figure out *what* was going on there with the Mysql book. It's actually mysql and msql covered in one book, with less docs than you can get online, from what I saw, and seemingly very little

[PHP] Re:Apache and PHP

2001-02-04 Thread John Hinsley
"Patrick L. Olson" <[EMAIL PROTECTED]> wrote: > if I call it like http://127.0.0.1/cgi-bin/one.php > with the shebang line #!php.exe > I get the following error > No input file specified > if I call it without the shebang I get > the Internal Server Error > Error logs indicate the the #! is neede

Re: [PHP] Pricing for PHP programming???

2001-02-04 Thread Randy Katz
sounds like you cannot afford NOT to have a second wife! DANG! Some folk have all the luck :! On Sat, Feb 03, 2001 at 09:25:35AM +0530, [EMAIL PROTECTED] wrote: > tOn Fri, 2 Feb 2001, johnny p. wrote: > > > Hah! My wife has a formal education in graphics design. My web sites > > would look lik

[PHP] RE: [PHP-DB] & [PHP] .htpasswd?

2001-02-04 Thread Thor Arne Madland
Hi, you might want to take a look at this one: http://www.thewebmasters.net/php/Htpasswd.phtml Works in both php3 and php4. Give you functions for adding/deleting/listing/renaming users + much more, in standard .htpaccess password files. I use it myself on several sites, it works great. - t.a

[PHP] attempt to use an empty IV with mcrypt

2001-02-04 Thread twm139
I get the following warning when I turn on logging... Warning: attempt to use an empty IV, which is NOT recommend in /home/local/apache/htdocs/encrypt.php on line 21 Here is the code $key = "testing"; $input = "Secret data"; $encrypted_data = mcrypt_ecb (MCRYPT_DES, $key, $input, MCRYPT_ENC

Re: [PHP] Learning MySQL

2001-02-04 Thread Jeff Lacy
Use a mysql mailing list and search around on the net. Don't be afraid to try things. There are lots of tutorials out there, but I would ask the mailing list because they are filled with people who will help you, but you should try to help other people in the mailing list, too. Just and idea :-

[PHP] mail

2001-02-04 Thread Deependra B. Tandukar
Greetings! I made one script with mail <"email address">. It works in my home computer (Linux and php 4) and not working in my web server (Linux and php 4). What can be the reason? Looking forward to hearing from you. DT -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mai

[PHP] please help (network admin via web)

2001-02-04 Thread niraj shah
Dear sir, I am a 20 year old student doing a research project and I would like to have network administration via web. That is I want to change IP address os the system via web, want to do dns settings and also would like to do proxy setting via web using PHP scripts. I am working on RedHat 6.

[PHP] manage number of rows displayed

2001-02-04 Thread [EMAIL PROTECTED]
Hi, After I run a query, how do I set the number of rows returned to display as 3 or 4 columns in a page instead of one column as usual? Jack [EMAIL PROTECTED] "There is nothing more rewarding than reaching the goal you set for yourself"

Re: [PHP] manage number of rows displayed

2001-02-04 Thread [EMAIL PROTECTED]
No sure if i get it, very inexperience user here I am. Baiscally if the number of records returns is 20 records, in stead of display all 20 recodrs in one column in a page, I would like to display that as 4 columns and each columns has 5 recodrs displayed, how can I use limit statement to do that?

<    1   2