Re: [PHP] Hex2Bin??

2002-04-30 Thread Joshua E Minnie
gt;news:[EMAIL PROTECTED]... > On Tue, 30 Apr 2002, Joshua E Minnie wrote: > > I know that there is a built-in function for bin2hex(), but does any body > > know have any code to do just the opposite, convert hex2bin? > > Check the first comment in the manual under bin2hex. >

Re: [PHP] Hex2Bin??

2002-04-30 Thread Joshua E Minnie
Expensive how? -josh "Bogdan Stancescu" <[EMAIL PROTECTED]> wrote: > I'd recommend writing a wrapper around base_convert, naming it hex2bin > and using that instead. base_convert() is way too expensive for this > purpose (you know that any hex figure is translated to exactly four > bits, so you

[PHP] Re: Variable Help.

2002-05-01 Thread Joshua E Minnie
Try using a link like this instead: http://www.danceportal.co.uk/charts.php?date=wk001-fri-18-jan-2002 Then you can use the variable $date and parse through the variable how you need it. -- Joshua E Minnie/CIO [EMAIL PROTECTED] Phone: 616.276.9690 Fax: 616.342.8750 Nextel: 616.862.2847 "

Re: [PHP] Re: PHP Editors

2002-05-01 Thread Joshua E Minnie
I develop my stuff in TextPad as well. You can download other syntax highlighting files as well, not just PHP. So if you develop in Windows and like to code in a text editor TextPad would be my definite recommendation. -josh "Miguel Cruz" <[EMAIL PROTECTED]> wrote: > On Wed, 1 May 2002, Liam Gi

[PHP] getting a function name of the calling function

2002-05-01 Thread Joshua E Minnie
Does anybody know of any constants or predefined functions that will retrieve the calling functions name? For example: -josh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Query > Close

2002-05-01 Thread Joshua E Minnie
Check the PHP manual for mysql_close Depends on how you opened it. Did you use mysql_pconnect or mysql_connect? Your answer should be in the manual. -josh "Christian Ista" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > What's happen if when I used

Re: [PHP] getting a function name of the calling function

2002-05-01 Thread Joshua E Minnie
I actually need it to print out the name of itself for error detection purposes. > > Does anybody know of any constants or predefined functions that will > > retrieve the calling functions name? For example: > > > > > function new_func($somedata) { > > echo "I am function ".get_func_name(); >

[PHP] Re: Query > Close

2002-05-01 Thread Joshua E Minnie
"Christian Ista" <[EMAIL PROTECTED]> wrote: >>Depends on how you opened it. Did you use mysql_pconnect or mysql_connect? > > mysql_connect Here is an excerpt from the manual http://www.php.net/mysql_connect The link to the server will be closed as soon as the execution of the script ends, unles

[PHP] Re: getting a function name of the calling function

2002-05-02 Thread Joshua E Minnie
much information about the error if it occurs? -josh "Cc Zona" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] (Joshua E Minnie) wrote: > > > Does anybody know

[PHP] bad row offset

2002-05-02 Thread Joshua E Minnie
I am a little confused with an error I am receiving on a function I am using. Here is the function: function get_user_data($user,$field) { # get_user_data is a base function assuming no errors have # been passed and will return the data of a specific field # based on the value of $user db_con

[PHP] Re: getting a function name of the calling function

2002-05-02 Thread Joshua E Minnie
"Cc Zona" <[EMAIL PROTECTED]> wrote: [snip] > A step up would be to use the error handling functions instead > . Then you can customize which errors get > reported to the user, under what circumstances, how, whether to forward the > reports to you as well, plus the oppor

Re: [PHP] Re: getting a function name of the calling function

2002-05-03 Thread Joshua E Minnie
"Miguel Cruz" <[EMAIL PROTECTED]> wrote: [snip] > I'm guessing he wants to do something like a stack trace to figure out how > a function managed to get itself called with bad data. > > With utility functions that may get called hundreds of times in a single > run, that would be some really handy

[PHP] mssql_prev_result()???

2002-05-03 Thread Joshua E Minnie
my data in the table. Here is some psuedocode of what I am trying to do: //fields to be filled by the user data that comes in from each query -- Joshua E Minnie/CIO [EMAIL PROTECTED] Phone: 616.276.9690 Fax: 616.342.8750 Nextel: 616.862.2847 "Don't work for recognition, but a

[PHP] trans-sid .. help

2002-05-15 Thread Joshua E Minnie
se it without disclosing the session id in the URL. If anyone could give me some sample code to help me alleviate the confusion, it will be greatly appreciated. I am using PHP 4.1.2 compiled as CGI on Windows NT 4.0 -- Joshua E Minnie/CIO [EMAIL PROTECTED] "Don't work for recognition, but

[PHP] header failing...

2002-05-15 Thread Joshua E Minnie
Can anybody tell me why a call to header would fail. What I mean by this is that it doesn't redirect at all. Here is a snippet of the code that I am using: http://www.somwhere.net/admin.php";); } ... ?> I am using PHP 4.1.2 on Win NT 4.0 -- Joshua E Minnie/CIO [EMAIL PROTECTED

[PHP] lists of headers

2002-05-17 Thread Joshua E Minnie
t; when my authentication fails. -- Joshua E Minnie/CIO [EMAIL PROTECTED] "Don't work for recognition, but always do work worthy of recognition." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] W2K SP2, PHP 4.2.1, IIS 5

2002-05-22 Thread Joshua E Minnie
Hey all, I have a problem, that I can't seem to find the answer to. I have checked the archives and the website, but to no avail. I have installed PHP 4.2.1 on my local machine with IIS running W2K Pro. When I run php -i, I get the html output expected. But when I try to open the simple ph

Re: [PHP] W2K SP2, PHP 4.2.1, IIS 5

2002-05-22 Thread Joshua E Minnie
gt; extension is setup as a CGI extension in IIS (pointing to php.exe). > > --Bruce "Joshua E Minnie" <[EMAIL PROTECTED]> wrote: > Hey all, > I have a problem, that I can't seem to find the answer to. I have > checked the archives and the website, but to no avail.

Re: [PHP] W2K SP2, PHP 4.2.1, IIS 5

2002-05-22 Thread Joshua E Minnie
, as from what you've > said everything seems to work individually, the pieces just haven't been > bound together. > > HTH, > Dw. > > Sqlcoders.com Dynamic data driven web solutions > - Original Message - > From: "Sqlcoders.com Programming Dept"

[PHP] Re: W2K SP2, PHP 4.2.1, IIS 5

2002-05-22 Thread Joshua E Minnie
I even tried adding the mime type for php (application/x-httpd-php). Argh. Thanks for all the help that you guys have provided thus far. -josh > Hey all, > I have a problem, that I can't seem to find the answer to. I have > checked the archives and the website, but to no avail. I have ins

[PHP] SNMP Queries and Leftover Sockets

2002-05-23 Thread Brian E. Seppanen
We recently implemented a snmp polling utility using PHP4.0.6 on RedHat Linux 7.2 with an Apache webserver. When people using the polling utility do a poll we get leftover sockets that do not seem to go away, and after a while the webserver needs to be restarted. Is there any way in PHP to

[PHP] Re: [PHP-INST] W2K SP2, PHP 4.2.1, IIS 5

2002-05-23 Thread Joshua E Minnie
:\PHP\extensions\php_mssql.dll' - The specified module could not be found. in Unknown on line 0 What I don't understand about this error is that the php_mssql.ddl is in that exact directory. Any suggestions? - Original Message - From: "Paul Ellison" <[EMAIL PROTECTED]>

[PHP] undefined variable...working in PHP 4.1.2 not 4.2.1

2002-05-23 Thread Joshua E Minnie
Hey all, I am having a problem that maybe some of you have had as well. I am using a session and when I pass the session variable to the next page it comes back as undefined. Is there some new syntax in 4.2.1 that I am missing, I thought that I made all the necessary changes. Here is the en

RE: [PHP] magic_quotes_gpc

2002-02-26 Thread Gonzalez, Zara E
I don't know if anyone has answered your question yet, but you should be able to use the ini_alter command. http://www.php.net/manual/en/function.ini-alter.php Zara -Original Message- From: Tim Thorburn [mailto:[EMAIL PROTECTED]] Sent: Monday, February 25, 2002 12:40 PM To: [EMAIL PROT

RE: [PHP] magic_quotes_gpc

2002-02-26 Thread Gonzalez, Zara E
Bah. I should read posts carefully when I answer them. Ini_alter is only in php4. Whoops. Zara -Original Message- From: Gonzalez, Zara E Sent: Tuesday, February 26, 2002 11:29 AM To: 'Tim Thorburn'; [EMAIL PROTECTED] Subject: RE: [PHP] magic_quotes_gpc I don't kno

[PHP] html output done without result of exec_shell

2002-02-28 Thread Gunther E. Biernat
the response and by then, the page is already done and the output of the command isn't included. I played around with the settings in php.ini, but none of them changed the problem. Maybe an Apache problem? What am I missing? Thanks in advance. Regards, Gunther E. Biernat --

Re: [PHP] html output done without result of exec_shell

2002-02-28 Thread Gunther E. Biernat
Wong wrote: >On Thursday 28 February 2002 19:09, Gunther E. Biernat wrote: >> Guys, >> >> I'm trying to output the result of a shell command within a page. Problem >> is, when it's a command with short execution time like echo shell_exec("ls >> -la

Re: [PHP] html output done without result of exec_shell

2002-02-28 Thread Gunther E. Biernat
Weird, built a newer apache version, and it runs like hell. Thanks for your help. On Thu, 28 Feb 2002 22:45:52 +0800, Jason Wong wrote: >On Thursday 28 February 2002 20:30, Gunther E. Biernat wrote: >> Hmm, yes, did so, even as the user that the webserver is running as. >> Swit

[PHP] Arrays/OOP

2002-03-05 Thread Joshua E Minnie
se($fp); return $event_list; } P.S. Please CC it directly to me, as I will receive the reply faster that way. Joshua E Minnie CIO [EMAIL PROTECTED] "Don't work for recognition, but always do work worthy of recognition."

Re: [PHP] Re: Arrays/OOP

2002-03-05 Thread Joshua E Minnie
Michael Kimsal wrote: > Joshua E Minnie wrote: > > > > > while(!feof($fp)) { > > $temp = fgetcsv($fp, 1024, ":"); > > $event_list[$i] = $event_object->init($temp[0],$temp[1],$temp[2],$temp[3],$temp[4],$temp[5],$t emp[6],$temp[7],$temp[8]); >

Re: [PHP] Re: Arrays/OOP

2002-03-05 Thread Joshua E Minnie
have attached the code. Joshua E Minnie CIO [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Arrays/OOP

2002-03-05 Thread Joshua E Minnie
Michael Kimsal wrote: > Still works - at least, I'm not getting the error you posted. Is there > something else we may be missing? What line(s) are causing a problem? > On line 21 of the corrected test file that I attached previously. Joshua E Minnie [EMAIL PROTECTED] -

[PHP] Arrays/OOP

2002-03-06 Thread Joshua E Minnie
This is for anyone who was following this post, I found a work-around for the problem I was having with my array of objects. The original code looked like this: function getEvents($filename) { //string $filename $event_list = array(); $event_object = new event(); $i = 0; @ $fp = fopen($

[PHP] require v. includes

2002-03-07 Thread Joshua E Minnie
I was just wondering if anyone could tell me when would be the time to choose require(), require_once(), or include(). I know a little bit about using each one, but I am just not sure if there is one that is better than the other in certain situations. -- Joshua E Minnie CIO [EMAIL PROTECTED

[PHP] Re: require v. includes

2002-03-07 Thread Joshua E Minnie
Thanks for the information, was definitely very helpful in clearing up that question. Joshua E Minnie [EMAIL PROTECTED] "Don't work for recognition, but always do work worthy of recognition." ~ Unknown "Michael Kimsal" <[EMAIL PROTECTED]> wrote in message

[PHP] Arrays/OOP again

2002-03-07 Thread Joshua E Minnie
$morning) && (current($retrieved)->beginTime < $night)) -- Joshua E Minnie CIO [EMAIL PROTECTED] "Don't work for recognition, but always do work worthy of recognition." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] General

2002-03-08 Thread Gunther E. Biernat
of a list with 1000 entries and 513 times the 'abc' item *g*). This seems to be trivial, but I just can't think of a simple and proper way to do it. Any ideas? Regards, Gunther E. Biernat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP/Apache/Windows question

2002-03-10 Thread George E. Papadakis
Hello , I am using PHP 4.x on Windows/Apache 1.3.x. Using the same confing on Linux , I can get something like index.php/something/anotherSomething/blah blah. Trying to do this @ windows just failes. I think it has to do with Apache look back feature which for some reason is not working on Windo

[PHP] problem with getdate()

2002-03-11 Thread Joshua E Minnie
uot;\$year = $year\n"; echo date("F jS, Y g:i a",$update); With this code the output is as follows, but I don't see why it is not giving me the $day: $hours = 10 $minutes = 27 $month = 3 $day = $year = 2002 February 28th, 2002 10:27 am You can see the code run from my server at

[PHP] registering $_REQUEST variables as session variables.

2002-03-11 Thread Gonzalez, Zara E
Hullo, I was just wondering if anyone knew an easy way to register all $_REQUEST variables as session variables. Or if there's not any easy way to do that, if there is an easier way than doing it this way for each variable: $a = $_REQUEST['a']; session_register("a"); $b = $_REQUEST['b']; sessio

RE: [PHP] Re: registering $_REQUEST variables as session variables.

2002-03-11 Thread Gonzalez, Zara E
TECTED] Subject: [PHP] Re: registering $_REQUEST variables as session variables. $_SESSION['from_form'] = $_REQUEST; -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176

[PHP] Another Session Question..

2002-03-12 Thread Gonzalez, Zara E
I asked a question the other day about turning $_REQUEST variables into $_SESSION variables...thanks, all who helped me with that... I have another question about assigning $_REQUEST variables to $_SESSION variables that I am hoping someone can help me out with Here is a snippit of code...

RE: [PHP] Another Session Question..

2002-03-12 Thread Gonzalez, Zara E
wouldn't work for me anyway. (http://www.php.net/manual/en/function.session-register.php) Zara -Original Message- From: Coggeshall, John [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 12, 2002 3:38 PM To: Gonzalez, Zara E Subject: RE: [PHP] Another Session Question.. If you are tr

RE: [PHP] Another Session Question..

2002-03-12 Thread Gonzalez, Zara E
On second look, perhaps it is working correctly. I wasn't incrementing my counter variable. Sorry to flood your mailboxes. Zara -Original Message- From: Gonzalez, Zara E Sent: Tuesday, March 12, 2002 3:47 PM To: 'Coggeshall, John'; '[EMAIL PROTECTED]' S

[PHP] Having problems doing a binary upload. open_basedir problem?

2002-03-17 Thread Jack E. Ambrose
I'm attempting to get file uploads via a HTML form to work. I've been working on this for a couple of days, reading the PHP.net manual, and searching the newsgroups and various web sites. Haven't come up with a solution to my problem. Basically I'm unable to upload any files to my web site. I

[PHP] Re: help with date formatting

2002-03-18 Thread Joshua E Minnie
ence in New York next week. > If you are using the mktime() to make a UNIX timestamp you could do something like this: -- Joshua E Minnie CIO [EMAIL PROTECTED] "Don't work for recognition, but always do work worthy of recognition." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Can anyone help me with this problem(uploads via a form)?

2002-03-19 Thread Jack E. Ambrose
I'm having a problem with file uploads via a HTML form. I've no luck getting it to work. After a bit of research I think I've determined that the problem lies with my host having safe mode enabled and setting a open_basedir that is outside my scope. Here is my upload test page which is a direct li

[PHP] Accessing form variables

2002-03-20 Thread Joshua E Minnie
I have a form with a menu which I need multiple select on. How does PHP handle this? I have to use $HTTP_POST_VARS["somevariable"] to access somevariable from the form. -- Joshua E Minnie CIO [EMAIL PROTECTED] "Don't work for recognition, but always do work worthy of reco

[PHP] page expired message

2002-03-20 Thread Gonzalez, Zara E
Is there any way to avoid getting this message when I hit back on my browser "Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit y

[PHP] Sessions

2002-03-20 Thread Joshua E Minnie
/default.php on line 10 Here is the code that is causing the problem. -- Joshua E Minnie CIO [EMAIL PROTECTED] "Don't work for recognition, but always do work worthy of recognition." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] sessions

2002-03-20 Thread Joshua E Minnie
) in /home/www/wildwebtech/cumc/default.php on line 10 This is the only code on that particular page, I just want to make sure that when they leave the site via my links that the session is destroyed. -- Joshua E Minnie CIO [EMAIL PROTECTED] "Don't work for recognition, but always do w

[PHP] T_STRING, T_VARIABLE, and T_NUM_STRING

2002-03-21 Thread Joshua E Minnie
I keep getting the following error message and I am just wondering what T_STRING, T_VARIABLE, and T_NUM_STRING mean. Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/www/process.php on line 20 -- Joshua E Minnie CIO [EMAIL PROTECTED]

[PHP] $HTTP_POST_VARS

2002-03-21 Thread Joshua E Minnie
] throw errors. Any suggestions would be greatly appreciated. -- Joshua E Minnie CIO [EMAIL PROTECTED] "Don't work for recognition, but always do work worthy of recognition." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Rollover not functioning

2002-03-22 Thread Joshua E Minnie
t;From: ".$HTTP_POST_VARS["email"]."\n"; mail($to,$subject,$body,$headers); @ $fp = fopen($filename, "r"); if(!$fp) { echo "Error: could not open $filename for reading\n"; exit; } $form = fread($fp, filesize($filename)); fclose($fp);

[PHP] regex expession problems

2002-03-27 Thread Carl E Shmidt
But hey, who doesn't have em eh? Anyway, here's my predicament. I want to look for either the string "http://"; or for 1 or more spaces in a string. Here's the regex I've got preg_match("/http:\/\/ | [[:space:]]/i",$valToEval); I can get each test case working individually, but as soon as I c

[PHP] regex

2002-03-27 Thread Carl E Shmidt
Now I'm looking to find 1 or more digits in an input: preg_match("[[:digit:]]",$valToEval); I'm passing the value "12" and this thing still returns 0. What's going on? Carl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Browser detection

2002-04-03 Thread Joshua E Minnie
. vbscript. javascript...1 javaapplets..1 activexcontrols.. beta.1 I am using IE 6.0 running PHP 4.1.2 binary for Windows. -- Joshua E Minnie CIO [EMAIL PROTECTED] "Don't work for recognition, but always do work

[PHP] MCAL for Windows

2002-04-03 Thread Joshua E Minnie
Does anybody know where I can find MCAL for Windows? -- Joshua E Minnie CIO [EMAIL PROTECTED] "Don't work for recognition, but always do work worthy of recognition." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Explode and Trim

2002-04-04 Thread Joshua E Minnie
[7]) && $stores[$i][7] != "") echo "Additional notes: ".$stores[$i][7]."\n"; echo ""; } } ---End of code snippit--- Here is the URL of where the code is being used: www.wildwebtech.com/acs/nuven/stores.php. The additional notes should only

Re: [PHP] Explode and Trim

2002-04-05 Thread Joshua E Minnie
Unfortunately it doesn't. That is why I am kind of puzzled by the situation. -- Joshua E Minnie CIO [EMAIL PROTECTED] "Don't work for recognition, but always do work worthy of recognition." "Maxim Maletsky" <[EMAIL PROTECTED]> wrote > > I think wh

Re: [PHP] Explode and Trim

2002-04-05 Thread Joshua E Minnie
It works great using the foreach statements, but for some reason couldn't make it work the other way. Oh well, no one ever said there was only one way to do things when programming. Thanks for your help. --- Joshua E Minnie CIO [EMAIL PROTECTED] "Don't work for recognition, but

[PHP] Having problems deleting an element from an array

2002-04-05 Thread Joshua E Minnie
] = explode(":", $data) as $key => $val) { $stores[$i][$key] = trim($val); } $i++; } $fp = @ fopen($storelist, "w") or die("Fatal Error: could not open $storelist for edit\n"); foreach($HTTP_POST_VARS as $key => $val) { unset($stores[$val]); }

[PHP] Array elements missing

2002-04-08 Thread Joshua E Minnie
=> Yet Another City [4] => (123) 283-4839 [5] => (123) 458-4843 [6] => [7] => [8] => ) ) Array ( [chk5] => 5 [Submit] => Delete Store(s) ) The script deletes the element that was requested delet

Re: [PHP] Array elements missing

2002-04-09 Thread Joshua E Minnie
Thanks for the suggestion. I did get it to work prior to your posting, but this does help slim up my code quite a bit. -- Joshua E Minnie CIO [EMAIL PROTECTED] "Don't work for recognition, but always do work worthy of recognition." "Jason Wong" <[EMAIL PROTECTED]&

RE: [PHP] Re: arguments against php / mysql?

2002-04-11 Thread Jack E. Ambrose
ng). If the server HAS to be Windows, use ActiveState's Perl or something else with a company behind it and just go down that road. Having PHP run poorly under Windows will just make PHP look bad, even if it's Windows' fault. Michael Kimsal http://www.phphelpdesk.com 734-480-9961 ___

[PHP] PHP/Mysql error handling

2001-11-04 Thread George E. Papadakis
would make debuggin much easier and without guessing.. So, is it possible? Thanks. -- phaistonian -- 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

[PHP] Apache / PHP Question

2001-11-04 Thread George E. Papadakis
Hello, In my lnx server I can do index.php/var1/var2/var3 I try the same exact thing in windows (using the same config (Apache/php) ) and it gives me internal server error. Any ideas? Thanks -- phaistonian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Referer Question

2001-12-05 Thread George E. Papadakis
ng. I could do it using some javascript and pass it to the php but that's not really acceptable. Thanks in advance, George E. Papadakis Project Manager Phaistos Networks S.A - http://www.phaistosnetworks.gr [EMAIL PROTECTED] T: +30 892 24450 F: +30 892 23206 - A DOL Digital Company -- P

[PHP] Creating tree using table?

2001-03-23 Thread E K L
rent, left child and right child. However, i still face problem in calculating the level of the tree. So, can any one gives me an idea on how to manipulate the table so that i will be able to count the level? Your prompt reply is much appreciated. Thank

[PHP] Header Problem...

2001-03-26 Thread E K L
put type to pass the value, but can it work without form and submit button?? I would appreaciate if you could give me suggestions and advice. thanks _____ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

[PHP] password

2001-03-27 Thread Marisol Díaz E.
Hi I need the code, for protecting the dir by password. Thanks Marisol Díaz E.

[PHP] [PHP-DB] ALTER TABLE - code not working.

2001-03-29 Thread Martin E. Koss
faultvalue"; $result = mysql_query ($SetDefault,$conID); It is NOT adding the column, and obviously not setting the default. Any help would be great, thanks. Martin. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: [PHP] Line breaks in PHP

2001-03-29 Thread Martin E. Koss
these line breaks so that the text will > be formatted on my web page as it was on my form. > > Thanks > > Matt. http://www.php.net/nl2br << Check out that function. that is what you need. Jason Lotito www.NewbieNetwork.net Where those who can, teach; and those who ca

[PHP] how to build a template??

2001-04-02 Thread E K L
gt;parse("main", "toplevel"); $tpl->FastPrint(); ?> error: Warning: Failed opening 'class.FastTemplate.php' for inclusion (include_path='.:/usr/local/lib/php') in /usr/local/apache/htdocs/tem.php on line 3 Fatal error: Cannot

[PHP] Please Help!

2001-04-02 Thread E K L
#x27;class.FastTemplate.php' for inclusion (include_path='.:/usr/local/lib/php') in /usr/local/apache/htdocs/tem.php on line 3 Fatal error: Cannot instantiate non-existent class: fasttemplate in /usr/local/apache/htdocs/tem.php on line 5 Please consult, thanks... E K _

[PHP] Edit crontab to set schedule..

2001-04-09 Thread E K L
-dump http://192.168.0.1/try1.php and i have this in mailbox when the scheduling failed: your terminal lacks the ability to clear the screen or position the cursor _ Get Your Private, Free E-mail from MSN Hotmail at http://www.h

Re: [PHP] Edit crontab to set schedule..

2001-04-09 Thread E K L
have this in mailbox when the scheduling failed: > > your terminal lacks the ability to clear the screen or position the > > cursor >wget has always worked well for me. > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: [EMAIL PROTEC

[PHP] Expand/parse variables in file

2001-06-25 Thread Gunther E. Biernat
uot;. Where's the difference to directly doing the following: $a = "whatever"; $b = "abc $a def"; echo $b; which results in "abc whatever def" ??? What am I missing? Thanks in advance. mit freundlich

[PHP] Creating domain and default page

2001-06-28 Thread E K L
sub-domain try.php.com and a default page index.php is created for that sub-domain. Thanks for advice.. _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP General Mailing List (http://w

RE: [PHP] Creating domain and default page

2001-06-30 Thread E K L
d the domain's 'zone' file >3) restart both 'named' and 'apache' >4) copy an 'index.php' into the subdomain's newly created directory. > >there are probably better ways to do it, but that's >how i add subdomains to my machine when i

Re: [PHP] Using PHP to test if server is online

2001-07-03 Thread Gunther E. Biernat
-) mit freundlichen Gruessen / yours sincerely Gunther E. Biernat Web Application Engineer __ RealNetworks GmbH Tel.: +49-40-415204-24 Weidestraße 128 Fax.: +49-40-415204-11 22083 Ham

RE: [PHP] Batch job in UNIX.

2001-07-05 Thread Gunther E. Biernat
mymysql, make it executable and call echo "insert into..." | mymysql Have I missed the problem? mit freundlichen Gruessen / yours sincerely Gunther E. Biernat Web Application Engineer __ RealNetworks GmbH

Re: [PHP] Re: Just like to know

2001-07-18 Thread George E. Papadakis
Is there any way to set the cookie overiding IE's security options? Thanks in advance, George Papadakis -- 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] auto-incrementing field

2001-07-18 Thread Gunther E. Biernat
>Can anyone tell me if a mySQL table column of type 'varchar' can be set to >auto increment. Nope. >Or does 'auto_incremement' only work on integers? Yep. mit freundlichen Gruessen / yours sincerely Gunther E. Bie

Re: [PHP] set var in PHP clarified

2001-07-18 Thread Gunther E. Biernat
> > >So, the title of the webpage would be "some title here"... > >How can I accomplish the same thing in PHP? mit freundlichen Gruessen / yours sincerely Gunther E. Biernat Web Application Engineer __ RealNet

[PHP] oracle

2001-07-19 Thread Marisol Díaz E.
Hi, I'm working with php4 and oracle in windows2000, I have problems with this variables. $lugar="D:\Oracle"; $bdd="orant"; PutEnv("ORACLE_SID=$bdd"); PutEnv("ORACLE_HOME=$lugar"); It don't work, I don't know what is the value of $lugar. Thanks. Marisol

[PHP] oracle

2001-07-19 Thread Marisol Díaz E.
Hi, I'm working with php4 and oracle in windows2000, I have problems with this variables. $lugar="D:\Oracle"; $bdd="orant"; PutEnv("ORACLE_SID=$bdd"); PutEnv("ORACLE_HOME=$lugar"); It don't work, I don't know what is the value of $lugar. Thanks. Marisol

Re: [PHP] oracle

2001-07-19 Thread Marisol Díaz E.
* from prueba"; $result1 = ociparse($conn,$consulta); ociexecute($result1,OCI_DEFAULT); while (ocifetch($result1)) { $NOMBRE=ociresult($result1,"NOMBRE"); echo "NOMBRE=$NOMBRE"; } OCIFreeStatement($result1); Por favor dime en que parte estoy equivocada

Re: [PHP] PHP & MySQL

2001-07-20 Thread Marisol Díaz E.
32 AM Subject: [PHP] PHP & MySQL > When you query a MySQL Database, how do you set the order alphabetically? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To

Re: [PHP] Problem installing PHP under NT service Pack 4

2001-07-20 Thread Marisol Díaz E.
ello! We have had a problem trying to install as ISAPI Module PHP. Allways appears with a down oriented red dot in Filters. The unique solution is configuring as CGI. Anybody can help? Thanks in advance... Emiliano H.Marmonti -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] php stand alone

2001-07-24 Thread Gunther E. Biernat
s able to do a HTTP request and exit (that's why the "-dump")) within your cron table, e.g.: 0 23 * * * lynx -dump localhost/path/to/some/php/robot.php > /dev/null mit freundlichen Gruessen / yours sincerely Gunther E. Biernat

Re: [PHP] Opening another page in code

2001-07-25 Thread Gunther E. Biernat
n.header.php";); as the FIRST output of that page. mit freundlichen Gruessen / yours sincerely Gunther E. Biernat Web Application Engineer __ RealNetworks GmbH Tel.: +49-40-415204-24 Weidestraße 128

RE: [PHP] File Upload Size Limits

2001-07-26 Thread Gunther E. Biernat
change the following entries in php.ini? > max_execution_time = 60 > memory_limit = 8M > >Is this an apache limit? I'm not sure what to do with this as I really need >to be able to transfer large files. mit freundlichen Gruessen / yo

[PHP] Listing files from a directory

2001-08-21 Thread Martin E. Koss
HP 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]

[PHP] Shell or http?

2001-08-26 Thread George E. Papadakis
Hi, Is there any way to identify if a php script is running through a shell or web? Thanks in advance. -- GeorgeP -- 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: [PHP] Shell or http?

2001-08-26 Thread George E. Papadakis
that can help me identify whether the script was sgi or web running. Thanks again. --georgep - Original Message - From: "Chris Lambert" <[EMAIL PROTECTED]> To: "George E. Papadakis" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, August 27, 20

Re: [PHP] Extra byte added to PDF streaming file

2004-07-26 Thread Larry E . Ullman
It appears as though some readers (such as adobe acrobat) can read this file fine yet others (such as the program gv in *NIX) cannot read it. The reason for this is that somehow a hex 0A is added before the inital %PDF-1.2 which marks the start of the PDF file causing some readers to not recog

Re: [PHP] Extra byte added to PDF streaming file

2004-07-27 Thread Larry E . Ullman
I've seen cases where extra buffer content gets added to the downloaded file. The problem was fixed by deleting any existing buffer before sending the file to the client. Not sure that will solve the problem but it's worth a shot. How does one delete an existing buffer? ob_end_flush();? ob_end_

[PHP] Spellchecking using MS Office spellchecker

2004-08-02 Thread George E. Papadakis
Hi all, Do you know if there is a way, class or anything else that could be used in order to use Microsoft's spell checker with php to spell check text? Aspell and Pspell are good alternatives, yet not as good as expected. Thanks in advance, GP -- PHP General Mailing List (http://www.php.net/) T

Re: [PHP] Does this beginner's book exist?

2004-08-30 Thread Larry E . Ullman
Does a book for complete beginners exist that also demonstrates basic good programming practices, has decent examples, and perhaps exercises/quizzes (not as important as the first two)? The newest edition of my PHP for the World Wide Web: Visual QuickStart Guide takes into account register globals

<    4   5   6   7   8   9   10   11   12   >