Re: [PHP] Strong typing?

2001-07-13 Thread Adam
> why can't you just use plan simple HTML to do it??? rather than make a larger hassle for your self ie > > howdy ??? > > & yes that is valid HTML :) > > Peter why do i get the idea that's not what they meant... -Adam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

[PHP] field values in multipart/form

2001-07-13 Thread Erick Calder
Hi, I'm running PHP 4.0.4pl1 on a RedHat 7.0 box. I have the following problem: when using ENCTYPE="multipart/form" for a , PHP receives the values of fields with a prepended \n e.g. with: if I enter "Hello" into the field and submit the form I get: / Hello/ what's the deal?? I've rea

RE: [PHP] Alternative to phpMyAdmin

2001-07-13 Thread Steve Brett
if you install mysql on a windoze machine then you can administer ANY mysql database going through the socket. i do it all the time. Steve > -Original Message- > From: Alexander Skwar [mailto:[EMAIL PROTECTED]] > Sent: 12 July 2001 19:15 > To: Matthew Loff > Cc: 'Steve Brett'; 'Steph';

[PHP] php/webmail question

2001-07-13 Thread Adrian D'Costa
Hi, I am writing a webmail in php using pop3 as the ones I downloaded do not do what I want. Assuming I am able to connect and get the list of messages and sizes. Now I have a couple of attachments on some mails. When I read the message it just displays the base64 encoded message (trying to bu

[PHP] postgres and php

2001-07-13 Thread Derek
anyone know how I force a case insensitive search through a postgres database. I've got a search looking for 'something like '%something%' but this won't find 'SOMETHING'...if you know what I mean!? Thanks in advance for any help Derek -- PHP General Mailing List (http://www.php.net/) To un

RE: [PHP] Alternative to phpMyAdmin

2001-07-13 Thread Alexander Skwar
> if you install mysql on a windoze machine then you can administer ANY > mysql >database going through the socket. Okay, for a development this may be fine, but I still fail to see how a tool that runs on your own computer (no matter if it's a Windows tool, or a Linux tool) can help you admin

RE: [PHP] Alternative to phpMyAdmin

2001-07-13 Thread Steve Brett
i'm sorry but i seem to be completely missing your point. mysql accepts incoming requests on a specific socket (can't remember which one, but postgresql is 5432) and therefore where you are is not an issue. i administer databases via a modem connection that sit on servers somewhere in the states

[PHP] Read and write

2001-07-13 Thread Francois Boucher
I need to read in a binary file. (the file is write in c++ and contain integer, interger,char(10),char(10) ) So I need to read this and write it in normal caracters. So I try: $fp = fopen("data_bin.dat",rb); $data[] = fread($fp,4); $data[] = fread($fp,4); $data[] = fread($fp,10); $data[] =

[PHP] mysql error

2001-07-13 Thread andreas \(@work\)
hi all, my script was now working for month but now suddenly get this error: The table 'SQL90cb_0' is full SELECT DISTINCT t1.id,t1.textd FROM tblEntry AS t1,tblTopic AS t2 ORDER BY t2.named,t1.textd anyone know whats the problem ? thank you andreas

RE: [PHP] Alternative to phpMyAdmin

2001-07-13 Thread Alexander Skwar
> i'm sorry but i seem to be completely missing your point. > > mysql accepts incoming requests on a specific socket (can't remember You mean "port", don't you? > one, but postgresql is 5432) and therefore where you are is not an > issue. Well, the issue is, that normally, connects to mysql a

RE: [PHP] Alternative to phpMyAdmin

2001-07-13 Thread Alexander Skwar
> i'm sorry but i seem to be completely missing your point. Yeah, seems like so :) > > mysql accepts incoming requests on a specific socket (can't remember You mean "port", don't you? > one, but postgresql is 5432) and therefore where you are is not an > issue. Well, the issue is, that norm

[PHP] forms and IP numbers

2001-07-13 Thread Marc van Duivenvoorde
A friend of mine found a bug in my messageboard code, this way he can post with other (than in my database) nicknames from a local form. Now I want to have the formhandler do a check from where the form is sent. If it is not sent from my own webserver it has to display an error message. Thanks

Re: [PHP] Read and write

2001-07-13 Thread Chris Lambert - WhiteCrown Networks
Put quotes around "rb", but I don't think you need the b. Also, are the integers always char(4)? /* Chris Lambert, CTO - [EMAIL PROTECTED] WhiteCrown Networks - More Than White Hats Web Application Security - www.whitecrown.net */ - Original Message - From: Francois Boucher <[EMAIL PROT

Re: [PHP] forms and IP numbers

2001-07-13 Thread Chris Lambert - WhiteCrown Networks
This would be just as bad, as he could open up a socket faking a referer. What you really need are data integrity checks inside the script which posts to the message board on your server. /* Chris Lambert, CTO - [EMAIL PROTECTED] WhiteCrown Networks - More Than White Hats Web Application Security

Re: [PHP] Alternative to phpMyAdmin

2001-07-13 Thread Steve Brett
> -Original Message- > From: Alexander Skwar [mailto:[EMAIL PROTECTED]] > Sent: 13 July 2001 10:57 > To: Steve Brett; Alexander Skwar; Steve Brett; Matthew Loff; Steve > Brett; 'Steph'; [EMAIL PROTECTED] > Subject: RE: [PHP] Alternative to phpMyAdmin > > > > i'm sorry but i seem to

[PHP] php/apache question(probably stupid)

2001-07-13 Thread Conor McTernan
hey all, I've been using apache, php and mysql on win32 for a while now, and I have recently decided to move over to linux *yay*, so i got myself a copy of Suse 7.1 personal edition. i now have linux up and running, but for the life of me I cannot get php and apache to work. i downloaded th

Re: [PHP] Alternative to phpMyAdmin

2001-07-13 Thread Steve Brett
> this should be set up by your isp though so as part of a mysql package > you'd get this type of access to your db's Well, my point was, that it's normally not setup as most users don't have static ip's and allowing connects from any ip (even allowing net connects at all) is/can/might be a secu

[PHP] How to force a file download

2001-07-13 Thread Santiago Romero
Hi! I have some code that outputs (from a php3 cgi) email attachments under horde/IMP webmail. I would like ALL attachment (including all understood by web browser mime types) to be SAVED to disk, and not opened. I tryed to send them as application/octet-stream but Explorer does open the

[PHP] O'Reilly Open Source Conference

2001-07-13 Thread Chris Lambert - WhiteCrown Networks
As the conference date draws nearer, I'd like to try and get familiar with some of the other list members who'll be attending. What sessions or tutorials are you looking forward to? What's your background with PHP, MySQL, or other open source technologies? What company, if any, will you be repres

AW: [PHP] Alternative to phpMyAdmin

2001-07-13 Thread Sebastian Stadtlich
> > one, but postgresql is 5432) and therefore where you are is not an > > issue. > > Well, the issue is, that normally, connects to mysql are NOT > allowed from any arbitrary host. Normally, in safe setups, > network connections to mysql are not possible. And if they > are, you need to spe

[PHP] session problem using headers

2001-07-13 Thread David Allen
Hi, I am having problems with sessions. With cookies turned on it works fine. Turn off cookies it fails. I have tried both header("Location: input.php?=SID"); header("Location: input.php?PHPSESSID=".PHPSESSID); to pass the session id to the programme input.php but neither works. The first lin

Re: [PHP] How to force a file download

2001-07-13 Thread Philip Murray
Try sticking in a Header("Content-Disposition: attachment; filename=\"$filename\""); It should work with IE5.5, but it's hard to tell with Internet Explorer as it changes from version to version. - -- - - - Philip Murray - Senior Systems Engineer [EMAIL PROT

[PHP] How to convert a string into a mathematical expression?

2001-07-13 Thread Christodoulou Demetris
Hi list. I have string variables that contain mathematical expressions. These strings are submitted through forms. For example if a user inserts the following-> 1+cos(0.3)*x into a text field with name expression in an HTML form then what i get on the server is the string variable $expression w

[PHP] How to convert a string into a mathematical expression?

2001-07-13 Thread Christodoulou Demetris
Hi list. I have string variables that contain mathematical expressions. These strings are submitted through forms. For example if a user inserts the following-> 1+cos(0.3)*x into a text field with name expression in an HTML form then what i get on the server is the string variable $expression wh

[PHP] $B$4M;;q$N$40FFb(B

2001-07-13 Thread $B%"%]%m4k2h(B
$B!&!&!&(B $B:#F|$N;q6b7+$j$G$*:$$j$NJ}$O(B $B!&!&!&(B http://www.justinmail.net/ma02/pa01.htm $B!&!&!&(B $B!&!&!&(B $B!&!&!&(B $B!&!&!&(B $B!&!&!&(B $B!&!&!&(B $B!&!&!&(B $B!&!&!&!&(B $B#1#0#0K|1_$^$G$4M;;qCW$7$^$9!#(B <$B.@Z $BF|K\A49q!&:#F|Cf$K4V$K9g$$$^$9$N$G

Re: [PHP] How to convert a string into a mathematical expression?

2001-07-13 Thread Chris Lambert - WhiteCrown Networks
This would depend on the format. For example, it can't calculate "x", as its not defined in PHP. However, you sould be able to do something like: eval("\$math = $expression;"); ...and it should work. The main problem with this is that unless you can 100% trust the user who's inputing data, its a

[PHP] Thanks [ form input checking problem ]

2001-07-13 Thread Aniceto Lopez
Thanks everyone helped me (Aaron Bennett specialy) with the "input checking problem". Maybe Rip's idea of mixing javascript and php is a good one but I'm newbie and I'm not sure which languaje takes the control first or how the interact. Anyway I'll work in that direction later Hasta la proxima

Re: [PHP] Read and write

2001-07-13 Thread news.php.net
But I read in binary! -- --=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-- François Boucher [EMAIL PROTECTED] ___ _ ( hello... ) Q _/\ __/ ¸L --=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-- >Put quotes around "rb", but I don't think you need the b. > >Also,

Re: [PHP] decrypting passwords

2001-07-13 Thread py
You store it encrypted and you compare the two encrypted password for validation. You will send it to the user before encrypting it, how else ? And if user forget it, you reset a new one. py - Original Message - From: Steph <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 1

[PHP] MySql number/string comparing ideas...

2001-07-13 Thread elias
Hi! How is it possible to do a MySql query for something like: SELECT value from table WHERE value < '500x100' should return all values that part1 must be less than 500 and part2 less than 100? like 499x99 and reject something like: 500x101 please give me suggestions! -- PHP General Mail

RE: [PHP] Algorithm for repeating calendar events

2001-07-13 Thread Michael Hall
This libmcal sounds like something I've been needing for another project. Unfortunately, I'm on a Windows platform. Is there any way to get this functionality on Win32? I downloaded the tar.gz file with teh libmcal library in it, but I have no idea what I would do next. > -Original Messa

[PHP] Re: mysql error

2001-07-13 Thread elias
Table is full? did you try searching MySql.com for "Table is full" error message? "Andreas )" <[EMAIL PROTECTED]> wrote in message 000c01c10b81$c765aa60$8d0a@devel01">news:000c01c10b81$c765aa60$8d0a@devel01... hi all, my script was now working for month but now suddenly get this error:

[PHP] Multiple Host's with setcookie

2001-07-13 Thread david jarvis
Hi, I was wondering if there was a way to set a cookie so that it would be accessible over multiple hosts, for instance, mail.webpage.com, forums.webpage.com, ect. I tried setting the domain to .webpage.com, but when I read the cookie it says the domain is w ww.webpage.com, thus not being acce

Re: [PHP] Alternative to phpMyAdmin

2001-07-13 Thread Egan
On Fri, 13 Jul 2001 11:15:52 +0100, "Steve Brett" <[EMAIL PROTECTED]> wrote: >one of the guys i work for has an account with a service provider that gives >mysql databases as part of his package. he has an account and password that >is supplied when using mysql-front to connect to his database.

Re: [PHP] Multiple Host's with setcookie

2001-07-13 Thread jeremy brand
That is correct. .domain.com is the correct way to do it. (make sure you have the leading dot.) You are having some other problem. Jeremy On Fri, 13 Jul 2001, the following spilled from the mind of david jarvis: > Date: Fri, 13 Jul 2001 09:36:14 -0400 > From: david jarvis <[EMAIL PROTECTED]

Re: [PHP] Multiple Host's with setcookie

2001-07-13 Thread jeremy brand
for example this code: setcookie('cookie_name', 'cookie_val', time()+3600, '/', '.domain.com'); results in this HTTP header: Set-Cookie: cookie_name=cookie_val; expires=Fri, 13-Jul-01 15:14:25 GMT; path=/; domain=.domain.com Jeremy Brand Jeremy Brand :: Sr. Software Engineer :: +393485323988 :

[PHP] count number of form fields?

2001-07-13 Thread Jaxon
Hi, Can someone give me an example of how to count the number of form fields entered? E.g. let's say I have three dropdown lists, the first is mandatory, and the second two are optional. I want to be able to tell my target php script how many of the dropdowns are populated. thanks in advance! ja

[PHP] Re: php/apache question(probably stupid)

2001-07-13 Thread Peter Clarke
"Conor McTernan" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > hey all, > > I've been using apache, php and mysql on win32 for a while now, and I have > recently decided to move over to linux *yay*, so i got myself a copy of > Suse 7.1 personal edition. > >

[PHP] Re: postgres and php

2001-07-13 Thread Peter Clarke
"Derek" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > anyone know how I force a case insensitive search through a postgres > database. > > I've got a search looking for 'something like '%something%' but this won't > find 'SOMETHING'...if you know what I mean!

Re: [PHP] Re: php/apache question(probably stupid)

2001-07-13 Thread Conor McTernan
Peter I think I have tohse lines i nmy httpd.conf. although they might read: AddType application/x-httpd-php4 .php AddType application/x-httpd-php-source .phps or something like that, i'll make sure to check it when I get back from work. I was going to install it as a DSO, but

Re: [PHP] count number of form fields?

2001-07-13 Thread py
A multiple dropdown lists will produce an array is you put [] when naming the list. You than need to count how many elements you have in the array. py p.s. it could be done in javascript as well, but it's so easy in php :) - Original Message - From: Jaxon <[EMAIL PROTECTED]> To: <[EMAIL

[PHP] Problem with is_file function on WinNT and apache HELP!

2001-07-13 Thread Antony Cleave
I am trying to dynamically generate an image gallery from a directory iof images. To do this I am using the following code while (false!==($file = readdir($handle))) { if ((is_file($file))) { echo .. Link info here }

Re: [PHP] Problem with is_file function on WinNT and apache HELP!

2001-07-13 Thread ReDucTor
http://www.evilwalrus.com/download_agree.php?codeEx=304 is a good example of using directory handles, works in windows... - Original Message - From: Antony Cleave <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 14, 2001 1:17 AM Subject: [PHP] Problem with is_file function

RE: [PHP] Upcoming wrox php/flash book?

2001-07-13 Thread Andrew Chase
Also, PHP's .SWF generating capabilities aside, PHP could also be used to generate included text on the fly - I forget the exact command, but I know you can define the contents of a variable from an external file in Flash. This would lend itself to updating a newsfeed or "What's New" blurb within

[PHP] Pb with MP3 streaming with Flash Object swfmovie()

2001-07-13 Thread octopussy
Hi all, I'm trying to make some MP3 streaming with my Apache Web Server and PHP since I discovered the instruction streammp3($filename) in the swfmovie object. But can't make it work! Anybody else tryied to use this feature or did I miss something? Octopussy! setRate(12.0); $m->streamMp3(fopen($

[PHP] Query in Enum Field in MYSQL

2001-07-13 Thread Diego Riaño
Hi everybody I have a problem with an ENUM fiel in a MySQL DB: I want to order alphabetically the options in the ENUM fiel in a query. How can I do That? Thanks in advances Diego Ria;o -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

Re: [PHP] Upcoming wrox php/flash book?

2001-07-13 Thread infoz
Yep, the Flash 4/5 LoadVariables function will let you call a PHP script that sends the data back as URL encoded variables. Works great! - Tim http://www.phptemplates.org - Original Message - From: "Andrew Chase" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 13, 2001

[PHP] Regex Help

2001-07-13 Thread Sheridan Saint-Michel
I am trying to write a script that needs a list of all the images in an HTML file. I am trying this code if (eregi ("(]",$buffer, $regs )) { echo "$regs[2]"; } The problem, however is that when it looks at instead of getting images/Logo.gif like I want I am getting images

RE: [PHP] Thumbnail Generation from DB Stored Images.

2001-07-13 Thread scott [gts]
Here is my code to turn a directory full of *files* into thumbnail images. im sure you can adapt it to your own needs... the code is a bit long-winded, but it was my first attempt at writing thumbnail code, so forgive me ;) // example call to the function make_thumbs('./pictures/cavern/', './

[PHP] GD help

2001-07-13 Thread Angerer, Chad
I am having some problems generating images with GD. I am using GD 1.6.2 and trying to create a .png image. I know it works. I have created just a generic graphic without trying to put variables into it and am hoping someone can help me on this one. Here is some code snippet // here is my gd.

RE: [PHP] Strong typing?

2001-07-13 Thread scott [gts]
and as far as i know, perl's 'strict mode' has absolutely nothing to do with typing of variables... use strict; will force you to define all variables with "my $var;" or "local $var;" before you assign values to them or try and use them... but it doesnt do anything about enforcing typing... in

RE: [PHP] Algorithm for repeating calendar events

2001-07-13 Thread Matthew Loff
That's a good question, Michael-- I don't really know if libmcal can be used on Win32... Is it made to be compiled under VC++? If it can't, you should be able to achieve similar results by storing events in a DB, and using the Date_Calc class: http://www.phpinsider.com/php/code/Date_Calc/ Good

RE: [PHP] Alternative to phpMyAdmin

2001-07-13 Thread Matthew Loff
Unfortunately, it doesn't -- you bring up a good point. It does support the compressed client/server protocol, which would make it harder to intercept-- but encryption is not an option yet on the client. I don't suppose there's any way on Win32 to use an SSH tunnel, is there? -Original M

RE: [PHP] The need for strong typing...

2001-07-13 Thread scott [gts]
you could easily write yourself a typing function to take care of all that (as someone suggested previously) using the same familiar syntax as you want to use in the function definition. function pay($fromaccount, $toaccount, $amount, $memo) { $good = checkInput($fromaccount, "int", $toaccount

RE: [PHP] Enabling short tags in PHP 4.0.6

2001-07-13 Thread scott [gts]
what do the tags look like? or <% %> the first is a short tag the second is an asp style tag maybe you're looking at the wrong option in the 'ini' file. > -Original Message- > From: Ralph Guzman [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 12, 2001 11:17 PM > To: Coulee Web; [EM

RE: [PHP] Re: How to maintain a variable between PHP pages (sessions?).

2001-07-13 Thread scott [gts]
sessions or cookies is the way you probably want to go. you could pass the variable around to each and every form, but that is a pain in the ass, and extremely prone to errors. on the first page, where you check the user's ability to use attachments, you could simply set a cookie setcookie('co

[PHP] Export to Excel

2001-07-13 Thread Jorge Alvarez
One of my clients is requesting me to export some data from PHP-generated pages to MS Excel files. I have no clue on how to do such export with PHP. I'm using PHP/Apache/Linux Mandrake. What options do I have? Your help is very appreciated. Regards, Jorge Alvarez -- Let your screen saver contr

[PHP] Post processing Perl output through PHP

2001-07-13 Thread tau
Hi all, I am having a knightmare trying to get some PHP into the output of a Perl script. PHP. I've heard rumours of Apache 2.0 allowing multiple filters, which would be perfect when it's out, but not yet obviously. I've tried calling the CGI PHP from inside Perl in a few ways: == #!/usr/bi

Re: [PHP] Enabling short tags in PHP 4.0.6

2001-07-13 Thread Coulee Web
Thank you - that did the trick! The php.ini file WAS in the wrong folder. Too bad the ./configure command doesn't know where to put it! Ralph Guzman wrote: > > Are you sure you have the php.ini file in the right directory? When looking > at phpinfo() make sure php.ini is located where the "Confi

RE: [PHP] Export to Excel

2001-07-13 Thread Kurt Lieber
Easiest way is to export the data into comma-delimited format. (.csv files) Excel can import those no problem. So, you would write a php function that created a simple text file that looked like: Fieldname1,fieldname2,fieldname3 Data1,data2,data3 Etc. And excel can open that kind of file right

Re: [PHP] Export to Excel

2001-07-13 Thread BELL, JASON (PB)
You could try writing the data out to a comma seperated file, and then offer the file for download. Excel understands these files, and they are plaintext, therefore easy to create. Jason Bell "Jorge Alvarez" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > One of my clients is

RE: [PHP] Export to Excel

2001-07-13 Thread Neil Kimber
Dump to file as comma separated and then load into Excel. Excel reads comma separated files. In the file open dialog you can select file type to be .txt (csv). If you want to be really sick then you can set up an ODBC connection to a comma separated file and then use MSQuery inside Excel. Anothe

RE: [PHP] Alternative to phpMyAdmin

2001-07-13 Thread scott [gts]
like you said... as long as the database provider accepts connections from outside, you can administer it from anywhere. if the provider doesn't accept incoming connections, no amount of tools and software will work for you. > -Original Message- > From: Alexander Skwar [mailto:[EMAIL PRO

RE: [PHP] forms and IP numbers

2001-07-13 Thread scott [gts]
no offense, but that's a bad kludge for the problem. however, if you really want to do that, you could try checking $SERVER_NAME and $HTTP_REFERER and other enviornment variables like that... what would be easier (and better practise) to do is to verify that the incoming username is valid...

RE: [PHP] forms and IP numbers

2001-07-13 Thread Randy Johnson
I would like to pull the date and time of the creation of a file via a php script and compare it to the current time. How do I do this? TIA Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] Re: How to convert a string into a mathematical expression?

2001-07-13 Thread Philip Hallstrom
Take a look at the eval() function. On Fri, 13 Jul 2001, Christodoulou Demetris wrote: > Hi list. > I have string variables that contain mathematical expressions. These > strings are submitted through forms. > For example if a user inserts the following-> 1+cos(0.3)*x into a text field > with

[PHP] Re: Export to Excel

2001-07-13 Thread Philip Hallstrom
Instead of the comma-separated suggestions mentioned in other posts, I'd recommend using a tab-separated file so that you don't have any confusion for entries such as addresses that might look like "Seattle, WA". The other reason is that it's *really* hard to enter a TAB in an HTML form so it's j

Re: [PHP] Re: Export to Excel

2001-07-13 Thread Marius Andreiana
How do you deal with numeric fields which start with 0 ? Excel takes the 0s out. Thanks, Marius Andreiana -- You don't have to go to jail for helping your neighbour http://www.gnu.org/philosophy/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] F

RE: [PHP] forms and IP numbers

2001-07-13 Thread scott [gts]
stat() > -Original Message- > From: Randy Johnson [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 13, 2001 4:09 PM > To: scott [gts]; php > Subject: RE: [PHP] forms and IP numbers > > > I would like to pull the date and time of the creation of a file via a php > script and compare it to

RE: [PHP] Re: How to convert a string into a mathematical expression?

2001-07-13 Thread scott [gts]
be *extremely* careful. eval() is like spawning another PHP interpreter... it'll execute *any* code that you give it. people could type in unlink(); and such commands and really trash your webserver. > -Original Message- > From: Philip Hallstrom [mailto:[EMAIL PROTECTED]] > Subject: [PH

RE: [PHP] session problem using headers

2001-07-13 Thread scott [gts]
you're passing the PHPSESSID incorrectly, it seems you must do something like this: or header("Location: nextpage.php?$SID"); what you're doing now will go to page "input.php?=SID" instead of "input.php?938sa9fa98f7daf987a9s" (or similar) > -Original Message- > From: David Allen [

[PHP] which php shopping cart is this?

2001-07-13 Thread pyz
Greetings! Which php-based shopping cart is being used at this site? http://shop.t-shirtoutlet.com/catalog/ Thanks! Max Pyziur BRAMA - Gateway Ukraine [EMAIL PROTECTED] http://www.brama.com/ -- PHP General Mailing List (h

[PHP] ODBC to MS-Access View?

2001-07-13 Thread Hankley, Chip
I'm trying to connect up w/ an Access database one of our db administrators set up. The Access file has an "adp" extension...the data is housed in a view, (essentially a read-only dump of some MS SQL Server tables). I've set up the file as a System DSN in ODBC (WinNT) When I issue the following

RE: [PHP] The need for strong typing...

2001-07-13 Thread Merio, Quinn
I was going to suggest this too. I like doing any sort of transactions or complex business logic using components whether they be servlets, com objects, etc. I would take advantage of the ability to integrate different technologies. Also, it helps using a compiled language for the bus logic, bec

[PHP] mysql ERROR: Update Query Failed problem with 4.0.6

2001-07-13 Thread David Wartell
Im using PHP 4.0.6 install on Solaris x86 with mysql 3.23.39. The following code causes mysql_query to return false, but the database update works! $query .= "WHERE User_Name = '$User_Name[$i]'" ; $sth = mysql_query($query) or die ("ERROR: Update Query Failed$query") ; if ($verbose) {

Re: [PHP] which php shopping cart is this?

2001-07-13 Thread py
You should ask them! My guess is phpshop?? py - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 13, 2001 6:46 PM Subject: [PHP] which php shopping cart is this? > Greetings! > > Which php-based shopping cart is being used at this site? > http:/

RE: [PHP] which php shopping cart is this?

2001-07-13 Thread Jerry Lake
I think that is opencart, or openshop something like that. I ran across it at www.hotscripts.com a while back. Jerry Lake Interface Engineering Technician Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -Original Message- From: [EMAIL PROTECTE

Re: [PHP] which php shopping cart is this?

2001-07-13 Thread James W Greene
Actually is is TEP at www.theexchangeproject.org JG - Original Message - From: "Jerry Lake" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 13, 2001 2:02 PM Subject: RE: [PHP] which php shopping cart is this? > I think that is opencart, or openshop something > like that.

RE: [PHP] which php shopping cart is this?

2001-07-13 Thread Jerry Lake
Never mind that last message, It is The Exchange Project http://theexchangeproject.org/catalog/default.php? Jerry Lake Interface Engineering Technician Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -Original Message- From: [EMAIL PROTECTED]

[PHP] peculiar behaviour of large integers with "<" and ">"

2001-07-13 Thread scott [gts]
Has anyone come across this before? // compare 5 to the max value of an integer if (5 < -2147483647) { print "This is"; } // knock a digit off the max and compare again if (5 < -214748364) { print "weird"; } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL P

RE: [PHP] Export to Excel

2001-07-13 Thread Brady Hegberg
Here's something I found on the PHP Code Exchange: Generate Excel files from PHP by Christian Novak on 2000-11-25 11:47:24 (v for 4.0) is 1974 bytes. Small function library to generate Excel files/stream directly from PHP. http://px.sklar.com/code.html?code_id=488 I haven't tried it out...it do

RE: [PHP] peculiar behaviour of large integers with "<" and ">"

2001-07-13 Thread Johnson, Kirk
I get nothing unusual Kirk > -Original Message- > From: scott [gts] [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 13, 2001 12:08 PM > To: php > Subject: [PHP] peculiar behaviour of large integers with "<" and ">" > > > Has anyone come across this before? > > // compare 5 to th

RE: [PHP] Export to Excel

2001-07-13 Thread Boget, Chris
> Here's something I found on the PHP Code Exchange: > Generate Excel files from PHP by Christian Novak on > 2000-11-25 11:47:24 (v for 4.0) is 1974 bytes. > Small function library to generate Excel files/stream > directly from PHP. > http://px.sklar.com/code.html?code_id=488 > I haven't tried i

RE: [PHP] peculiar behaviour of large integers with "<" and ">"

2001-07-13 Thread scott [gts]
after reading thru the PHP site some more, i found a little note mentioning a problem with the way negative integers are handled in v4.0.6... what version are you using? what do you see when you run this code? if (5 < -2147483647) { print "This is printed."; } if (5 < -214748364) { print "This

[PHP] Session Variables and Redirecting

2001-07-13 Thread Johnny Nguyen
I've done this on other platforms ASP,Cold Fusion, but I need to know what's the best way to do it on PHP. 1. grab username and password from POST vars. 2. select count(*) from users where username = '$username' and password='$password'... something along these lines 3. if that user exists and pa

Re: [PHP] Export to Excel

2001-07-13 Thread Aaron Bennett
Interesting... I have excel2k, and it worked fine for me... The only thing i can think of is maybe some extra garbage you get when it generates the file... maybe headers? -- Aaron Bennett [EMAIL PROTECTED] - Original Message - From: "Boget, Chris" <[EMAIL PROTECTED]> To: "'Brady Hegberg'"

RE: [PHP] peculiar behaviour of large integers with "<" and ">"

2001-07-13 Thread Johnson, Kirk
I am running 4.0.6. Nothing prints to the screen using a cut and paste of the code below. > -Original Message- > From: scott [gts] [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 13, 2001 12:25 PM > To: php > Subject: RE: [PHP] peculiar behaviour of large integers with > "<" and ">" > >

RE: [PHP] Session Variables and Redirecting

2001-07-13 Thread Johnson, Kirk
You should be able to do exactly what you want, I do this myself. I am wondering if you are hitting a bug that is present in PHP in versions prior to 4.0.6, where $someflag and$HTTP_SESSION_VARS["someflag"] do not reference the same value. Try changing two lines in your code to read as below, inst

[PHP] Piping Mime String to Metamail Fails

2001-07-13 Thread Jeff Hill
I've tried everything I can to pipe a string with mime content to metamail, but it fails in every variation of: exec("echo $mime_string | /usr/bin/metamail -d -q -r -w -x -y ", $met_res) ; I can successfully write the mime string to a tmp file, and then: exec(" cat /tmp/mime_mail | /usr

RE: [PHP] peculiar behaviour of large integers with "<" and ">"

2001-07-13 Thread scott [gts]
i guess you've got a more recent version of PHP than i do... For me, it prints out "This is printed" but not "This is not printed", which made my eyebrows touch the ceiling when i first saw that... > -Original Message- > From: Johnson, Kirk [mailto:[EMAIL PROTECTED]] > Sent: Friday, J

[PHP] POST data is lost on PHP CGI after shmat() failed. [4.0.5, Linux]

2001-07-13 Thread Steven Haryanto
I have two CGI PHP installation on my Linux system. One of them is a vanilla build (all defaults except --prefix and --with-config-file-path, and the other is built with the .spec file from rpms.arvin.dk). POST method does not work with the arvin PHP CGI binary, while it works ok with the vanilla

RE: [PHP] Regex Help

2001-07-13 Thread Erick Calder
Sheridan, I didn't test this in PHP, I'm more familiar with the Perl Regex, but this might work for you, play with it: /mailto:[EMAIL PROTECTED]] Sent: Friday, July 13, 2001 9:04 AM To: [EMAIL PROTECTED] Subject:[PHP] Regex Help I am trying to write a script that needs a list of a

RE: [PHP] peculiar behaviour of large integers with "<" and ">"

2001-07-13 Thread Johnson, Kirk
I'll bet it did! Sorry, nothing unusual here, good luck. > -Original Message- > From: scott [gts] [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 13, 2001 12:50 PM > To: php > Subject: RE: [PHP] peculiar behaviour of large integers with > "<" and ">" > > > i guess you've got a more rec

Re: [PHP] GD help

2001-07-13 Thread jeremy brand
Hi Chad, You can follow my example at: http://www.nirvani.net/software/image_create/ Hope this helps. Jeremy Brand Jeremy Brand :: Sr. Software Engineer :: +393485323988 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more - - - - - - - - - - - - - - - - - - -

[PHP] encryption methods?

2001-07-13 Thread Adrian Teasdale
Hi all Encryption is not something that I have had dealings in with PHP. I have a potential client who wants to have customer account information (8000 records) stored on the internet (minus credit card information) and I was wondering what options I have for encryption. My concern is that by s

Re: [PHP] Export to Excel

2001-07-13 Thread Reuben D Budiardja
Hmm, I tried it, and my excel 2k could not read it either. I even change the echo to fwrite, and delete all the headers. What did you do to your source code? just copy it or did you modify it? Could you possibly send it to me off list? Thanks Reuben D. Budiardja On Friday 13 July 2001 01:36 pm

[PHP] Converting from paradox DB to mysql

2001-07-13 Thread Robert Mena
Hi, Does anybody knows how can I convert from a Paradox DB to mysql ? I've searched freshmeat.net but pxtools gives me core dump and unixODBC seems to be "just" the driver (i.e I'd have to write a convertion tool). Thanks. __ Do You Yahoo!? Get p

[PHP] HTTP Authorization

2001-07-13 Thread Tom Malone
Call me stupid, because this may be a stupid question, but I have searched all over for the answer and cannot find it. How can you get the username and password from HTTP_AUTH_USER or another environment variable in PHP? I need to determine who is logging in so I can connect to the correct databa

RE: [PHP] Piping Mime String to Metamail Fails

2001-07-13 Thread Don Read
` On 13-Jul-01 Jeff Hill wrote: > I've tried everything I can to pipe a string with mime content to > metamail, but it fails in every variation of: > > exec("echo $mime_string | /usr/bin/metamail -d -q -r -w -x -y ", > $met_res) ; > what about "/bin/echo ..." Regards, -- Don Read

RE: [PHP] encryption methods?

2001-07-13 Thread Johnson, Kirk
One approach to password security is to put the passwords in a file outside Document Root, then include that file in your scripts when you need a password. Kirk > -Original Message- > From: Adrian Teasdale [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 13, 2001 1:10 PM > To: [EMAIL PROT

  1   2   >