[PHP] include files

2003-12-19 Thread Todd
Hi, Is it possible under PHP4 to get the name of the file that a function was called from? To clarify, here's an example of what I'd like to do: --- main.php --- --- include.php --- Does anyone know of a way to do this? I've tried several different things, i

Re: [PHP] include files

2003-12-20 Thread Todd
This looks like it should do exactly what I need. Thanks for pointing that out. Marek Kilimajer wrote: > See function debug_backtrace(), it's available since 4.3.3 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Is the CGI-only Win32 binary compiled with --enable-sockets?

2001-05-10 Thread Todd
I'm trying the example client code under Socket Functions in the documentation and I get the error: Fatal error: Call to undefined function: socket() Is there any way to enable this? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

Re: [PHP] Is the CGI-only Win32 binary compiled with --enable-sockets?

2001-05-11 Thread Todd
I saw was "mysql.default_socket" which doesn't seem relevant. Any other ideas? Michael Stearne wrote: > If you make a page with phpinfo() you will see all the compile options > that were used for the particluar build you have (at the top of the page). > > Michael >

[PHP] Why is there no socket support for Win32?

2001-05-16 Thread Todd
If I am incorrect in this belief, please tell me how to enable this. -- 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] Opening a socket and sending GET data

2002-11-22 Thread Todd Cary
m not sure performing a manual request is necessary, but maybe it is. Chris --- Todd Cary <[EMAIL PROTECTED]> wrote: # now we build our query $query = "GET $abs_url" . "HTTP/1.0\r\n" . "Accept-Language: en-us\r\n". "Host: $host:$port\r\n". "Connection: close\r\n"; --

[PHP] Creating a report in PHP

2002-12-09 Thread Todd Cary
any thanks.. Todd --

[PHP] Linux and Graphics

2002-12-09 Thread Todd Cary
I am running PHP in a RedHat 7.3 environment and I notice that the graphic functions are not present.  Since I am quite new to Linux, I would appreciate it if someone could explain to me what I need to do to have graphic functions. Many thanks. Todd --

Re: [PHP] Linux and Graphics

2002-12-12 Thread Todd Cary
Are there any instructions on how to configure the GD libraries and compile PHP?  I guess then I will have to recompile Apache so that it includes the "new" PHP?? Todd Scott Hurring wrote: With RedHat, AFAIR you have to compile PHP from source *after* first configuring the GD

[PHP] Compiling PHP and RH Linux

2002-12-14 Thread Todd Cary
syntax and order for doing this? Todd --

[PHP] Equivalent to mysqldump in PHP

2002-12-20 Thread Todd Cary
Is there a function that can be implemented with PHP to do the equivalent of a mysqldump? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Installing PHP on XP

2002-12-26 Thread Todd Cary
   AddType application/x-httpd-php .php However, I get an error when Apache tries to load the dll.  Has any successfully installed PHP and Apache on Windows XP?  If so, what changes are made to the conf file? Todd --

[PHP] Running PHP on Windows OS

2002-12-31 Thread Todd Cary
I am having a problem getting Apache to load the php4apache.dll. I have tried putting the "/" and "\" in every way I can think of and I get an error that Apache cannot find c:/active_php/sapi/php4apache.dll (and it IS there). LoadModule php4_module c:/active_php/sapi/php4apache.dll I have even

[PHP] Running PHP on Windows OS

2002-12-31 Thread Todd Cary
security of XP and Win 2K SP 3 that does not let the dll load and run. Ever since I loaded SP 3 I have had problems - like many others! Now to figure why it will not let Apache load and run the dll? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Hello and help

2003-01-03 Thread Todd Barr
I am a PHP newbie, and I am having difficulty in getting my records to display here is my code \n"); print ("\n"); print ("\n"); print ("Calender \n"); print ("\n"); print("$result[meeting_name]\n")or die ("you suck"); mysql_close ($Link); ?> any help?

[PHP] I am a dullard

2003-01-07 Thread Todd Barr
Okay...I am now having difficulty with putting things INTO the database. The form is on another page, and links to this one. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Access

2003-01-28 Thread Todd Barr
Access Does anyone here have any idea how to connect access to PHP? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Access difficulties

2003-01-28 Thread Todd Barr
Hello, I have figured out how to connect it, I think But now I get this error

[PHP] MS Access

2003-01-28 Thread Todd Barr
I have it connected, now I am getting the following error Warning: SQL error: , SQL state 0 in SQLConnect in c:\program files\apache group\apache\htdocs\test.php on line 7 Any ideas?

Re: [PHP] MS Access

2003-01-28 Thread Todd Barr
I was just checking to see if the connection was working This one lacked a sql statment - Original Message - From: "Paul Roberts" <[EMAIL PROTECTED]> To: "Todd Barr" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, January 28, 2003 11:57

[PHP] HTML embedding

2003-01-30 Thread Todd Barr
Hello, I am having an issue. I am using an access database, where the names have whitespace. Now, when I try to generate a link within the php script I get just their first name But in the link itself I get the whole name so the html link looks something like this http://www.whatever.com/dave

[PHP] Bug?

2003-01-31 Thread Todd Barr
Hello all I am having issues passing vars in the url example here is my url http://localhost/tsatest.php?Sub_Task=2 and here is my code $link = odbc_connect( 'TSA','',''); $Query = "SELECT * from projects where sub_task='$Sub_Task'"; $Result = odbc_do($link, $Query); All this returns is a blan

[PHP] Html forms

2003-02-03 Thread Todd Barr
I am having difficulty putting results into an form Once the query runs, I have this for my output print ""; This results in an HTML error being apache finds an error AFTER the tag Any ideas?

Re: [PHP] Html forms

2003-02-03 Thread Todd Barr
Parse error: parse error in C:\apache\htdocs\tsadbatest.php on line 148 Its the line after the html ends - Original Message - From: "1LT John W. Holmes" <[EMAIL PROTECTED]> To: "Todd Barr" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, Febru

[PHP] Access GAH

2003-02-04 Thread Todd Barr
Hello folks, I was wondering if anyone had anyluck with empty fields in Access. Basically, I have an update page, and sometimes items are left blank on purpose. but when I click to update, it gives me an error, as some fields are left blank. Is this an access thing, or can I code around it. Th

[PHP] Php 4.3

2003-02-10 Thread Todd Barr
Hello, I am having issues after I upgraded from 4.0.5 to 4.3 Alot of my link pages were based in www.something.com/phptest.php?foo=9323 Now that I have upgraded, I get foo errors. It says that it no longer gets the foo value... how can I fix this? THanks -T

[PHP] LDAP error error

2003-02-21 Thread Todd Rosenberry
lderrno = ldap_errno($ldlink); print "ERROR: $lderrstr ($lderrno)\n"; } Thanks, - Todd

[PHP] Out of Range

2003-02-25 Thread Todd Barr
here is my code $Query = "SELECT Last_Login and Current_Login from Security where PM_ID=$_SESSION[ID]"; $Getdates = odbc_do($link, $Query); while(odbc_fetch_row($Getdates)) { $Last=odbc_result($Getdates, 1); $Now=odbc_result($Getdates, 2); Now I get an error that tells me that #2 is out

[PHP] Javascript

2003-02-25 Thread Todd Barr
I have tried this 3 different ways and none of them worked... I am trying to get javascript to generate a popup, with a variable passed along in the url. echo""; this doesn't work, neither does stopping PHP and then restarting... Blah, any advice on how to embed javascript?

[PHP] Displaying a file

2003-03-09 Thread Todd Cary
I want to display a file under program control in the same manner as one would with using an >a> tag e.g. Click here to open the Race Schedule In other words, if certain conditions are met, then I want to display the file. What is the best way to do that? Many thanks. Todd --

Re: [PHP] Displaying a file

2003-03-09 Thread Todd Cary
OK! This makes sense. What is the syntax to do b) output an appropriate header for the file type c) pass through the actual file contents if I were doing an HTML file - if I were doing a PDF file? Todd Justin French wrote: Same way image.php would do simular things to what view.php does

[PHP] Opening a file in a new window

2003-03-10 Thread Todd Cary
ld like to open the file in a new window and I am not sure how to do that. Todd -- Ariste Software, Petaluma, CA 94952 \n [EMAIL PROTECTED]

[PHP] Sockets and Header data

2003-03-11 Thread Todd Cary
application that can intercept the Socket stream? Todd --

[PHP] Sending a PDF page

2003-07-03 Thread Todd Cary
hat is the best solution for this? Todd -- <>

Re: [PHP] Re: Red Hat 9, Apache 2, and PHP

2003-07-03 Thread Todd Cary
I understand what has to be done, but I do not know the steps or syntax.  Is there documentation available for doing this? Todd -- <>

Re: [PHP] Re: Red Hat 9, Apache 2, and PHP

2003-07-04 Thread Todd Cary
Brad Pauly wrote: Todd Cary wrote: Linux is quite new for me, so please forgive me if my questions are rather basic. I have RH 9 installed and I want to add the Interbase extensions to PHP and then recompile Apache.  Conceptually I understand what has to be done, but I do not know

[PHP] Embedding an image in an email

2003-07-07 Thread Todd Cary
I would like to encode and embed an image in a file that can be emailed.  Is there some documentation on how to do this? Todd -- <>

[PHP] Opening a Window with JavaScript

2003-07-16 Thread Todd Cary
submitted.  Is there a way to prevent this?  Here is the code I tried: When the above is executed, the page is submitted, and I do not want that Todd -- <>

[PHP] PHP and SQL Server

2003-08-14 Thread Todd Cary
I have a client that insists that I use SQL Server as the DB (vs. MySQL or Interbase).  I have not used PHP's ODBC interface and I am wondering if anyone on this list has had experience with ODBC and SQL Server. Todd -- <>

[PHP] "Form Feeds" within a HTML table

2003-08-17 Thread Todd Cary
I am creating a "report" that the user can download and it is a HTML table.  Is there a way to put Page Breaks within the report so if the user prints it, it will page break a predefined places? Todd. -- <>

[PHP] Running DB on different server

2003-03-20 Thread Todd Cary
Can the DB be on a different server than the page server? Todd --

[PHP] Adding graphics library

2003-05-31 Thread Todd Cary
--with-apxs=/usr/sbin 36 ./configure --with-interbase=/opt/interbase --with-apxs=/usr/sbin/apxs What do I need to add to this to include the graphics library? Many thanks... Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Adding graphics library

2003-05-31 Thread Todd Cary
<<< You'll probably still want to get libjpeg and libpng, and link against them with the proper configure options. >>> What is the correct syntax to do all of the suggestions? Todd Martin Helie wrote: Well, not necessarily, since gd is included with php 4.3.x

[PHP] A recommended barcode program

2003-06-03 Thread Todd Cary
I would like to have a reccommendation for a PHP class that generates a barcode. Many thanks... Todd --

[PHP] This line does not execute...

2003-06-04 Thread Todd Cary
I am trying to get the Sample Barcode to run on my server, however the following line does not execute: echo ""; To see if it is executing, I have an "Echo" statement in the script. The image.php file is in the same directory as the other script files. What am I missing here? Todd --

Re: [PHP] This line does not execute...

2003-06-04 Thread Todd Cary
ot;; } Alex Ciurea wrote: did u made copy&paste with your code? yes? then why don't you try to use the path='image.php?blahblahmoreblah' no? then please give us more details about the error you're getting... good luck, Alex - Original Message - From: &quo

Re: [PHP] This line does not execute...

2003-06-04 Thread Todd Cary
ing in the php.ini file that would prevent image.php from executing?  I do have register_globals  = Off However, I get the variables with $HTTP_POST_VARS[] statements. Todd Marek Kilimajer wrote: How do you know it is not being accessed? You should output an image, and if it is not an image, br

Re: [PHP] This line does not execute...

2003-06-04 Thread Todd Cary
etting for register_globals : on or off. As i stated, my preference is to have it "off". Sorry for not setting register_globals = On right in the beginning...it would have saved a lot of time :-)!! Todd Alex Ciurea wrote: Ok Tod, this is what I understood so far: 1) image.php should generate f

[PHP] Is "gd" present?

2003-06-04 Thread Todd Cary
Is there a way to check within an application if the "gd" library has been installed? Todd --

[PHP] Using register_globals

2003-06-05 Thread Todd Cary
I have noticed that quite a few applications are designed with the assumption that "register_globals = Yes"; in other words, the application does not use $HTTP_xxx_VARS.  In contrast, I always retrieve my vars. Is there a preference? Todd --

Re: [PHP] Re: Is "gd" present?

2003-06-05 Thread Todd Cary
Wouldn't I then have to scan the results?  I use phpinfo() to checks the client's installation, but I would like to do it within the app. Todd Esteban Fernandez wrote: "Todd Cary" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED]...

[PHP] Generate PHP using PERL???

2003-06-10 Thread Todd Snyder
ending the filename with PHP. My hope is that their is some directive that I can output at the start that will invoke the PHP interpreter so that my output will be run as a PHP script rather than just HTML. Thanks, Todd Snyder Code 6093, 812-854-1685 Electrochemical Power Systems -- PHP General Ma

[PHP] Img to a stream

2003-06-10 Thread Todd Cary
ce($image, 50, 0, $firstpage); In other words, I want to put the barcode date into $data and I am not sure how to do this.  Any help is greatly appreciated. Todd --

Re: [PHP] Generate PHP using PERL???

2003-06-11 Thread Todd Snyder
ost wont load the perl modules though. The company is www.ipowerweb.com Anyway, the suggestion to make a system call looks like my best route for doing this. I also will take a fresh look at my code to see if I can divide it up better to make use of PHP for the image prior to running my perl scr

Re: [PHP] Generate PHP using PERL???

2003-06-11 Thread Todd Snyder
Below was their reply to me when requesting info about the imagemagick perl module >>Thank you for contacting iPowerweb technical support. >> >>We do have image magic for PHP, but the one for Perl we do not have and cannot >>install. You >>may or may not be able to shrink images. Contact the crea

[PHP] ereg_replace question

2003-06-11 Thread Todd Cary
eg_replace("\\[^\\]+$","",$fullpath) . '\\'; What have I missed? Todd --

[PHP] Validating a "money" input

2003-06-18 Thread Todd Cary
What is the best way to validate a "money" input?  For example, 3452.67 versus 3452..67. Todd --

[PHP] Scheduling tasks

2002-08-28 Thread Todd Pasley
Hi, I'm trying to work out how to schedule tasks in php. I would like to use at but are having a few difficulties. Does anyone have any suggestions on an alternate way to schedule a command to run on the system via php. Thanks a lot, Todd. -- PHP General Mailing List (http://www.ph

Re: [PHP] PHPSESSID on entry page only

2002-08-28 Thread Todd Pasley
thing happens to me, however, sessions are working fine throughout the entire site... just wondering.. is it actually inhibiting you from doing anything? todd. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] and or statement

2002-08-28 Thread Todd Pasley
be true. Is there something im missing? Todd > What is the "and" "or" statement in php? > > I need this to see if the first statement is whatever, and or the second > statement is whatever... > > if (!isset($PHP_AUTH_USER) "and

Re: [PHP] Class problem - Fatal error:

2002-08-28 Thread Todd Pasley
> Fatal error: Cannot redeclare class dmsql in It looks like you are after include_once http://www.php.net/manual/en/function.include-once.php Todd - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 29, 2002 2:48 PM Subje

Re: [PHP] SESSION ARRAY

2002-08-29 Thread Todd Pasley
> What is the proper syntax for storing an array in a session? > > is it $_SESSION["BILLARRAY"]=$ARRAY? Yep, providing youre using session_start() and session_register("_SESSION") you can assign any type of data, just like a regular hash. Todd. - Origin

Re: [PHP] How can I strip the code from HTML pages to extract thecontents of a HTML page.

2002-08-29 Thread Todd Pasley
fies the links for a recorder I am building. You could do something simular with it, although if you need the name, you might want... $search '/(.*?)<\/a>/im'; And $4 would be your name. I hope this helps. Todd. - Original Message - From: "Charles Fowler" &

Re: [PHP] Simple regexp

2002-08-29 Thread Todd Pasley
t allowing multiple character by using * or + or alternative - having A-Za-Z instead of A-Fa-F I hope this helps Todd. Note: I used /i to be non case dependant, maybe dropping it and having A-F as well would be quicker.. not too sure. - Original Message - From: "Adam Alkins" &l

[PHP] Useragent and file

2002-08-30 Thread Todd Pasley
this in PHP? By changing the useragent will this also resolve problems with javascript?, I'd like the target server to think that I can view/run it. Thanks heaps, Todd.

Re: [PHP] hide system output from header

2002-08-30 Thread Todd Pasley
You can use exec($command, $result); which will throw any stdout output into $result Im not sure if it works with stderr as well, you will have to try it :) Todd. - Original Message - From: "Mark" <[EMAIL PROTECTED]> To: <> Sent: Friday, August 30, 2002 7:06

[PHP] .scr Attachments

2002-08-30 Thread Todd Pasley
to be safe than sorry. There is a remote chance that it is not a virus, but i dont trust microsoft and i dont trust executable attachments. Cheers, Todd.

RE: [PHP] OT - .scr Attachments

2002-08-30 Thread Todd Pasley
t need this as well. Im sure you can relate. Todd. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Useragent and file [SOLN]

2002-08-30 Thread Todd Pasley
:) thanks to anyone who thought about replying :) Maybe this discovering might help someone else also, hence my post. Later, Todd. > -Original Message- > From: Todd Pasley [mailto:[EMAIL PROTECTED]] > Sent: Friday, 30 August 2002 6:19 PM > To: [EMAIL PROTECTED] > Subject:

RE: [PHP] Submit form from javascript code

2002-08-31 Thread Todd Pasley
Hi Instead of > retrun false; im sure you meant return false; The reason its working with confirm and the like is because of their return code which is actually true. Try changing it to return true, im pretty sure that will fix it. Cheers, Todd. > -Original Message-

Re: [PHP] SESSION ARRAY

2002-09-01 Thread Todd Pasley
Ooops, thats right. I should check over before i send i guess. Sorry, Todd > $_SESSION is a predefined variable, session_start() > session_register('BILLARRAY') should work though :) > > Keith Vance > Vance Consulting LLC > www.vanceconsulting.net > (206) 355-

RE: [PHP] using shell_exec

2002-09-01 Thread Todd Pasley
Use ; instead of | e.g. shell_exec("cd /change/to/dir; tar cvf /place/for/backup.tar files"); Todd. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Monday, 2 September 2002 9:40 AM > To: php-general > Subject: [PHP] using

RE: [PHP] using shell_exec

2002-09-01 Thread Todd Pasley
resources. Todd. > -Original Message- > From: Todd Pasley [mailto:[EMAIL PROTECTED]] > Sent: Monday, 2 September 2002 1:32 PM > To: Richard Kurth; php-general > Subject: RE: [PHP] using shell_exec > > > Use ; instead of | > > e.g. > > shell_exec("cd

RE: [PHP] Re: unexpected T_SL

2002-09-02 Thread Todd Pasley
sv/printwn/language.types.string.php#language.typ es.string.syntax.heredoc) It doesnt matter whether you use EOD or EOT or any other (naming convention compliant) identifier. I hope this helps, Todd. > -Original Message- > From: Voisine [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 3 September 2002 3

[PHP] LOC counters

2002-09-04 Thread Todd Pasley
r the appropriateness of LOC as a measurement, I have chewed up a lot of time with discussion over this so I'm not going to bite this time :) Thanks, Todd. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Editor

2002-09-21 Thread Todd Pasley
You can get vi/vim for windows, without a doubt the best editor of all time if you can be bothered learning the commands. Todd. > -Original Message- > From: Bryan McLemore [mailto:[EMAIL PROTECTED]] > Sent: Saturday, 21 September 2002 11:16 PM > To: PHP GEN LIST > Subjec

RE: [PHP] question about taking post to session

2002-09-21 Thread Todd Pasley
Sure you can, however, 1) u prob. want $_SESSION['name'] = $_POST['name']; 2) remember that if you are calling this within the scope of a function you will have to use $GLOBALS to declare $name as a global before you utilise session_register. Todd. > -Original Mes

Re: [PHP] Redirection

2002-09-22 Thread Todd Pasley
I use http://place.to.redirect.to> Todd. - Original Message - From: "Sascha Braun" <[EMAIL PROTECTED]> To: "PHP Mailingliste" <[EMAIL PROTECTED]> Sent: Monday, September 23, 2002 9:42 AM Subject: [PHP] Redirection Hi, I want to post a form a

RE: [PHP] export data to text file

2002-09-28 Thread Todd Pasley
ht be possible if you write an applet, otherwise, pretty much the only thing you should be able to write to the hard drive is a cookie. HTH Todd. > -Original Message- > From: Diana Castillo [mailto:[EMAIL PROTECTED]] > Sent: Sunday, 29 September 2002 12:03 AM > To: [EMAIL PRO

[PHP] imagecreatefromstring

2002-10-01 Thread Todd Pasley
string that will be in a valid format for use with imagecreatefromstring. Any help at all would be greatly appreciated. Cheers, Todd. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: inputbox?

2002-10-01 Thread Todd Pasley
What you seem to be looking for are the javascript functions, alert, confirm and/or prompt. for a billion examples see... http://www.google.com/search?num=20&hl=en&lr=&ie=UTF-8&oe=UTF-8&newwindow=1&; safe=off&q=confirm+alert+prompt&btnG=Google+Search Todd. >

RE: [PHP] Connect to oracle on another host

2002-10-01 Thread Todd Pasley
Try looking at the following paper, it looks very good. http://conf.php.net/pres/slides/oci/paper.txt HTH Todd. > -Original Message- > From: Juan Antonio Ruiz Zwollo [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 2 October 2002 11:28 AM > To: [EMAIL PROTECTED] > Subject

[PHP] SSH (again)

2002-10-14 Thread Alan Todd
pointers or sites they have found on this subject.. Thanks Alan Todd Webmaster : Gibhut.com icq : 159944 -- while( !asleep() ) sheep++; -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Need a better way...

2002-10-27 Thread Todd Cary
My coding is not very concise and I would appreciate suggestions on how to clean this up even though it works: /* MySQL to date */ function mysql_to_date($mysql) { $retval = ""; if ($mysql) { $parts = explode("-", $mysql); $mo = $parts[1]; $dy = $parts[2]; $yr = $parts

Re: [PHP] Graphics question

2002-11-07 Thread Todd Pasley
srand((double)microtime()*100); $anticache= md5(rand(0,999)); and then echo "\n"; Since this addition, i have never had a problem with cache, HTH Todd. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Quick question

2002-11-07 Thread Todd Pasley
Realistically, there is no difference. It is *slightly* quicker to parse, but thats about it. I think it was introduced to satisfy those that have used this type of syntax in other languages, like C and Perl (which users elsif). I usually use elseif as its a bit nicer looking (IMHO) Todd

[PHP] Converting "Time()" to date

2002-11-12 Thread Todd Cary
I have an array of months (monthList) that I use for a drop-down. I would like to initialize the month to "ThisMonth" using "time()". What is the best way to get "November"? from "time()"? Todd -- Ariste Software, Petaluma, CA 94952

[PHP] Multiple selections

2002-11-12 Thread Todd Cary
myvar=select2. Is it possible to get both values? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Multiple selections

2002-11-12 Thread Todd Cary
derstand you suggestion, which works like a champ, the use of the "[]" tells the interpreter to treat $myvar as an array. Todd Marco Tabini wrote: Sure! Just add [] to the end of the name of the field. PHP will return all the values in an array: Marco

Re: [PHP] Multiple selections

2002-11-12 Thread Todd Cary
be a problem. Todd David Rice wrote: On Tuesday, November 12, 2002, at 07:34 PM, Ernest E Vogelsinger wrote: Sure it is - just name the listbox control "myvar[]" (note the angle brackets). PHP will recognize this being an array, and you'll end up with $myvar = array(&#x

[PHP] crypt/MD5 Problem

2002-11-12 Thread Todd Hight
ith a sample C program and a Perl script, not to mention as I stated above PHP standalone works fine. Im not sure what's happening to prevent the porper crypt support from getting in. Any suggestions would be appriciated. System specs below. TIA!

[PHP] Opening a socket and sending GET data

2002-11-22 Thread Todd Cary
I am able to open a socket and send POST data, however I do not know the format of doing the same for the GET method.  Here is my POST Query: Query: POST http://209.204.172.137:80/_calendar/php/selectevent.php HTTP/1.0 Accept-Language: en-us Host: 209.204.172.137:80 Connection: close Content-

Re: [PHP] Opening a socket and sending GET data

2002-11-22 Thread Todd Cary
Chris - I must be missing something because when I execute the following code, open the socket, and send the query, the form that the info is going to gets created but it is corrupted.  Do you see any obvious error? Todd         if (!empty($request)) {       $path = $path

Re: [PHP] Opening a socket and sending GET data

2002-11-22 Thread Todd Cary
ery   $query = "GET $abs_url" .    "HTTP/1.0\r\n" .    "Accept-Language: en-us\r\n".    "Host: $host:$port\r\n".             "Connection: close\r\n"; Todd Chris Shiflett wrote: --- Todd Cary <[EMAI

[PHP] Using PHP and Apache's .htaccess files.

2002-06-20 Thread Todd Fernandes
stead of the generic 401 page. Any ideas on how to avoid the 401 page? Thank you, Todd

[PHP] No server var array, why

2002-07-09 Thread Todd Cary
. I have to get my information by calling what would ususally be the indexes e.g. $HTTP_SCRIPTNAME. Is there a switch I did not set? Todd -- Todd Cary Ariste Software 2200 D Street Extension Petaluma, CA 94952 707-773-4523 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Development Tools

2002-07-10 Thread Todd Cary
I agree completely. Here is an editor I like because it can be customized. http://www.gwdsoft.com/ Todd -- Todd Cary Ariste Software 2200 D Street Extension Petaluma, CA 94952 707-773-4523 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] IS THIS A BUG?

2003-08-27 Thread Steve Todd
Is it possible to define a variable, such as: $foo = "bar"; and then do as follows to create a totally different variable: $$foo = "text here"; this seems to mean $bar = "text here";. Is this a bug or can we legally use it. Steve

[PHP] Input area allowing text formatting

2003-08-31 Thread Todd Cary
I would like to provide the surfer with a text input area that would give a means of using bold, underline and different text colors.  Can this be done with PHP? Todd -- <>

[PHP] Java based HTML editor

2003-09-05 Thread Todd Cary
I would like to have a HTML editor on a Web site so the user can create HTML based text.  Google brings up too many matches when I type in "Browser HTML editor Java" that do not match my needs.  Does anyone have a suggestion? Todd -- <>

  1   2   3   4   5   6   7   8   >