Re: [PHP] File upload !!!!

2001-05-14 Thread Matthias Roggendorf
Hi, thanks for the responses! Here is the code snippet: The form: FORM ENCTYPE=multipart/form-data ACTION=upload.php METHOD=POST INPUT TYPE=hidden name=MAX_FILE_SIZE value=1000 Send this file: INPUT NAME=userfile TYPE=file INPUT TYPE=submit VALUE=Send File The PHP part: if

re: [PHP] File upload !!!

2001-05-14 Thread Rares
Is your file greater than 1000 bytes? If it is, this is the answer: the file you try to upload is too large. Increase the limit (beware of the built-in limit of PHP - in php.ini) INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="1000" -- PHP General Mailing List (http://www.php.net/) To

[PHP] How can PHP 3.0.12 recognize semicolons as var delimiters in URL?

2001-05-14 Thread Christian Capito
Hello, i'm using htdig 3.1.5 on a box with PHP 3.1.12 the program htsearch provides me with html, in which following URLs can be found: http://myserver.de/search/results.php?words=sms;page=2 The problem is, the results.php script can't properly parse the URL and I can't use the variables

[PHP] Cookies

2001-05-14 Thread Sascha Andres
hi, i want to set cookies. cookies can only be set before html and head tags. i think this is because php sends all output immediatly. is there a statement that stops sending immediatly and a statement that tells to send now (at the end of the doc)? ciao sascha -- PHP General Mailing List

Re: [PHP] File upload !!!!

2001-05-14 Thread Deependra B. Tandukar
Increase your file size limit from 1000 or only the file size smaller or equal to 1000bytes will be uploaded. DT - Original Message - From: Matthias Roggendorf [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 14, 2001 12:36 PM Subject: Re: [PHP] File upload Hi, thanks

php-general Digest 14 May 2001 08:59:38 -0000 Issue 685

2001-05-14 Thread php-general-digest-help
php-general Digest 14 May 2001 08:59:38 - Issue 685 Topics (messages 52635 through 52664): passing variables without form submit 52635 by: brent simpson Multiple Selections? 52636 by: Jason Caldwell 52640 by: Sean Cazzell indexing records 52637 by:

Re: [PHP] imap_fetch_overview Question

2001-05-14 Thread Sigitas Paulavicius
Chris Cowan [EMAIL PROTECTED] wrote in message 9dldfq$kc4$[EMAIL PROTECTED]">news:9dldfq$kc4$[EMAIL PROTECTED]... Does anyone know what the sequence argument is suppose to be? More importantly, what the numbers stand for 2,4:6? Chris It means give me overview of messages #2 and all from #4

[PHP] IMAP/POP3/OUTLOOK Question

2001-05-14 Thread Mattias Segerdahl
Hi, I was wondering if someone could help me explain how Microsoft OUTLOOK knows which emails that it has downloaded from the server, as far as I know, there isn't any way of marking the email in a pop3 queue that they have been either read or downloaded. But then again, I have an inbox with

[PHP] IMAP/POP3/OUTLOOK Question .. NEW! ... Complimantary

2001-05-14 Thread Mattias Segerdahl
Hi, I was wondering if someone could help me explain how Microsoft OUTLOOK knows which emails that it has downloaded from the server, as far as I know, there isn't any way of marking the email in a pop3 queue that they have been either read or downloaded. But then again, I have an inbox with

Re: [PHP] IMAP/POP3/OUTLOOK Question

2001-05-14 Thread jdwright
Hiya, Correct me if I'm wrong, but I think it just keeps a record of the e-mails it's downloaded. If you run the command 'UIDL' on a telnet session into a POP server, you will get the Unique ID for every e-mail in your inbox. All Outlook does is compare this to the list of e-mails it knows

[PHP] inserting into MCIS Ldap....!!

2001-05-14 Thread Manoj Mishra
Hi !! Sorry to bother you...!! Will you please mind helping me in Adding attribute value using PHP with MCIS LDAP. I am able to connect to the MCIS LDAP, I am able to bind it to MCIS LDAP, But I am not able to insert attributes into MCIS LDAP. Would you mind helping me in this

RE: [PHP] validate form with javascript

2001-05-14 Thread Sandeep Hundal
doh! forgot to add, you need to put this in your form tage as well : name=formname onSubmit=return formCheck() regards /sunny -Original Message- From: Sandeep Hundal [mailto:[EMAIL PROTECTED]] Sent: 14 May 2001 10:43 To: 'Meir Kriheli - MKsoft'; Chris Mason; [EMAIL PROTECTED] Subject:

Re: [PHP] How can PHP 3.0.12 recognize semicolons as var delimiters in URL?

2001-05-14 Thread Christian Capito
on Monday 14 May 2001 09:59, Christian Capito quoth: How can I get php to correctly recognise the semicolons? Semicolons between variables are supposed to be valid HTTP links. I just would like to let you all know that I have been able to solve the problem. I have put following entry into

[PHP] Online HTML Editors

2001-05-14 Thread MATTHEW BOULTER
Heya guys sorry to be posting on a PHP mailing list but it's the only one I'm subscribed to. For my latest project we're trying to do away with having to teach some of our (less technically-minded) staff HTML coding. But we still need them to be able to edit content out of a MySQL dbase. To

[PHP] imap_uid()

2001-05-14 Thread Mattias Segerdahl
Hi, I was wondering if umap_uid() is really functioning as it should, or if I'm mistaken and using the function for the wrong purpose, I would like to retrieve the Unique ID's from a pop server, sorta like using UIDL when telneting to the server, but when I do, imap_uid() i get a sequencial

[PHP] Re: One database, different forms

2001-05-14 Thread Adrian D'Costa
Hi, I ask a similar question but did not get a reply. I figured out a way. The only thing I do is use one form and four tables. I build the sql statement on the fly. From the from I have a hidden field that will be passed on to the php script. Based on that variable I select the table. You

[PHP] time getdate GMT

2001-05-14 Thread Johannes Schmiderer
Hi, I'm new to PHP. I want to have the GMT Time in extra values (for instance a array with year, mon, day, hour, ) The best way I've found is: $idtGMTime = time() - date(Z); $aGMTime = getdate($idtGMTime); Any other suggestions? Why isn't there a function like getgmdate() (as gmtime()

[PHP] PDFLib and php 4.0.5

2001-05-14 Thread Geir Eivind Mork
After a great deal of swear words, preassure from my boss and numberous tries I now cry out for help. Can anyone compile a howto on installing pdflib so tha tit works with php 4.0.5 ? I've tried so many times and neither me or our sysadmin can manage to make php understand that I really need

[PHP] Php Newbie

2001-05-14 Thread Heidi Belal
Hi all, I'm trying to learn/use php to develope website. I have downloaded the installable version from php.net and installed it. I'm using win2k and iis web server. And now i have a folder c:/php with the stuff it installed. How do i check that this installation works? i created a helloworld

Re: [PHP] PHP: Variables in TITLE

2001-05-14 Thread Geir Eivind Mork
Tarrant Costelloe wrote: I have a log in script written in PHP4 which accesses a secure server. Once entered I want the the secure page to hold the users name (from variable) in the TITLE header Something along the lines of this: title$name is logged in/title Obiously I have tried that

[PHP] How to change value of input on form from iframe?

2001-05-14 Thread Dezider Góra
I'm having a big problem. I've created bound combo's page, that works. When user selects a value from first combo, second combo in IFRAME is requeried and shows only corresponding values. Now I need to get the value from the second combo back to the main form. I'm trying all javasrcipt

Re: [PHP] Only have one session per user?

2001-05-14 Thread Jason Stechschulte
On Fri, May 11, 2001 at 10:22:15PM +0200, Christian Marschalek wrote: Can I only have one session per user / internet explorer? Or is it possible to seperate sessions let's say from script to script? Are you asking if you can have more than one session for one user running multiple instances

Re: [PHP] How to change value of input on form from iframe?

2001-05-14 Thread elias
Hi! Never worked with IFRAMEs nor sure how i can access their forms with JavaScript? maybe it's like: framename.document.formane.field ? anyway As i understand: * Main form have Combo1 that when it's selection is changed then IFRAME.Combo2 is rebuilt right? I see you set your frame source to

RE: [PHP] File upload !!!!

2001-05-14 Thread Jaime Bozza
Hello, Is there some reason I keep getting copies of messages from the list sent directly to me as well as the list? I've seen one or two come by and thought it was just someone replying wrong. Recently though, I'm received questions, comments, answers, etc., all regarding subjects I haven't

RE: [PHP] Free Database Design Program

2001-05-14 Thread Chris Mulcahy
No, then the software becomes stolen, not free. Discussing cracking and stealing programs on a list populated with software developers may not be wise. Most software developers depend on the income from their software to make a living. Please do not support cracking on this list. Chris

RE: [PHP] PHP: Variables in TITLE

2001-05-14 Thread Matt Schroebel
I would recommend: title?php echo htmlspecialchars($name); ? is logged in/title that way you won't get burned by quotes, etc ... From: Tarrant Costelloe [mailto:[EMAIL PROTECTED]] Sent: Monday, May 14, 2001 7:59 AM To: '[EMAIL PROTECTED]' I want the the secure page to hold the users name

[PHP] RSexec() doubt

2001-05-14 Thread Felipe Moreno
Hi list members, I'm trying to develop a script that work like the MS jscript function called RSexec () (Remote Script execute). During this develop, I'm having a doubt regarding the use of that function RSexec(), cause I was reading about it, and every reference points do use it with ASP

Re: [PHP] One database, different forms

2001-05-14 Thread Ethan Schroeder
I use this code for dynamically creating queries almost every day. $column = mysql_list_fields($db,$table); for($i = 0; $i mysql_num_fields($column); $i++) { $value = mysql_field_name($column,$i); $value = $$value; $values .= '$value'; if($i !=

[PHP] Writing to files

2001-05-14 Thread Tarrant Costelloe
What's the most basic syntax for writing to a text file using PHP. I would like to store some variables in one and then retrieve them a later stage...? Taz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] One database, different forms

2001-05-14 Thread Ethan Schroeder
Oh, here is the update code, which uses the same concepts: $column = mysql_list_fields($db,$table); for($i = 1; $i mysql_num_fields($column); $i++) { $value = mysql_field_name($column,$i); $name = $value; $value = $$value; $values .=

[PHP] Mail a form to mailbox

2001-05-14 Thread ashok a dhar
Dear friends Please give a PHP site where i can do send a mail a form contents to my mailbox. i want to use the PHP function mail(recipient,subject,message); Thank u very much bapi [EMAIL PROTECTED] Get 250 color business cards for FREE! http://businesscards.lycos.com/vp/fastpath/ --

RE: [PHP] my query results won't clear!! :(

2001-05-14 Thread Sandeep Hundal
damn, yeah thats my problem. how do i clear out all variables then?? thanks! /sunny -Original Message- From: Mark Roedel [mailto:[EMAIL PROTECTED]] Sent: 14 May 2001 14:56 To: Sandeep Hundal; [EMAIL PROTECTED] Subject: RE: [PHP] my query results won't clear!! :( -Original

Re: [PHP] Writing to files

2001-05-14 Thread Jason Stechschulte
On Mon, May 14, 2001 at 03:05:30PM +0100, Tarrant Costelloe wrote: What's the most basic syntax for writing to a text file using PHP. I would like to store some variables in one and then retrieve them a later stage...? This will append This is pretty basic to the end of the file instead of

Re: [PHP] Php Newbie

2001-05-14 Thread Johannes Janson
Hi, i created a helloworld php file and put it in my inetpub/wwwroot/php folder and then tried to display it in the browser but all i saw was my html code. Can someone help please?! You'll need to configure IIS to parse your PHP files. Use the instruction below. If you wonder which one to

Re: [PHP] PHP's OO is bad?

2001-05-14 Thread Zef Hemel
I did some benchmark on how fast variable access is when being used through OOP. And this difference can be up to 1,7 times as slow. I surely hope you can speed up, right now I'm not using it because it's slower... Zef Phil Driscoll [EMAIL PROTECTED] schreef in berichtnieuws [EMAIL

Re: [PHP] phpMyAdmin: dumping problem

2001-05-14 Thread bill
Hi Peter, I've had similar problems. I haven't found any easy way. Here's how I got around the problems. Upgrade to the latest version of phpMyadmin. Make sure magic_quotes is on (if it isn't, the program will warn you.) You may need to replace a single slash \ with a double slash \\ Use

[PHP] installing PHP on a sun box

2001-05-14 Thread Joseph Bannon
I'm installing PHP on a sun box and when type in make and i get not found. How can I run make if it's not found? Thanks, Joseph -- 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] installing PHP on a sun box

2001-05-14 Thread Andrew Hill
Joseph, You should check that 'cc' is installed on your system. (try typing: cc) If you get language optional software package not installed then you will need to install the developer tools, including the c-compiler. Best regards, Andrew Hill Director of Technology Evangelism OpenLink Software

[PHP] achive style message center

2001-05-14 Thread shaun
i was wondering if anyone has or knows were i can find an archive style message system much like the php support archive. im looking for something to create a forum were people can chat and interact without the need of real time preferably the archive should be searchable if anyone could help

RE: [PHP] achive style message center

2001-05-14 Thread Sandeep Hundal
why not just use a message board? -Original Message- From: shaun [mailto:[EMAIL PROTECTED]] Sent: 14 May 2001 18:15 To: [EMAIL PROTECTED] Subject: [PHP] achive style message center i was wondering if anyone has or knows were i can find an archive style message system much like the

[PHP] Input buffer overflow with Apache

2001-05-14 Thread Geoff Caplan
Hi I am hoping someone on the list can save me from the grief of an OS re-install. I carelessly allowed the disk on my Red Hat 6.2 server to fill up. I have fixed the damage, apart from Apache. Here is the problem When the disk was full, Apache keeled over logging the error: input buffer

[PHP] MIME Decoding of a string

2001-05-14 Thread Jeroen Geusebroek
Hi Guys, I've been struggeling with this for a while but can't seem to find any code that will decode a string MIME encoded. I found one class but it also didn't do what i want. Coding this myself is probably WAY above my head ;P ie. i have this string:

RE: [PHP] PHP priviledges

2001-05-14 Thread bd
Hello, I have similar concerns with the host I'm trying out right now - though they're running Linux/Apache. My problem is with lack of security with shell access (i.e. access to other client's directories and key server files) and apparently lax monitoring of its privacy policies. I'm not a

Re: [PHP] MIME Decoding of a string

2001-05-14 Thread mark
Jeroen Geusebroek [EMAIL PROTECTED] wrote: The reason i need this, is because i am creating a message archive similair to Geocrawler and MARC and it's quite irratating to not be able to decode messages when they are mime encoded. Take a look at my project: http://www.webgadgets.com/phpost

RE: [PHP] achive style message center

2001-05-14 Thread Alok K. Dhir
If you're looking primarily for mailing list software with web archiving, look no further than Mailman (www.list.org). If you're looking for web discussion software, then there's tons of good, php based, web discussion forum software out there, a lot of it GPLed. Search freshmeat.net. What I

[PHP] use of copy and ftp to get my permissions on file

2001-05-14 Thread Dennis Gearon
Does this sound like the right idea for editing a file online and keeping the permissions of my user account: open(read) file in include dir from script read/parse/modify into local variable close file copy(pres_ver_file, php's_tmp_dir/old_ver_file); create (

RE: [PHP] writing updateable code

2001-05-14 Thread scott [gts]
i'd like to know if anyone's written anything to perform anything of this nature also... if not, i'll take a crack at it. shouldnt be too hard to get a simple Updater script to check for new versions and update local files with newer ones -Original Message- From: elias

Re: [PHP] MIME Decoding of a string

2001-05-14 Thread Jeroen Geusebroek
Mark Wrote: Take a look at my project: http://www.webgadgets.com/phpost It's a webmail app but it includes code to fully parse MIME messages, including quoted printable encoding, etc. It uses no third party libraries or classes, only functions that are native to PHP. I am about to release

[PHP] Easily Making Post Vars Session Vars

2001-05-14 Thread Jason
Hi, I realize you cannot override session variables through GET or POST for security reasons. I have a complex multipage form that I would like to store in a session for insertion in the database when the last step is completed. The form field names are arrays, so they can be listed and inserted

Re: [PHP] disable compiler flag --enable-trans-sid at runtime

2001-05-14 Thread Holger Bhnke
php_flag session.use_trans_sid off That may not be the correct syntax, but it should be close. it is correct! works perfectly thanx Kirk Johnson, Kirk [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have not done this, but this is what I would try.

Re: [PHP] phpjobs.com

2001-05-14 Thread Phillip Bow
http://jobsearch.monster.com/jobsearch.asp?cy=USbrd=1lid=fn=6fn=660fn=5 54q=php Good luck in your search. -- phill Jack Dempsey [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... anyone know what the deal with it is? i'm trying to find some work for the summer

[PHP] session VS scope

2001-05-14 Thread Steve
I have just recently began pulling together some of the project work I have done to build a little library of tools. In doing so I have made a number of functions from what used to be separate include files... yes, I'm transitioning from linear programming to that new-fangled functional

[PHP] [Win32,PHP/4.0.5] Problem with session

2001-05-14 Thread Christian Ribeaud
Hi, I would like to know what is wrong with the code below. The following code will be included on every page with the include command. The variable $language does not seem to be registered at all. it should be registered again on every page. Why this? On the php.ini register_globals is off and

[PHP] mail() is not supported in this PHP build ???

2001-05-14 Thread Jan PAVLÍK
Hi, I have really problem with %SUBJ%, what I do bad, that isn't work function mail() THANX from Czech Republic :)) -- Jan PAVLIK, webmaster -- CASHMAIL s.r.o. [EMAIL PROTECTED] 0608/344 010 ICQ 6611951 Motto: Neco nefunguje? Zkuste nejdrive

RE: [PHP] [Win32,PHP/4.0.5] Problem with session

2001-05-14 Thread Johnson, Kirk
With register_globals off, ordinary GLOBAL variables can't be registered, so the line session_register(language); isn't doing anything. Access all registered variables through $HTTP_SESSION_VARS only. Kirk -Original Message- From: Christian Ribeaud [mailto:[EMAIL PROTECTED]] Sent:

[PHP] Wrong ReplicationID from MS Access

2001-05-14 Thread Adriana Matiaskova
Has anybody met with this problem? I use MS Access 7.0 database through ODBC, Apache 1.3.11 and PHP 4.0.4pl on Windows 95. When I use SELECT query from database, I get for Replication ID (Automatic number) field something like ' 7~Yó¹Ò.“€Hë-×' instead of

RE: [PHP] Easily Making Post Vars Session Vars

2001-05-14 Thread Johnson, Kirk
This isn't quite what you are asking, but maybe it will be of help. Use the loop below to create and assign GLOBAL versions of the $HTTP_POST_VARS:; reset($HTTP_POST_VARS); while(list($key, $val) = each($HTTP_POST_VARS)) { $GLOBALS[$key] = $val; } Kirk -Original Message- From:

RE: [PHP] Easily Making Post Vars Session Vars

2001-05-14 Thread Jason
Ok, I see where that's going. I actually was a bit off in my first posting. The form field names are a multi-dimesional array. The goal it to make writing all of the info to the db a breeze. ie- name=cust[personal][phone] and name=cust[history][interests] etc etc lets also say

[PHP] Passing vars between functions (with POSTs)

2001-05-14 Thread Miguel Ribeiro
Hi, I'm struggling to pass from 3 functions (and one of them have a html form POST) one simple variable called $login. Once in the function (that have form with POST) is calling a php3 without passing the $login (like: common.php3login='someone') and since the next function doesn't have any

RE: [PHP] Easily Making Post Vars Session Vars

2001-05-14 Thread Johnson, Kirk
Before we get too carried away here :), what didn't work with your original solution? I would have guessed that it would work. What was the error? But, here's some more with the loop, definitely not tested: reset($HTTP_POST_VARS); while(list($key, $val) = each($HTTP_POST_VARS)) {

Re: [PHP] HallMark uses PHP!!!!

2001-05-14 Thread Kath
http://www.bbspot.com/News/2000/6/php_suspend.html - Kath - Original Message - From: Joseph Blythe [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, May 14, 2001 12:30 AM Subject: Re: [PHP] HallMark uses PHP [EMAIL PROTECTED] wrote: I was just looking

RE: [PHP] (OT) HallMark uses PHP!!!!

2001-05-14 Thread scott [gts]
oh god... that story will probably come true in the next few years, due to the way the public school system keeps going downhill and the unyeilding ignorance of administrators. -Original Message- From: Kath [mailto:[EMAIL PROTECTED]] Sent: Monday, May 14, 2001 5:18 PM To: [EMAIL

[PHP] Are Sessions safe to use, Security wise?

2001-05-14 Thread Brandon Orther
Hello, I am setting up a script that logs into a data base and I only want the person to have to login once. Is it safe for me to save there login info as sessions? Thanks Brandon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: [PHP] achive style message center

2001-05-14 Thread scott [gts]
one thought is to search http://www.hotscripts.com/PHP/ for forum or message board scripts. -Original Message- From: shaun [mailto:[EMAIL PROTECTED]] Sent: Monday, May 14, 2001 1:15 PM To: [EMAIL PROTECTED] Subject: [PHP] achive style message center i was wondering if anyone

[PHP] PHP4 and MySQL on Macintosh

2001-05-14 Thread Andreas Pucko
Hi there, does anybody know if it is possible to run these applications on MAC 0S? Any experiences? Cheers Andy -- 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,

[PHP] What's more effecient: var on every page or simple function?

2001-05-14 Thread Noah Spitzer-Williams
Which of the two is more efficient: # start of file.php $myvar = 3; # end file.php #start of file.php function myvar() { return 3; } #end file.php the difference between the two is the first example would set the variable on every page regardless of whether it was used whereas with the

Re: [PHP] PHP4 and MySQL on Macintosh

2001-05-14 Thread Sverre Johan Tøvik
At 14:44 -0700 14-05-01, Andreas Pucko wrote: Hi there, does anybody know if it is possible to run these applications on MAC 0S? Any experiences? PHP4 is part of the commercial Apache-on-UNIX-on-MacOS implementation WebTen (from Tenon), but not MySQL. I'd rather recommend upgrading to

RE: [PHP] PHP4 and MySQL on Macintosh

2001-05-14 Thread Hoover, Josh
Andy, I believe you can run PHP on Mac OS with the use of WebTen by Tenon (http://www.tenon.com/products/webten/). MySQL does not run on Mac OS. You can run both PHP 4 and MySQL on Mac OS X. Since it sounds like you're a Mac developer, I would suggest you check out the AMP mailing list which

[PHP] pulling data out of a string

2001-05-14 Thread Richard Kurth
I am trying to figure out how to pull data out of a string. This is driving me crazy. I figure an if statement of some sort would work but I'm not sure how to structure it. I know how to get what I want if it is just $fullhostname = www.domain.net; $exp = explode(., $fullhostname); $host =

Re: [PHP] PHP priviledges

2001-05-14 Thread Ben Gollmer
This is an excellent question. I've run into the same thing myself when setting up my own Linux boxen. Apache + PHP needs to have read access to users' web directories in order to serve them up to the 'net (mode 704), and directories must have the execute bit set (mode 705). Assuming users

[PHP] Question php4's configration

2001-05-14 Thread ÕŕF
hi, My environment: win2k server + apache1.39 + php4.05 My apache's httpd.conf: LoadModule php4_module d:/winnt/system32/php4apache.dll AddType application/x-httpd-php .php .php3 .php4 I copied all the all the sapi related dlls to the win2k's system32

[PHP] Connectivity to MS SQL

2001-05-14 Thread Andreas Pucko
Hi there, I developed an application with a MySQL DB in the backend. Now I have to change my code to connect to a MS SQL DB. Does anybody know how to do that? I can't find anything in my PHP Book regarding this topic. Thanx Andy --- Walter Andreas Pucko W3

[PHP] MSSQL

2001-05-14 Thread Andreas Pucko
Hi there, while tying to connect to a MSSQL DB I get the error message: call to undefined function. I thing my syntax is ok. function pconnect_db() { if (!($link = mssql_pconnect ($DB_SERVER, $DB_LOGIN, $DB_PASSWORD))) { printf(An SQL error has occured. Please contact our

[PHP] Upgrading PHP

2001-05-14 Thread Joseph Bannon
Does anyone know of instructions on upgrading PHP? J -- 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] MSSQL

2001-05-14 Thread Fabian Raygosa
According to the php docs there is no mssql_pconnect just mssql_connect get rid of the p - Original Message - From: Andreas Pucko [EMAIL PROTECTED] To: Php (E-mail) [EMAIL PROTECTED] Sent: Monday, May 14, 2001 3:19 PM Subject: [PHP] MSSQL Hi there, while tying to connect to a MSSQL

Re: [PHP] MSSQL (Mistake)

2001-05-14 Thread Fabian Raygosa
DAMN SORRY there is a pconnect duh bad me bad me - Original Message - From: Fabian Raygosa [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Php (E-mail) [EMAIL PROTECTED] Sent: Monday, May 14, 2001 3:18 PM Subject: Re: [PHP] MSSQL According to the php docs there is no mssql_pconnect just

[PHP] ssh

2001-05-14 Thread Dennis Gearon
anyone got the easy directions to setting up teraterm pro with SSH ***AND*** getting the certificate to work for it? My provider that runs php/mysql/etc only lets people use SSH connections for telnet, which I agree with. Right, now, I don't want to pay the $139 for the non open source

[PHP] PHP Mail (SMTP)

2001-05-14 Thread Jason Caldwell
There's a setting in the PHP.INI file called [Mail Function] - SMTP Can I programmatically set this? Or, am I for now restricted to this .INI entry? I'd like the option of sending to any one of my 3 mail servers, from one script. Thanks Jason -- PHP General Mailing List

Re: [PHP] ssh

2001-05-14 Thread Tyrone Mills
How about using something like puTTY or SecureCRT? I use puTTY to connect Windoze boxes to my linux servers all the time, it works great and actually passes the function keys to remote server instead of interpreting them itself. - Original Message - From: Dennis Gearon [EMAIL PROTECTED]

[PHP] Extensions for PHP

2001-05-14 Thread Andreas Pucko
Hi does anybody know which extension I need to connect to a MSSQL DB, and wher I could get it? Thanx Andy -- 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,

Re[2]: [PHP] pulling data out of a string

2001-05-14 Thread Richard Kurth
Hello Philip, Monday, May 14, 2001, 3:36:17 PM, you wrote: That my problem www is not always the host when it is a sub-domain it would be like mysit.domain.net or sometimes people put a few extra periods in the domain name like www.my.test.net I thought maybe I could look at the string and

Re: [PHP] ssh

2001-05-14 Thread Ethan Schroeder
Simple. Get putty. It is, by far, the best free ssh client out there. http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html It's small, too. Ethan Schroeder - Original Message - From: Dennis Gearon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 14, 2001 5:26 PM

[PHP] Crypt in build 4.0.5

2001-05-14 Thread Brandon Orther
Hello, Does Crypt need to be setup in the ini or as an extension? When I installed 4.0.5 it doesn't seem to work? Thanks Brandon -- 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] HallMark uses PHP!!!!

2001-05-14 Thread Matt Stone
lol -Original Message- From: Kath [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 15, 2001 7:18 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] HallMark uses PHP http://www.bbspot.com/News/2000/6/php_suspend.html - Kath - Original Message

[PHP] Redirection in PHP ? (newbie)

2001-05-14 Thread Nicolas Mermet
Hi, this might be a trivial question but I could not find any docs on that on php.net. I am develloping the admin side of a dynamic web site (php/mysql). The mechanic is nothing special: a form is submitted and sends the data to the php page/script that actually does the work of feeding the db.

[PHP] need some ideas here...

2001-05-14 Thread Christian Dechery
My free-web-hosting (www.f2s.com) does not allow PHP to send emails... I've tried everything... the mail() function, my alternate function which calls popen(/usr/lib/sendmail -t) and even a script.cgi with '#!/usr/bin/php' and all that stuff... the mail simply won't go an mail() always

[PHP] need better solution...

2001-05-14 Thread Christian Dechery
In most of my scripts there are always headers and footers to html outputs... like logos, images, and on the bottom some links and stuff like that... that should always apear... the most basic is: html ... header here ... ?php lots of code ? ... footer here ... /html but sometimes I want

Re: [PHP] ssh

2001-05-14 Thread Ethan Schroeder
I use mindterm sometimes, as well. I love it. Ethan Schroeder - Original Message - From: Dennis Gearon [EMAIL PROTECTED] To: Ethan Schroeder [EMAIL PROTECTED] Sent: Monday, May 14, 2001 7:04 PM Subject: Re: [PHP] ssh WOW! installation beats the HELL out of the teraterm project!

Re: [PHP] need better solution...

2001-05-14 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Christian Dechery) wrote: html ... header here ... ?php lots of code ? ... footer here ... /html but sometimes I want something like this: ?php session_start(); // for instance code code code if(something)

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

2001-05-14 Thread Ethan Schroeder
Find where there sendmail is and put this in an .htaccess file: php_value sendmail_path '/path/to/sendmail -t' Ethan Schroeder - Original Message - From: Christian Dechery [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 14, 2001 7:04 PM Subject: [PHP] need some ideas here...

RE: [PHP] need better solution...

2001-05-14 Thread James Atkinson
I would suggest some sort of Templating solution. Take a look at Smarty, PHPLib, or FastTemplates. - James -Original Message- From: Christian Dechery [mailto:[EMAIL PROTECTED]] Sent: May 14, 2001 5:11 PM To: [EMAIL PROTECTED] Subject: [PHP] need better solution... In most of my

Re: [PHP] Redirection in PHP ? (newbie)

2001-05-14 Thread Chris Adams
On 14 May 2001 16:54:49 -0700, Nicolas Mermet [EMAIL PROTECTED] wrote: To avoid spamming my db I would like to implement a simple redirection function, that would redirect the user to the main admin page once the feeding script has successfully executed and would reduce chances of double

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

2001-05-14 Thread Chris Adams
On 14 May 2001 16:59:48 -0700, Christian Dechery [EMAIL PROTECTED] wrote: My free-web-hosting (www.f2s.com) does not allow PHP to send emails... I've tried everything... the mail() function, my alternate function which calls popen(/usr/lib/sendmail -t) and even a script.cgi with

Re: [PHP] need better solution...

2001-05-14 Thread Jason Brooke
but sometimes I want something like this: ?php session_start(); // for instance code code code if(something) print error message and terminate script; ? html sadasdsa /html what do I do in this case??? I've tried all kinds of programing

[PHP] ODBC connect

2001-05-14 Thread Andreas Pucko
Hi there, I would like to get information out of a database via ODBC. I switched from MySQL. The old syntax does not work which was like: while ($row = odbc_fetch_row($result)) { printf (option value = \%s\%s/option, $row-nr,$row-name); } so, how do I get the nr and name out of the

Re: [PHP] need better solution...

2001-05-14 Thread David Robley
On Tue, 15 May 2001 09:40, Christian Dechery wrote: In most of my scripts there are always headers and footers to html outputs... like logos, images, and on the bottom some links and stuff like that... that should always apear... the most basic is: html ... header here ... ?php lots of

[PHP] output of file contents while reading

2001-05-14 Thread Maree Talbot
Is it possible in PHP, to open a remote file with fopen() and begin sending the contents of the file to the client before the entire file has been read from the remote source? If so, how? I've been unable to get it to work so far, probably because I don't understand the nitty gritty of file

Re: [PHP] need better solution...

2001-05-14 Thread Christian Dechery
At 10:35 15/5/2001 +0930, David Robley wrote: On Tue, 15 May 2001 09:40, Christian Dechery wrote: In most of my scripts there are always headers and footers to html outputs... like logos, images, and on the bottom some links and stuff like that... that should always apear... the most

Re: [PHP] need better solution...

2001-05-14 Thread Christian Dechery
At 11:02 15/5/2001 +1000, Jason Brooke wrote: but sometimes I want something like this: ?php session_start(); // for instance code code code if(something) print error message and terminate script; ? html sadasdsa /html what do I

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

2001-05-14 Thread Christian Dechery
what??? I didn't understand... how will I find out where sendmail is in a free-web-host? I don't have telnet access... how can I figure that out? and how a .htaccess file would help me here? At 19:50 14/5/2001 -0500, Ethan Schroeder wrote: Find where there sendmail is and put this in an

  1   2   >