Re: [PHP] Help with dates

2005-03-08 Thread Richard Lynch
Kevin wrote: > Right now I'm working on a script that would calculate dates from one > calendar to another. The normal calendar we use and a newly invented one. [shudder] There are already WAY too many calendar systems. Inventing a new one is probably not such a good plan... Why re-invent the wh

Re: [PHP] Help with dates

2005-03-09 Thread Kevin
Mr Lynch, Thanks a lot for your help so far! I will answer or respond in message. Yours, Kevin "Richard Lynch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Kevin wrote: > > Right now I'm working on a script that would calculate dates from one > > calendar to another. The normal

Re: [PHP] Help with dates

2005-03-09 Thread Jochem Maas
... Why re-invent the wheel? It's part of a game. In the RPG there are dates which the players would like to be able to convert from our calendar to that one, and back again.. In order to do that I need to find the exact days since the year 0 BC/AD. why is OBC relevant, I read later on that you t

Re: [PHP] Help with dates

2005-03-09 Thread Jason Barnett
Jochem Maas wrote: > >> It's mostly the past. The RPG is set in Egypt and the beginning of the >> society in egypt has been taken as year 0. The start date I think is >> obvious, but I do not understand an end date of a calendar.. Perhaps I'm >> just blond.. but could you perhaps explain that

Re: [PHP] Help with dates

2005-03-09 Thread Jochem Maas
Jason Barnett wrote: Jochem Maas wrote: It's mostly the past. The RPG is set in Egypt and the beginning of the society in egypt has been taken as year 0. The start date I think is obvious, but I do not understand an end date of a calendar.. Perhaps I'm just blond.. but could you perhaps explai

Re: [PHP] Help with dates

2005-03-09 Thread Richard Lynch
>> > Right now I'm working on a script that would calculate dates from one >> > calendar to another. The normal calendar we use and a newly invented > one. >> >> [shudder] >> There are already WAY too many calendar systems. >> >> Inventing a new one is probably not such a good plan... >> >> Why re-

Re: [PHP] Help with dates

2005-03-14 Thread Kevin
Dear mr. Maas, First of all my appologies for taking so long to respond. I had a family death to attend to. I will respond to the message in message. Yours, Kevin "Jochem Maas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > ... > >> > >>Why re-invent the wheel? > > > > > > It's

Re: [PHP] Help with dates

2005-03-17 Thread Jochem Maas
Kevin wrote: Dear mr. Maas, no need for 'mr' :-) First of all my appologies for taking so long to respond. I had a family death to attend to. my condolences. there is no need to apologise in any case. ... why is OBC relevant, I read later on that you take the start of egyptian civilization as zero.

[PHP] help with regular expression

2004-07-29 Thread Barbara Picci
Hi all, I'm trying from much days to solve a problem with a regular expression... I'm going to be crazy! I've a script that must strip a string when it find the first word containing at least 4 characters; it must print the content of the string before that word, that word, a separator and the re

[PHP] Help with Strings Please

2004-08-31 Thread Nick Wilson
Hi, I have a string like this, read from an html file: ' VALUE="16">' The value could be any number. I am trying to get that number. I have this so far, i was hoping someone might tell me how to get that number: ".$result); ?> Im not very good at regex, is there an function that would help m

[PHP] help-fetching-url-contents

2004-09-10 Thread vijayaraj nagarajan
hi all i would like to fetch the content of a url. and then would like to put in my page... dynamically refreshing it once in a day... is it possible to do this in php. i have used perl get url option and then parse the file, with the date and time function...to do this. pls help. thanks in adva

Re: [PHP] Help with fwrite()

2004-09-15 Thread Nick Wilson
* and then Nick Wilson declared > Hi all, > > Im trying to delete a line from a file after having first read the line. > The file contains a list or urls, one per new line: like this: BTW, reading the file into an array, shifting off the first element and rewriting isnt a good option for

Re: [PHP] Help with fwrite()

2004-09-15 Thread John Holmes
From: "Nick Wilson" <[EMAIL PROTECTED]> Im trying to delete a line from a file after having first read the line. The file contains a list or urls, one per new line: like this: [snip] fwrite($f, '', strlen($url2use)); // Where is the "gotha"? Hmmm... how can you write an empty string with a length?

Re: [PHP] Help with fwrite()

2004-09-15 Thread John Nichel
John Holmes wrote: From: "Nick Wilson" <[EMAIL PROTECTED]> Im trying to delete a line from a file after having first read the line. The file contains a list or urls, one per new line: like this: [snip] fwrite($f, '', strlen($url2use)); // Where is the "gotha"? Hmmm... how can you write an empty s

Re: [PHP] Help with fwrite()

2004-09-15 Thread Nick Wilson
* and then John Nichel declared > John Holmes wrote: > >You can't just remove part of a file like you remove part of a string. > >You'll need to read (eventually) the entire file and only write back > >what you want to keep. > > > >Now, you said this could be a very large file, so you don't

Re: [PHP] Help with fwrite()

2004-09-15 Thread John Holmes
From: "Nick Wilson" <[EMAIL PROTECTED]> Each user (must have an id,name clearly) can fetch as many urls as they wish, those urls get written to the db, then as each url is fetched from the db it is dealt with with php and deleted from the db. What if a user gets cut off from the script and a whole

Re: [PHP] Help with fwrite()

2004-09-15 Thread Nick Wilson
* and then John Holmes declared > >Should the db go like this? > > > >db_urls > >url_id | user_id | project_id | url > > > >db_user > >user_id | name | whatever > > > >db_project > >project_id | user_id > > > >Wow, now i've written it down it seems clearer ;) you guys reckon that's > >the righ

[PHP] Help with PDF documents

2004-09-23 Thread Andre
Hello When I try to open a PDF file in the https://localhost mode it opens a Save File window. When I am on the http://localhost mode the problem does not exist. How can I solve this? Thanks..

RE: [PHP] Help With Error

2004-10-17 Thread Pablo Gosse
[snip] Notice: Undefined index: 0 in L:\localhost\catalog\catalog_0.1.0\includes\classes\tree.class.php on line 77 [/snip] It's telling you that $data['0'], which is used twice in your query, is not a valid index (ie. it doesn't exist) for the $data array. Why don't you dump the $data array after

RE: [PHP] Help With Error

2004-10-19 Thread php-list
$child); print_r($data); die(); Take a look at what comprises the $data array and you should find your problem. HTH, Pablo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, October 17, 2004 8:31 PM To: [EMAIL PROTECTED] Subject: [PHP] Help With Error Hel

[PHP] Help with Advanced Guestbook

2004-10-31 Thread Melanie
I am trying to use Advanced Guestbook in my website (www.tracingfootprints.com) but would like to have it match (in style, background, etc) the other pages in the site. I've been trying to figure out how to do that (with very limited PHP knowledge) without success. My site is hosted by Go Daddy

Re: [PHP] Help with preg_match_all()

2004-10-31 Thread Curt Zirzow
* Thus wrote Francisco Javier Escoppinichi Fernndez: > Hello people... > > I'm relatively a beginner with regular expressions, so I need a little > help here.. I hope you can help me... If you read the whole section @ http://php.net/pcre you'll be able to do this in your sleep. > > Ok, I have a

Re: [PHP] Help with preg_match_all()

2004-10-31 Thread Francisco Javier Escoppinichi Fernández
Thanks! Worked like a charm! *Problem solved* On Mon, 1 Nov 2004 03:01:12 +, Curt Zirzow <[EMAIL PROTECTED]> wrote: > * Thus wrote Francisco Javier Escoppinichi Fernndez: > > Hello people... > > > > I'm relatively a beginner with regular expressions, so I need a little > > help here.. I hop

Re: [PHP] Help with preg_match_all()

2004-11-01 Thread Klaus Reimer
Curt Zirzow wrote: And so on.. It's a kind of a template system... well... I need to create a expression to get all the tags from the HTML with preg_match_all() in order to have them in a array... So your looking from something that starts with '{' and continues while not a ')' ... /{([^}]*?)}/ I

[PHP] help in php script

2004-11-04 Thread Deepak Dhake
I have a following PHP file TimeRotateImage.php which prints an image = 6 and $curr_time[2] <= 17) { PRINT IMAGE_1; } else { PRINT IMAGE_2; } ?> I want to use this script in another file to display the image. the tag should be But i am not getting any output if i follow the above procedure.

[PHP] help with fopen path

2004-11-09 Thread Giles Roadnight
Hi All I'm developing a fusebox PHP app and have a class in a /classes directory that opens an xml file in a directory below the site root using this path: "../siteconfig.xml" All of the places I have used this class from so far have been in the site root. I am now starting some pages in a sub

Re: [PHP] Help: Database Search

2004-11-10 Thread Jon Hill
You might want to try looking up the syntax for left join queries. I think this might be what you are after. http://dev.mysql.com/doc/mysql/en/JOIN.html On Wednesday 10 November 2004 14:37, Stuart Felenstein wrote: > I am creating a database search form and results. > Running into a problem thou

Re: [PHP] Help: Database Search

2004-11-10 Thread Stuart Felenstein
--- Jon Hill <[EMAIL PROTECTED]> wrote: > You might want to try looking up the syntax for left > join queries. > I think this might be what you are after. > > http://dev.mysql.com/doc/mysql/en/JOIN.html > It has nothing to do with left joins. It works fine provided I do one of two things, make

Re: [PHP] Help: Database Search

2004-11-10 Thread Jason Wong
On Wednesday 10 November 2004 14:37, Stuart Felenstein wrote: > But if the user decides to only use one of the > elements, then I don't want the query to return > nothing because of the "And" in the where clause so I > have these 2 statements that set a default value > (shown here as 0 in the even

Re: [PHP] Help: Database Search

2004-11-10 Thread Jason Wong
On Wednesday 10 November 2004 15:37, Stuart Felenstein wrote: > --- Jason Wong <[EMAIL PROTECTED]> wrote: > > Why not build your sql query according to whether or > > not whatever you want is > > selected or not. That way debugging is easier as > > you won't be looking at > > queries that contain

RE: [PHP] Help: Database Search

2004-11-10 Thread Graham Cossey
ember 2004 14:37 > To: [EMAIL PROTECTED] > Subject: [PHP] Help: Database Search > > > I am creating a database search form and results. > Running into a problem though. > I have two form elements, both that are fed by tables > that have int values (1, 2 , etc) > > my sql sta

Re: [PHP] Help: Database Search

2004-11-10 Thread Stuart Felenstein
--- Jason Wong <[EMAIL PROTECTED]> wrote: > Why not build your sql query according to whether or > not whatever you want is > selected or not. That way debugging is easier as > you won't be looking at > queries that contain redundant "... AND 0 ...". > Jason, How would I do that ? Care to sh

[PHP] help! handling form variable

2004-03-30 Thread Ketvin
add the $_POST, $_GET after the register_globals in php.ini ? how do i restart php service to get it running? thanks ! >Manual: Register globals. $_POST, $_GET On Tuesday 30 March 2004 09:40, Ketvin wrote: > Dear all, > > > i just move my previous php script to a new server and found that it

RE: [PHP] Help w/Bug

2004-03-31 Thread Chris W. Parker
Joey on Wednesday, March 31, 2004 2:54 PM said: > Step1: upload_file_type: > Step1: upload_file: C:\\Documents and > Settings\\jack.IISG\\Desktop\\BVP.jpg Step1: extention: > > Step2: upload_file_type: > Step2: upload_file: C:\\Documents and > Settings\\jack.IISG\\D

Re: [PHP] Help w/Bug

2004-03-31 Thread Curt Zirzow
* Thus wrote Joey ([EMAIL PROTECTED]): > ... > > if($upload_file !="") > { > //image size esle will ignore ... > $img_max_width=750; > $img_max_height=750; > $extention= > $file_type1 = "image/pjpeg"; Here is your bug as you described. $extention is assigned the value of $file_type1 after it i

[PHP] Help! Reading from stdin

2004-04-13 Thread David G. Simmons
Please respond directly, as I'm only on the digest and need an answer ASAP! I'm trying to read a file (currently sent to me via curl) and am having trouble. It worked once or twice, but not anymore. The curl command could be either: curl --data-binary http://hostname/reader.php OR curl http

[PHP] Help w/ PHP Sessions

2004-05-23 Thread Justin Kozuch
Hi All, I am creating an admin panel for a client, and part of the panel uses a menu system that, depending on the logged-in user's authorization level, displays certain menu items. Here is the code that I have on the login form, called index.php mysql_select_db($database_verspeeten, $verspeet

Re: [PHP] Help installing imagick

2004-06-06 Thread Galen
Hey, I hope I'm not stating the obvious, but last time I used ImageMagick (5.5.7 - in my receipts folder, I just checked) for use with PHP under Mac OS X, I just downloaded a package from http://entropy.ch/ and installed it and life was good. I think it's still up for download. No messing with

[PHP] Help with an objective

2004-06-14 Thread Ryan Schefke
All, I would like to use php to email a picture (as an attachment) that is on my server (linux), without manually attaching/uploading one. Is this possible? If so, how can it be done? Thanks, Ryan

Re: [PHP] Help with eregi

2004-06-22 Thread Robin Vickery
On Tue, 22 Jun 2004 14:57:28 -0400, Ryan Schefke <[EMAIL PROTECTED]> wrote: > > Could someone please help me with an eregi statement. > > I have a string that can vary as such: > > client1/album/album_121-2132_IMG.JPG > > client2/album/album_121-2132_IMG.JPG > > client59/album/album_121-2132_I

Re: [PHP] Help with eregi

2004-06-22 Thread Tom Z. Meinlschmidt
On Tue, Jun 22, 2004 at 10:08:37PM +0300 Robin Vickery [EMAIL PROTECTED] wrote: > On Tue, 22 Jun 2004 14:57:28 -0400, Ryan Schefke <[EMAIL PROTECTED]> wrote: > > > > Could someone please help me with an eregi statement. > > > > I have a string that can vary as such: > > > > client1/album/album_1

Re: [PHP] Help with eregi

2004-06-22 Thread Matt Matijevich
[snip] client1/album/album_121-2132_IMG.JPG client2/album/album_121-2132_IMG.JPG client59/album/album_121-2132_IMG.JPG client499887/album/album_121-2132_IMG.JPG I want to select whatever comes after the last forward slash, like album_121-2132_IMG.JPG [/snip] you could try without regular ex

Re: [PHP] Help with eregi

2004-06-22 Thread Curt Zirzow
* Thus wrote Tom Z. Meinlschmidt: > On Tue, Jun 22, 2004 at 10:08:37PM +0300 Robin Vickery [EMAIL PROTECTED] wrote: > > On Tue, 22 Jun 2004 14:57:28 -0400, Ryan Schefke <[EMAIL PROTECTED]> wrote: > > > > > > Could someone please help me with an eregi statement. > > > > > > I have a string that ca

[PHP] help me with eregi

2004-07-05 Thread water_foul
ho do you make a eregi so it looks at the var as a single line -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] help to generate codebars

2004-07-09 Thread Vicente Vives
Hello everybody, I'm looking for a way to generate codebars from the web. I found some ActiveX for ASP but i want to generate them using PHP :-) Do you know how? Do you know any library to do it? Thanks a lot. Vicente Vives. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visi

[PHP] help to generate barcodes

2004-07-09 Thread Vicente Vives
Hello everybody, I'm looking for a way to generate barcodes from the web. I found some ActiveX for ASP but i want to generate them using PHP :-) Do you know how? Do you know any library to do it? Thanks a lot. Vicente Vives. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Help - GUI using PHP

2004-07-20 Thread T UmaShankari
Hi all, A GUI having a drwable area and a button in a frame is required. The points colected by drawing in the drawable area needs to be stored in a datastructure in php. can we do this using php? If so for displaying graphics what should be done? This GUI has to be embedded in a browser and d

[PHP] Help: Google like page functions

2001-01-23 Thread Shane McBride
I thought this had been addressed earlier, but I could not find the thread. If I have a MySQL DB that has 50 records in it and I want to display 5 per page. How do I do this. Also, 50 was just a nice round number, the number will change constantly. All the search engines are doing this type of

RE: [PHP] Help with INSERT query

2001-01-24 Thread Thor M. Steindorsson
x27;, '$Description', '$FileSize', '$FileName', '$DownloadCount', '$Categories', '$Redirect')"; } Thor M. Steindorsson - [EMAIL PROTECTED] http://www.netwood.net - Find Out Why We're Better. -Original Message- From: Darren Evans

Re: [PHP] Help with INSERT query

2001-01-24 Thread Darren Evans
""Thor M. Steindorsson"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Some of your single quotes between values are missing (the . "','" . ), > messing up the query. > However it would probably be easier to do the addslashes() beforeyou do the > query so you

Re: [PHP] HELP!!! PDFLIB FOR PHP!!!!!

2001-01-24 Thread Richard Lynch
ittle time: http://chatmusic.com/volunteer.htm - Original Message - From: Bruno Freire <[EMAIL PROTECTED]> Newsgroups: php.general Sent: Wednesday, January 24, 2001 10:42 AM Subject: [PHP] HELP!!! PDFLIB FOR PHP! > I need learn how to install this library to create p

Re: [PHP] HELP!!! PDFLIB FOR PHP!!!!!

2001-01-26 Thread webbie
Quoting Bruno Freire <[EMAIL PROTECTED]>: > I need learn how to install this library to create pdf files > dinamicaly.!!! There are three ways to generate PDF files in PHP. 1. PDFlib 2. ClibPDF 3. Adobe FdfTk (which is really Forms Data Format and not PDF and may require one of the above in add

RE: [PHP] Help Work with files

2001-02-14 Thread Brian V Bonini
> To: PHP Mailing List > Subject: [PHP] Help Work with files > > > Hello, I need to work with files on my web server. I need to be able move > them, delete them, rename them etc... > Is there a section in the documentation devoted to this? > - How do I list files in a dire

Re: [PHP] Help Work with files

2001-02-14 Thread Ankur Verma
Verma HCL Technologies A1CD, Sec -16 Noida, UP India - Original Message - From: "Karl J. Stubsjoen" <[EMAIL PROTECTED]> To: "PHP Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, February 14, 2001 8:44 PM Subject: [PHP] Help Work with files > Hello,

Re: [PHP] help make less ugly?

2001-02-14 Thread Ankur Verma
> To: <[EMAIL PROTECTED]> Sent: Thursday, February 15, 2001 3:49 AM Subject: [PHP] help make less ugly? > Hi, > > can anyone suggest how to make this less hackish - perhaps preserving the > array across page iterations somehow? > > I'm storing image path info in MySQL and

Re: [PHP] help: column into array?

2001-02-15 Thread Richard Lynch
> how can I reference a result set by array index numbers??? > id_field field > | > 1 first > 1 second > 1 third > 2 fourth > 2 fifth > > how can I do something like this: > > $array=mysql_db_query($database, $sql, $link_id); > >

RE: [PHP] Help Work with files

2001-02-15 Thread Maxim Maletsky
Read the following : http://www.php.net/manual/en/ref.filesystem.php Cheers, Maxim Maletsky -Original Message- From: Karl J. Stubsjoen [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 15, 2001 12:14 AM To: PHP Mailing List Subject: [PHP] Help Work with files Hello, I need to

Re: [PHP] Help with prev, next

2001-02-19 Thread David Robley
On Tue, 20 Feb 2001 15:10, Keith Devens wrote: > Hi, I'm getting some weird behavior from prev() and next(). If anyone > knows what's going on please let me know. Also, please make sure you > e-mail me personally in addition to the list. > > Anyway, here's the problem. Check out the following code

Re: [PHP] Help with prev, next

2001-02-19 Thread CC Zona
In article <01022015290505.09282@hermes>, [EMAIL PROTECTED] (David Robley) wrote: > According to the docs, "If advancing the internal array pointer results > in going beyond the end of the element list, next() returns false" so > when you try an print out the result, you get nothing. And once

[PHP] Help me! What is wrong?

2001-02-20 Thread Ana Carolina Blanco Abascal
Help!!! Every thing seems to work ok but I just can't make apache recognize php3 files I check that mod_php3.c is load with /usr/local/apache/bin/httpd -l This is what my httpd.conf file has LoadModulephp3_modulelibexec/libphp3.so

Re: [PHP] Help INSERTing to MySQL

2001-02-23 Thread Joe Stump
Before your VALUES you need to have a list of the fields ie: insert into table (id,fname,lname) values ('$id','$fname','$lname') --joe On Fri, Feb 23, 2001 at 08:00:30PM -0500, Clayton Dukes wrote: > Hello, > This is my first attempt, so I'm prolly doing something stupid, but can someone tell

Re: [PHP] Help INSERTing to MySQL

2001-02-23 Thread Philip Olson
> Hello, This is my first attempt, so I'm prolly doing something stupid, > but can someone tell me why this doesn't work? All it returns is > "Unable to INSERT to database" Change : or die("Unable to INSERT to database"); To : or die(mysql_error()); And see what it tells you. Odds are ther

Re: [PHP] Help INSERTing to MySQL

2001-02-23 Thread Clayton Dukes
um('High School','College','Other'), city varchar(15), state varchar(15), county varchar(15), school varchar(45), zip smallint(5), authorcomments varchar(200), teachercomments varchar(200), approve enum('Y','N'), docdata text

Re: [PHP] Help INSERTing to MySQL

2001-02-23 Thread Kyndig
;Finnish','German','Spanish'), > grade int(3), > level enum('High School','College','Other'), > city varchar(15), > state varchar(15), > county varchar(15), > school varchar(45), > zip smallint(5), > authorc

Re: [PHP] Help INSERTing to MySQL

2001-02-23 Thread Clayton Dukes
Thanks! :-) Man, what a great list! You guys kick a$$ - Original Message - From: "Kyndig" <[EMAIL PROTECTED]> To: "Clayton Dukes" <[EMAIL PROTECTED]>; "Philip Olson" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, Febru

Re: [PHP] Help INSERTing to MySQL

2001-02-23 Thread php3
Addressed to: Clayton Dukes <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from Philip Olson <[EMAIL PROTECTED]> Sat, 24 Feb 2001 01:31:30 + (GMT) > > > > Hello, This is my first attempt, so I'm prolly doing something stupid, > > but can someone tell me why this doesn't

Re: [PHP] Help INSERTing to MySQL

2001-02-23 Thread Philip Olson
> If I knew I could get answers that easy here, I woudn't have worked on this > for 20 hours :-) > > THANKS > > btw, field one is an ID field set to auto increment, how can I insert that > if I don't know what it is? In this case use NULL as the value for id and it'll auto increment nicely

RE: [PHP] Help INSERTing to MySQL

2001-02-23 Thread ..s.c.o.t.t..
0 also works for AUTO_INCREMENT fields... > -Original Message- > From: Philip Olson [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 23, 2001 18:41 > To: Clayton Dukes > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] Help INSERTing to MySQL > > > > > I

RE: [PHP] Help INSERTing to MySQL

2001-02-23 Thread ..s.c.o.t.t..
ruary 23, 2001 17:21 > To: Clayton Dukes > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] Help INSERTing to MySQL > > > Before your VALUES you need to have a list of the fields ie: > > insert into table (id,fname,lname) values ('$id','$fname','$ln

[PHP] Help, Perl can, Php can't !

2001-02-26 Thread Chris
I am trying to post some info to my php script using the microsoft internet control: strurl = http://www.myserver.com/test.asp strdata = "lah=sd&dta=test Inet1.Execute strurl, "POST", strdata PHP returns HTTP_POST_VARS as being empty. Yet, if I use PERL, I can read the posted info j

RE: [PHP] help parsing data files

2001-03-02 Thread Hoover, Josh
Try putting this in your config in place of what you currently have: AddType application/x-httpd-php phtml AddType application/x-httpd-php php AddType application/x-httpd-php php3 AddType application/x-httpd-php data Then restart Apache and see if that does it for you. Josh Hoover KnowledgeStor

Re: [PHP] Help Please: Php configuration

2001-03-04 Thread Michael Hall
I don't know a thing about IIS ... but the archives can be found at http://www.php.net/support.php Good Luck Michael On Sun, 4 Mar 2001, archana sharma wrote: > Hi All, >I am new in PHP world. I am trying to configure my php with IIS4. Here is > the info what I downloaded and installed:

Re: [PHP] Help Please: Php configuration

2001-03-04 Thread Phil Driscoll
I'm guessing that you are adding the ISAPI version of php. If so, try installing it as a CGI instead (set the script mappings to php.exe instead of php4isapi.dll and remove php4isapi.dll from the filters list). Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.co

Re: [PHP] Help Please: Php configuration

2001-03-05 Thread archana sharma
Thanks a lot!!! Yes it is working now with both cgi as well as php4isapi.dll. I removed php4isapi.dll from filter, which was crashing my web server. From: "Phil Driscoll" <[EMAIL PROTECTED]> To: "archana sharma" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]&g

[PHP] Calling Perl from PHP -- Help --

2001-03-05 Thread Matt Friedman
I'm stumped. I've searched all over and can't figure this one out. I have a perl script that waits for input on the command line. You type in a string and it returns a string. I'd like to be able to this via php, since I can't rewrite the script in php, since it's a little over my head. So, h

Re: [PHP] HELP!!! Date time problems!!!!

2001-03-08 Thread Pierre-Yves Lemaire
]> Sent: Thursday, March 08, 2001 7:05 PM Subject: [PHP] HELP!!! Date time problems > Hi, My name is Bruno, From Brazil. > > Yes...it's me again...hehehe > > Look...my problem is.. > > I wanna make something like this: > > (10 november 2001) - (5 Novem

Re: [PHP] HELP!!! Date time problems!!!!

2001-03-08 Thread karakedi
> // get difference in days by dividing by 24*24*60 > return ( $enddate - $startdate ) / ( 86400 ); > } // end function > > > - Original Message - > From: Bruno Freire <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, March 08, 2001 7:05

Re: [PHP] HELP!!! Date time problems!!!!

2001-03-08 Thread karakedi
ok here is the right one working : smt was wrong with the arrays i beleive : this one works :) -- 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

Re: [PHP] HELP!!! Date time problems!!!!

2001-03-08 Thread Pierre-Yves Lemaire
essage - From: karakedi <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 08, 2001 11:01 PM Subject: Re: [PHP] HELP!!! Date time problems > figured out the logic, > but still cant make it run > > i put this command : > > echo diff_date("

Re: [PHP] HELP!!! Date time problems!!!!

2001-03-08 Thread karakedi
upss sorry couldnt see your latest post. thx anywy :)) ""karakedi"" <[EMAIL PROTECTED]> wrote in message 98942f$qcd$[EMAIL PROTECTED]">news:98942f$qcd$[EMAIL PROTECTED]... > ok here is the right one working : smt was wrong with the arrays i beleive : > > > > // =

Re: [PHP] Help w/Cookie Problem

2001-03-15 Thread Jack Dempsey
just looking at what you said quickly, what about scope? if i can't access something inside a function, its usually because i haven't declared it global...does this not apply to cookies? jack Jack Sasportas wrote: > > If I have a cookie request in a function, and check the value of a > cookie,

RE: [PHP] Help needed - search problem

2001-03-15 Thread Boget, Chris
> If the keywords inputted from user are: "word2, word1", it > will reture News1 twice: That's because you are selecting all the records that match each single key word individually. > I want to search this table based on the Keywords. the code is: > $split = explode(" ",$keywords); > $Num = 0;

[PHP] HELP insert still dosn't work

2001-03-19 Thread Rudolf Frint
I want to insert the Values into my Database like this $handle = ora_logon("iusr@test","kiwi1"); $cursor1 = ora_open($handle); $query = "insert into internet_tmp select rv_ret($FF),$FF,$sesid,(sysdate+0.0021) from dual"; ora_parse($cursor1,$query) or die; ora_exec($cursor1); ora_close($cursor1);

Re: [PHP] Help with array creation

2001-03-20 Thread Yasuo Ohgaki
Just use $HTTP_POST_VARS and $HTTP_GET_VARS. (Recent PHP4 is always compiled with "enable-track-vars", if you are using older PHP set track-vars to true in php.ini) Read http://www.php.net/manual/en/language.variables.php and http://www.php.net/manual/en/language.variables.external.php Regards,

[PHP] HELP? HTTP HEADER GURUS etc?

2001-03-22 Thread brunatex
Hello, Not sure if this is exactly focused on PHP, but i thought some of you guys might know. The general problem: I want to be able to send SMS messages from my computer using one of the free SMS services. I want to be able to do this without logging on each time - i.e. from a program

[PHP] Help---using pdfs with PHP

2001-01-11 Thread Sam
This is the code I use if ($HTTP_ACCEPT_LANGUAGE=="en-gb") { header("location: URL/test.pdf"); exit; } but it doesn't work, whereas when I paste the URL into the browser, it works fine. Is there any reason for this? Thanks Sam Rose _

Re: [PHP] Help with IMAP_open please

2001-01-15 Thread Ignacio Vazquez-Abrams
On Fri, 29 Dec 2000, Dezider [iso-8859-2] Góra wrote: > I always get this error when trying to connect to the mailbox. I have > installed uw imap server. > > Warning: Couldn't open stream {localhost:143} in > /home/httpd/html/webmail/mailbox.php on line 12 > > Affected line is: > > $connection =

Re: [PHP] HELP WITH UPLOAD REQUIRED!!!!!!!!

2001-01-15 Thread Chris Lee
are you running php in safemode? according to http://php.net/manual/en/function.unlink.php unlink() may not work with windows servers, I have no personal experience with windows so I can not confirm this. have you tried http://php.net/manual/en/function.move-uploaded-file.php this might be bette

Re: [PHP] HELP WITH UPLOAD REQUIRED!!!!!!!!

2001-01-15 Thread Josh G
intoxication, intoxication to hangovers, and hangovers to... suffering. - Original Message - From: "Chris Lee" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 16, 2001 12:47 PM Subject: Re: [PHP] HELP WITH UPLOAD REQUIRED > are yo

Re: [PHP] HELP WITH UPLOAD REQUIRED!!!!!!!!

2001-01-15 Thread Alexander Wagner
Josh G wrote: > Unlink works on some installations, not others. I think it works on NT > but not 95 or perhaps the other way around. Why is this? Unlink is > hardly an unsupported system call in windows! Anybody know? Unlink comes from UNIX so it's probably supported by NT rather than Win9x. This

Re: [PHP] HELP WITH UPLOAD REQUIRED!!!!!!!!

2001-01-15 Thread Josh G
rs to... suffering. - Original Message - From: "Alexander Wagner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 16, 2001 1:01 PM Subject: Re: [PHP] HELP WITH UPLOAD REQUIRED > Josh G wrote: > > Unlink works on some installations, not others

Re: [PHP] HELP WITH UPLOAD REQUIRED!!!!!!!!

2001-01-15 Thread Alexander Wagner
Josh G wrote: > A rose by any other name would smell as sweet, and I'm sure I > remember deleting files back in my old dos days, not to mention > win95 ;-) Um, I suppose every OS does. (I deleted one file or another as well) However this was about unlink, wasn't it? Unlink, basically, is a UNIX

Re: [PHP] HELP WITH UPLOAD REQUIRED!!!!!!!!

2001-01-15 Thread David P. Schwartz
This is the same sort of error I'm getting. Try printing out the variables $userfile $userfile_name $userfile_size $userfile_type Telnet or ssh into your system and see if the file is getting transferred into the directory identified in $userfile. In my case, the upload file isn't getting save

RE: [PHP] HELP WITH UPLOAD REQUIRED!!!!!!!!

2001-01-16 Thread jdwright
Mike, I haven't had a problem. I'm using Apache 1.3.14 with PHP 4.0.3pl1 + 4.0.4. I use the same code on 3 computers (depending on where I am when I'm working on it. Normally it's Win95, but Win2k and WinNT are used as well. The snippet of code I use is: --code 1- list($scriptBase, ) = ex

Re: [PHP] Help with IMAP_open please

2001-01-16 Thread Alejandro Garin
--- Dezider Góra <[EMAIL PROTECTED]> wrote: > I always get this error when trying to connect to > the mailbox. I have > installed uw imap server. > > Warning: Couldn't open stream {localhost:143} in > /home/httpd/html/webmail/mailbox.php on line 12 > > Affected line is: > > $connection = IMAP_

[PHP] Cobalt Raq/PHP Help Needed

2001-01-18 Thread Gareth Davies
Hi all, this list to date has been extremely helpful and I thought you might be able to help with my latest problem. I have a Cobalt Raq and need to host many different domain names but have them all point to one directory. e.g. web site is called www.frogtrade.com - I am currently allowing va

[PHP] help me!! cookie and IIS

2001-01-18 Thread Giancarlo
i work with php3 and mysql in IIS webserver,my project in php work right on the localhost, but not in the other pc of the LAN, what can i do? the internet options enable Cookies. thank you? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

[PHP] Help with PHP Shell Scripting

2001-01-18 Thread Justin Yu
Hi, When I tried connecting to Postgres through a shell script that I wrote, I get the following error: "Fatal error: Call to undefined function: pg_connect()" After searching the web for a solution, I realized that I have to compile PHP into its CGI version. Currently, PHP is installed as an

[PHP] HELP: problem listing directory contents

2001-01-20 Thread Vahan Yerkanian
Greetings All! Recently I've been hit by a strange problem while coding a file indexing system. I have a source directory of the following format: /files/0-9 /files/0-9/0-90 /files/0-9/0-91 /files/a /files/a/a0 /files/a/a1 /files/b ... /file/z ok you got the picture I hope. nothing difficult. n

[PHP] Help With passthru, system, exec

2001-01-21 Thread Pete Lavetsky
Hi Everyone, I've been trying to write something to ping a URL on the system level, and keep the output in an array. I've been trying to work with system, exec, and passthru, but it looks as though they all return only the last line of the output. How would I put the whole output into the array

<    9   10   11   12   13   14   15   16   17   18   >