[PHP] Wikimedia - cookies

2006-05-18 Thread Christopher
I've built a front-end to display information from a wikimedia database that uses Text_Wiki and Text_Wiki_Mediawiki, but I can't seem to figure out how the wiki keeps track of its cookies and such. I would like to expand this to front-end so if it can pick up someone has logged into the wik

[PHP] $DOCUMENT_ROOT

2002-12-06 Thread christopher calicott
nstead of the normal c:\wwwroot... I've tried it both ways. the doc_root= setting in php.ini is set to c:\wwwroot and I've tried it both ways. Please help. I will dance at your wedding. Anybody Buehler? Buehler? -=- christopher -=- christopher -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Objects and Classes?

2002-12-11 Thread Christopher Raymond
// using it so that you can free up the memory space that it uses unset($template); // Destroys instance of object ?> HTML TEMPLATE FILE: My html template file might look like this:

[PHP] Re: Forms

2002-12-11 Thread Christopher Raymond
n place, but you are still having trouble gaining access to the variable, it may be that you are using a newer version of PHP which requires you to access the variable a different way. Try this: Hope this helps, Christopher -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Filter vulger / controversial words - need word source

2002-12-11 Thread Christopher Raymond
r any help or suggestions, Christopher Raymond -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Reading Registry

2003-01-09 Thread Christopher Ditty
Hello all. I don't think this is possible, but I wanted to ask to be sure. Is it possible to read and write to a web user's registry with php? I believe this can be done with CF and ASP, but I was not sure about PHP. A search turned up nothing usefull. Thanks CDitty -- PHP General Mailing

[PHP] PHP/Oracle Command line Segmentation Fault

2003-01-09 Thread Christopher Ditty
I have successfully installed oracle 8.1.7 w/ php and have it configured to run from the command line. When I run a simple script that connects, and selects records from the database, the last line is a segmentation fault error. This does not seem to happen when the same script is run through the

Re: [PHP] PHP/Oracle Command line Segmentation Fault

2003-01-10 Thread Christopher Ditty
Anyone? CDitty >>> "Christopher Ditty" <[EMAIL PROTECTED]> 01/09/03 04:04PM >>> I have successfully installed oracle 8.1.7 w/ php and have it configured to run from the command line. When I run a simple script that connects, and selects records from the databas

[PHP] Source Guardian

2003-01-10 Thread Christopher Ditty
Does anyone here use Source Guardian? I am about to purchase it and thought I'd ask before I do. Any problems using it? Thanks CDitty -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Cycle through multiple servers....

2003-01-23 Thread Christopher Ditty
Hello all. I have a few servers that I need to check during a login process. If the first server fails to connect, then I need to do server #2 and so on. Below is the code that I am using, but I am unable to get it to work like it should. Can anyone offer some advice on how this should be ac

[PHP] PHP FTP a security risk?????

2003-02-11 Thread Christopher Ditty
Hello all. I have a customer that purchased on of my scripts and attempted to install it on their server. This script, among other things, FTPs a text file from a central server. When we tried to run my script, it simply stops. No errors, no nothing. I talked to his host and found out that th

Re: [PHP] PHP FTP a security risk?????

2003-02-11 Thread Christopher Ditty
Unfortunately, I can only get the file via FTP. I just want to know where this other host got it's information. Chris >>> "Reuben D. Budiardja" <[EMAIL PROTECTED]> 02/11/03 01:35PM >>> On Tuesday 11 February 2003 02:11 pm, Jason Wong wrote: I agree with that. It's only a (potential) problem if

Re: [PHP] PHP FTP a security risk?????

2003-02-11 Thread Christopher Ditty
security risk. My concern is that this webhost is telling my customer that PHP FTP itself is a security risk when it does nothing more than act like ws-ftp. >>> "Chris Wesley" <[EMAIL PROTECTED]> 02/11/03 02:22PM >>> On Tue, 11 Feb 2003, Chris Wesley wrote: > O

[PHP] Version control, Bug Reporting, Forum, Mailing List

2003-02-26 Thread Christopher Hilling
Hi - I am trying to find an application which has the following creditials Version control - including extensions Bug reporting - including email submission Forum - for multiple projects Mailing list - for multiple projects Language - php Database - mySQL OS - windows and apachie UI - skinable Ve

[PHP] Testing for installed components....

2003-03-04 Thread Christopher Ditty
I am trying to write a small script that will test and report what PHP components are available on a given server. Is there a quick and easy way to do this? I know about php info, but I would prefer to have something that will spit hte information out in my format where the user can easily unders

[PHP] response.redirect

2003-03-07 Thread Christopher Myatt
is there any way to do a *response.redirect* call like in asp from a php script? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Text>Image

2003-03-08 Thread Christopher Smith
Greetings, I've recently searched newsgroup archives on how to convert text into an image. However, I cannot seem to find a clear example on how to create the image dimensions based on the size of a textfile and then once I create the initial image how to paint the text on the image based on how

[PHP] Re: Text>Image

2003-03-08 Thread Christopher Smith
I understand how to place the text on the image etc. Just not exactly sure how to make the image based on how big the text file I put into an array "Christopher Smith" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Greetings, > > I've recently sear

Re: [PHP] Encrypting/Compiling PHP Scripts

2003-03-12 Thread Christopher Ditty
There is also Source Guardian. If you need a program that will support an unencrypted configuration file, ie, user definable variables, this one will do it. Ioncube wouldn't last I looked and I can't speak for Zend. I have used this, but the end result has not been favorable. So far, I am runni

RE: [PHP] Splitting a string

2003-03-13 Thread Crane, Christopher
This is perfect. I was not sure how to use the brackets with a variable for position. Thank you very much Christopher J. Crane Network Manager - Infrastructure Services IKON The Way Business Gets Communicated 755 Winding Brook Drive Glastonbury, CT 06078 Phone - (860) 659-6464 Fax - (860) 652

RE: [PHP] Correct Coding

2003-08-14 Thread Crane, Christopher
Well this page will load and not always with that variable set. Is that ok, or will this code you put output an error. Christopher J. Crane Network Manager - Infrastructure Services IKON Document Efficiency at Work 755 Winding Brook Drive Glastonbury, CT 06078 Phone - (860) 659-6464 Fax - (860

[PHP] How to Return 403 Forbidden headers

2003-03-27 Thread Christopher Ditty
I have a customer that wants to return a 403 Forbidden header/page when certain conditions are met. I looked through the online manual and all the examples listed would not work. This is what I am using. header("Location: HTTP/1.0 403"); PHP tried to send the user to a "HTTP/1.0 403" webpage.

RE: [PHP] How to Return 403 Forbidden headers

2003-03-27 Thread Christopher Ditty
Thanks, but it returns a blank page. >>> "Matt Schroebel" <[EMAIL PROTECTED]> 03/27/03 09:52AM >>> > -Original Message- > From: Christopher Ditty [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 27, 2003 10:42 AM > To: [EMAIL PROTECTED]

[PHP] PHP Fusebox - Circuit within another Circuit

2003-05-29 Thread Christopher Ditty
We are using PHP Fusebox to develop one of our applications where I work. I have a descent-grasp on the whole fusebox concept, but I am having problems getting my head around how sub-circuits work. Can anyone offer any advice? When I go to the main fuseaction, all works fine. When I try to go to

[PHP] php5 and mysql licences

2003-06-30 Thread Christopher Speer
Christopher Speer ( Europe - Germany ) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] subtracting 2 time strings

2002-08-11 Thread Christopher Molnar
Help! I can't find reference to it in the manuals but I need to subtract to time strings. ex: time_in = 11:00 time_out = 13:45 job_time = 2:45 I have stored these times into mysql as a TIME type column (yeh... I know really dumb - but to much data at this point to loose). Does anyone have

Re: [PHP] subtracting 2 time strings

2002-08-11 Thread Christopher Molnar
Thanks! Worked perfectly! -Chris On Sunday, August 11, 2002, at 09:27 AM, Matt wrote: >> From: "Christopher Molnar" <[EMAIL PROTECTED]> >> Sent: Saturday, August 10, 2002 11:37 AM >> Subject: [PHP] subtracting 2 time strings > > >> Help! >>

Re: [PHP] MySQL - Creating The Database

2002-06-04 Thread Christopher Riordan
He'll Be Back, they all come back Chris - Original Message - From: "Jason Teagle" <[EMAIL PROTECTED]> To: "PHP Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, June 04, 2002 9:45 AM Subject: Re: [PHP] MySQL - Creating The Database > > - Original Message - > From: "David Freeman

Re: [PHP] PHP_AUTH_USER

2002-06-04 Thread Christopher Riordan
Set a Cookie then you can pull it out that way. PHP_Auth is based upon Cookies from what I was able to figure out. Chris - Original Message - From: "Fifield, Mike" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 04, 2002 9:59 AM Subject: [PHP] PHP_AUTH_USER > I have a b

[PHP] phplib, sessions and multiple dirs

2002-06-06 Thread christopher levine
greetings. i have a website running that has multiple user directories setup as HOST/username. Each subdirectory has its own subdir named "admin" where i'm using phplib to do the session/user management and authentication. the problem i'm seeing is that when i login to username1/admin, i'm

[PHP] Reading MSWORD Doc File Comments

2002-07-01 Thread Crane, Christopher
then again before and display that. I am not sure if something can be done with a MSWORD doc. Thanks in advance to anyone that can help me or chooses to comment. Christopher J. Crane Network Operations Manager IKON Office Solutions 860.659.6464 -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] Searching for string in text file help?

2002-07-01 Thread Cosby, Christopher
Try it this way. "; readfile($file); echo ""; } ?> Christopher S. Cosby SciCare Software Services > -Original Message- > From: Tim Loepp [mailto:[EMAIL PROTECTED]] > Sent: Friday, June 28, 2002 7:43 PM > To: [EMAIL PROTECTED]

[PHP] Undefined Offset Error

2002-07-02 Thread Crane, Christopher
list($StringE, $StringF)= split ("", $StringD); $StringE = str_replace("s/", "http://yahoo.com/s/";, $StringE); $StringE = str_replace("In the News"; // Keep this line, everything else can change for the output. print "$StringE"; // Ok to be suppres

[PHP] PHP Script Speed

2002-07-08 Thread Crane, Christopher
again and parse out this information causing it to be really slow? The old way was for me to call the function like and then the function would print out; Dow NASDAQ S & P $Dow_Current $Nas_Current $Snp_Current Which is faster? Which is better? Is there another way? Christopher J.

[PHP] using mail() - what is max number of email addresses I can specify in To field?

2003-10-22 Thread John Christopher
I am writing a script that will query a database table for some statistical information, and then email it (daily, weekly, and monthly) to a list of subscribers. I don't know ahead of time how many persons will be subscribed to receive the info (it could be 20 persons or 2000 or more). Email add

[PHP] Installing PHP on HP

2003-11-14 Thread Christopher Weaver
For learning purposes, can I install and run PHP on my XP Home Edition machine? If not that, how about an NT 4.0 Workstation? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php'ed mysql query

2001-01-16 Thread Christopher Allen
Hello, Can anyone tell me why this query errors out? It works from the mysql client command line just fine $query1 = "select * from zip_base where '$zip1' >= zip && '$zip1' <= CONCAT (SUBSTRING(zip , '1' , LENGTH (zip) - LENGTH (range)

Re: [PHP] php'ed mysql query

2001-01-16 Thread Christopher Allen
> If you are going to do a comparison from one of the fields in your table, > doesn't the field name need to be on the left hand side of the comparison? > So instead of "where '$zip1' >= zip", shouldn't it be "zip < '$zip1'" (et al > for the other comparisons in your query) . > Didn't matter. Is t

[PHP] decimal point movement...

2001-01-18 Thread Christopher Allen
up numbers...has anyone found a different or better way? Christopher C. M. Allen -- 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]

[PHP] Help, can't seem to get this write

2001-01-19 Thread Christopher Riordan
I'm trying to make it so I can download the image from a given URL and rewrite it locally on the server. I can connect to the server and get the image and display it. but as soon as I write it it doesn't work, I get either an empty image or a string holder. The code is bleow. the hard coding is ju

Re: [PHP] warning 1 is not mysql result index

2001-01-24 Thread Christopher Allen
I want to get the result from first row (the one next from ID field) of the table using $HotelName = mysql_result($resultHotel,0,1) or die(mysql_error()); A suggestion: Why don't you use mysql_fetch_row or any other function that reaches beyond just getting 1 field? this would be easier per

Re: [PHP] warning 1 is not mysql result index

2001-01-25 Thread Christopher Allen
> still did not work. Keep returning the same error when I do this: > $HotelName = mysql_fetch_row($resultHotel,1) or die(mysql_error()); what was your connection statement and query to the db? I would look to these ass the culprit heres an example : mysql_connect("localhost", "$username",

Re: [PHP] SQL Server DB to mySQL DB

2001-01-25 Thread Christopher Allen
Just did this to a 65mb fixed width file. What I did was get it into a csv file via perl :) Then I created the db table. Then I used: load data infile "/file.csv" into table blah fields terminated by ',' ; then go ahead and create any indexes etc... !works slick! > Is there an easy way to do th

Re: [PHP] Zend hit (Encoder price)

2001-01-26 Thread Christopher Allen
> Unfortunately, it's not that simple. > > You haven't factored in Support costs nor administrative overhead nor... > Well, I don't know what else the Marketing folks do when they figure these > things out, but that's why I'm not in Marketing, eh? Right it's not my game either (marketing), but

Re: [PHP] Best browser

2001-02-27 Thread Christopher Allen
J-, I have tested netscape communicator 4.76 with ssl extensively. no problems what so ever. Take a look at www.modssl.org for some of the common problems that are associated with Internet Explorer and ssl. >The users all have MS Win 95, 98, or NT. The > quality (ie. the 'bug-free-ness") of t

Re: [PHP] Best browser

2001-02-27 Thread Christopher Allen
- Original Message - From: Kurth Bemis <[EMAIL PROTECTED]> To: Jason Jacobs <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, February 27, 2001 9:43 AM Subject: Re: [PHP] Best browser > At 10:39 AM 2/27/2001, Jason Jacobs wrote: > > he's probably referring to the SSL code that the

[PHP] oohform validation help

2001-03-08 Thread Christopher Cheng
What should I put in for the parameter jvs_name of the oohform->start? Is that a name of another javascript file? Where can I get a sample script? I would like to make sure the clients put in something in the textbox. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] Advanced PHP

2001-03-09 Thread Christopher Allen
> The chicken did. > > as the Chicken is an actual chicken > and the egg is a potential chicken. > Actuality precedes potentiality amen brotha. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] T

Re: [PHP] FAQ

2001-03-15 Thread Christopher Allen
her section. > I have done it as recently as tuesday with implode. But this is getting nuts. > I guess I am frustrated because all the lists I am on are filled with lazy > people > who whine and want someone else to do all their work for them. PHP is not take it easy, christopher -

Re: [PHP] SOMEONE SHOOT ME!!!

2001-04-20 Thread Christopher Riordan
First off get php4.04p1 second you will need to hack the module code in apache before running configure. in src/modules/php4. edit the libphp4.modules file. and change c-client4 to c-client then rebuild apache. you should be all set then. for some reason c-client4 doesn't work. I just figured it o

Re: [PHP] SOMEONE SHOOT ME!!!

2001-04-20 Thread Christopher Riordan
ld be all set :) Chris ""Christopher Riordan"" <[EMAIL PROTECTED]> wrote in message 9bqfn3$onp$[EMAIL PROTECTED]">news:9bqfn3$onp$[EMAIL PROTECTED]... > First off get php4.04p1 second you will need to hack the module code in > apache before running confi

[PHP] Icq Message

2001-04-23 Thread Christopher Allen
Greetings: Anyone have a clue as how to send an icq message to a given ICQ number via a php-web-page? TIA. Christopher C. M. Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

RE: [PHP] checking if e-mail address and syntax are valid

2001-04-24 Thread christopher hamilton
I'd like to add to that, before someone spends a lifetime searching for an answer ... "Solution: There isn't one. You cannot do real-time validation of mail addresses. You must pick from a number of compromises." The section goes on describing how many RFC-valid addresses are undeliverable and

Re: [PHP] ssh

2001-05-14 Thread Christopher Ostmo
eebie I've seen. With the recent release of the SSH2 patents, I wouldn't be surprised to see some REALLY good SSH clients in the freeware community soon. Have fun... Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com For a good time, http://www.AppIdeas.com/ -- PHP General Ma

Re: [PHP] Is there a better way to do this

2001-05-16 Thread Christopher Heschong
on 5/16/01 5:10 PM, Richard Kurth at [EMAIL PROTECTED] wrote: > Is there a better way to do thisI want it to look and see if the > userdata file is there and if true the bypass everything else run rest > of code. If is not then check to see if userdat1 is and if it is > change it's name to us

Re: [PHP] - Hard return in readfile

2001-05-16 Thread Christopher Heschong
on 5/16/01 8:38 PM, Ray Iftikhar at [EMAIL PROTECTED] wrote: > I have many text files stored on my server. I call them use using the > "readfile" function. While that works great, it seems to over-write the hard > returns. This has hurt the format and readability of my information. > > ie. > tex

Re: [PHP] Escaping from "<"

2001-05-16 Thread Christopher Heschong
on 5/16/01 9:12 PM, Augusto Cesar Castoldi at [EMAIL PROTECTED] wrote: > I'm tring to print the variable "tmp", but the echo is just printing "abcd", > the rest he can't print. > > Why? > > regards, > > Augusto > > $tmp="abcd echo $tmp.""; > echo ""; > $tmp=addslashes($tmp); > echo $tmp.""; >

Re: [PHP] Uptime script?

2001-05-16 Thread Christopher Heschong
On Wednesday, May 16, 2001, at 09:47 PM, Ryan Christensen wrote: > No.. as I said in my original post, this is on Linux.. so I was actually > wondering how it would be a risk in Linux.. not win.. If you want to get the current uptime in Linux without a system() call, you should be able to fope

[PHP] is mod_php4 faster than mod_perl?

2001-05-19 Thread Christopher Leigh
i'm wondering if mod_php4 is faster than mod_perl. thank you, christopher -- 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]

[PHP] ok, are servlets/jsp faster than php4?

2001-05-20 Thread Christopher Leigh
ok, are servlets/jsp faster than php4? since zend cache isn't free... :( -- 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] Discussion board

2001-05-22 Thread Christopher Schreiber
I'd recommend taking a look at vBulletin... version 2 was just release and it is the most powerful PHP based discussion board available: http://www.vbulletin.com/ Hope this helps, -Original Message- From: Thomas Deliduka [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 22, 2001 3:10 PM To:

[PHP] writing to file quick and easy.

2001-05-23 Thread Christopher Allen
Thanks, Christopher C. M. Allen -- 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]

[PHP] Page Refresh

2002-04-23 Thread Crane, Christopher
is a lot of dynamic data displayed on the template page that changes. Which is the reason for the Meta Refresh to begin with... Christopher J. Crane Network Operations Manager IKON Office Solutions 860.659.6464

RE: [PHP] Page Refresh

2002-04-23 Thread Crane, Christopher
23, 2002 10:06 AM To: Crane, Christopher Subject: Re: [PHP] Page Refresh Importance: High i don't undertand why you have the meta refresh in there, but the porblem you have is simular to any one who clicks refresh on their browser... essentialy, what you want to do is after the DB insert,

Re: [PHP] compiling on freebsd

2002-04-24 Thread Christopher Riordan
php.net under installation there is a freebsd section. Christopher Riordan http://www.hal-9000.net - Original Message - From: "Larry Brown" <[EMAIL PROTECTED]> To: "PHP List" <[EMAIL PROTECTED]> Sent: Thursday, April 25, 2002 1:30 AM Subject: RE: [PHP] compilin

Re: [PHP] timezone problem

2002-05-21 Thread Christopher Riordan
I had a similar issue, for a thing I'm doing for a Messageboard I am writing I need the timezones and offsets, so I compiled the best I could off different sites and info, and created a Mysql Table with all the timezones and offsets. there are duplicate offsets but since people know their TZ as di

[PHP] Undefined variables

2002-05-30 Thread Crane, Christopher
; } elseif ($Task == "GetData") { function GetData(); print "$DataOutput"; } elseif ($Task == "CreateImage") { function CreateImage(); } else { print "Incorrect Variable or no Variable Supplies"; } Christopher J. Crane Network Operations Manager IKON Office Solutions 860.659.6464

[PHP] Is PHP used by U.S. Government? By U.S. DoD?

2002-05-31 Thread John Christopher
I would like to use PHP in a project for a United States Government client. The client is skeptical because PHP is not a Microsoft product. I'm looking for statistics and links that show that PHP *is* currently in use by the US Government. Is PHP used by the U.S. Department of Defense? Exampl

[PHP]

2002-05-31 Thread Crane, Christopher
; } $URI = 'http://quotes.nasdaq.com/quote.dll?page=xml&mode=stock&symbol='; $simple = implode( '', file("$URI$Sym")); $p = xml_parser_create(); xml_parse_into_struct($p,$simple,$vals,$index); xml_parser_free($p); //echo "Index array\n"; //print_r($in

RE: [PHP] XML HELP

2002-04-09 Thread Crane, Christopher
#x27;, 'EndHandler'); xml_set_character_data_handler($Parser, 'CharacterHandler'); if ( xml_parse($Parser, $Contents) ) { echo 'YES!'; } else { echo 'NO!'; } xml_parser_free($Parser); } print "1st Position in the array = $StockStuff[0]\

RE: [PHP] XML HELP

2002-04-10 Thread Crane, Christopher
arser = xml_parser_create('ISO-8859-1'); xml_set_element_handler($Parser, 'StartHandler', 'EndHandler'); xml_set_character_data_handler($Parser, 'CharacterHandler'); if ( xml_parse($Parser, $Contents) ) { echo 'YES!'; } else { echo 'NO!'; }

[PHP] Eval()??? A variables contents?

2001-11-09 Thread Christopher Raymond
7;s eval($commands) function? TIA, Christopher Raymond -- 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] Eval()??? A variables contents?

2001-11-09 Thread Christopher Raymond
get PHP to parse commands that are stored in a variable because I'm passing those commands to a function. Inside the function, it needs to evaluate the commands stored in the variable. Does you solution solve that or does my description clarify my problem better? Thanks, Christopher -- PHP G

[PHP] MORE INFO > Eval()??? A variables contents?

2001-11-09 Thread Christopher Raymond
/ This is executing the included function. break; default: Display_Default(); } Then there's the function that's located elsewhere in an include file: > Christopher <-- Still has no solution :-

[PHP] Newsgroup?

2001-11-15 Thread Christopher Raymond
Does anyone know: What's the deal with the newsgroup version of this list? I'm using news.php.net as the news server address, but all I get are error messages. Is this newsgroup still functional? Christopher Raymond --

Re: [PHP] Newsgroup?

2001-11-15 Thread Christopher Raymond
Hmm: It must be my client then. Christopher Raymond -- O A S I S N E T W O R K S -- INTERACTIVE FLASH MEDIA PRODUCTION HTML, JAVASCRIPT, PHP & E-COMM

[PHP] select as

2001-04-08 Thread Christopher Allen
Greets: I have a bit of php code that looks for a matching user/pass in a mysql table. There are three user/pass phrases in the table along with a an email that corresponds to each user/pass pair. Is there any way to construct a query that will do both the matching of the user/passes and also th

Re: [PHP] URL Encode >

2001-04-09 Thread Christopher Allen
In one page from a series of pages where I am building arrays for future use: $item4_array = urlencode (serialize ($item4_array)); echo ""; --- On my last page I send an email so I need the info that was stored: $item4_array = unserialize(urldecode($item4_array)); $message .=" DIMS: L $item4_a

Re: [PHP] Multipe Tables, Single Query Problem

2001-06-19 Thread Christopher Ostmo
hould consider picking up the book called "MySQL." It covers this sort of thing rather well. Good luck... Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Meeting cutting edge dynamic web site needs For a good time, http://www.AppIdeas.com/

RE: [PHP] Multipe Tables, Single Query Problem

2001-06-19 Thread Christopher Ostmo
Simon Kimber pressed the little lettered thingies in this order... > > Christopher Wrote... > > You need to be able to tie at least one field from each table to > > one other > > field in another table, and then you can have a query like: > > > > SELECT

Re: [PHP] mailform loop

2001-06-20 Thread Christopher Ostmo
dslashes($val); $val = htmlspecialchars($val); You may also need to perform these functions on $key, depending on your needs. If you want to put the entire message into the DB, you can insert $Message at the end of the script or individual values can be inerted using the $key = $val pairs.

Re: [PHP] Parse PHP inside a variable

2001-06-21 Thread Christopher Ostmo
> > Checkout eval() http://www.php.net/manual/en/function.eval.php The second user contributed note contains an example of how to do this. Good luck... Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Meeting cutting edge dynamic web site needs For a good time, http://www.AppI

Re: [PHP] mcrypt_cbc()

2001-06-22 Thread Christopher Ostmo
> Thanks, > Tyler > --with-mcrypt = [DIR] You must have libmcrypt installed on your system (not the entire mcrypt program, just the libraries) prior to compiling PHP. Get it here: http://mcrypt.hellug.gr/ Good luck... Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Meeting cutting

Re: [PHP] Sessions vs Cookies?

2001-06-22 Thread Christopher Ostmo
PHP's sessions, you let PHP do the work for you. Check out: http://www.php.net/manual/en/ref.session.php Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Meeting cutting edge dynamic web site needs For a good time, http://www.AppIdeas.com/ -- PHP General Mailing List (http://www.

RE: [PHP] Sessions vs Cookies?

2001-06-22 Thread Christopher Ostmo
a database and possibly match it up with a valid login in that database entry. Doing the session coding yourself is a waste of time. You're not likely to find a more reliable session tracking solution than what's built into PHP4 as long as HTTP connections remain stateless. C

Re: [PHP] Safe_mode in certain directories

2001-06-22 Thread Christopher Ostmo
t; php_admin_flag safe_mode On > > Do those directives work in .htaccess files too? > According to: http://www.php.net/manual/en/configuration.php ""Admin" configuration settings can only be set from within the main Apache configuration files, and not from .htaccess fi

Re: [PHP] PHP authenticating and session management

2001-06-22 Thread Christopher Ostmo
h requesting IP addresss, log both into a database and check both for each page request. If the data being accessed is *that* important that a hacker would go through that much trouble to hijack a session, you probably should consider using SSL. Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas

Re: [PHP] variables / reading files

2001-06-23 Thread Christopher Ostmo
an e-mail message, you probably want to add line breaks after each line: $message .= $var."\n"; Check out string operators: http://www.php.net/manual/en/language.operators.string.php and assignement operators: http://www.php.net/manual/en/language.operators.assignment.php Good luck..

Re: [PHP] Filtering out \ when a ' is user entered?

2001-06-28 Thread Christopher Ostmo
d you know they will) php always shows it from the included web log > as > > \' How can I filter out these backslashes so they don't appear on the > final public viewable page? > $var = stripslashes($var); echo $var; or echo stripslashes($var); http://www.php.net/manua

Re: [PHP] How to get PHP to do a POST??

2001-06-28 Thread Christopher Ostmo
on their web site that processes shipping costs and have a PHP socket bring the results back to your web browser. This elimnates the need to simulate a button click. I have done this, but I am not yet at liberty to release the code to the public domain. It isn't difficult if you know

Re: [PHP] Stopping stolen / spoofed / linked sessions

2001-07-02 Thread Christopher Ostmo
(assuming that you believe that it's reasonable that someone can look over another's shoulder and write down a 20 character string without the first person noticing). Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Meeting cutting edge dynamic web site needs For a good time, http://

Re: [PHP] mySQL reset auto_increment

2001-07-02 Thread Christopher Ostmo
ment field in this table, you're really going to mess things up regardless of how you resequence these values. If no other tables interact with this one (or if you can easily and manually recreate the interactivity), you shouldn't have any problems. Christopher Ostmo a.k.a. [EMAIL PRO

[PHP] Deleting a string from a text file

2001-07-03 Thread Stevenson, Christopher
Hello, folks. I'm relatively new to this. Would anyone be willing to give me some code that will delete the first occurrence of a string from a text file? Thanks, Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: [PHP] Security of PHP code

2001-07-04 Thread Christopher Ostmo
he goal. 2) Only do business with providers that will (even if you have to request it) disable these commands AND chroot jail all logins. Have fun... Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Meeting cutting edge dynamic web site needs For a good time, http://www.AppIdeas.com

Re: [PHP] Security of PHP code

2001-07-04 Thread Christopher Ostmo
ls or separate scripts for each directory that you wish to allow, but nobody will ever get your /etc/passwd file. Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Meeting cutting edge dynamic web site needs For a good time, http://www.AppIdeas.com/ -- PHP General Mailing List (http://www.php

Re: [PHP] RE: Protecting from session hijacking

2001-07-04 Thread Christopher Ostmo
NG you send over the netowrk (including the value of a session ID that is being sent as a cookie value, the username and password for a telnet session, the username and password for an FTP session, etc). Packet sniffers are incredibly easy to find, get and use (even for "script kiddies

RE: [PHP] Security of PHP code

2001-07-05 Thread Christopher Ostmo
HAVE to do one of two things: 1) Strip or otherwise block forward slashes and/or consecutive periods. 2) Declare the file path before the show_source() call and disallow consecutive periods (".."), forward slashes or both. This is the method used at slashdot. Christopher Ostmo a.k

RE: [PHP] Security of PHP code

2001-07-05 Thread Christopher Ostmo
e also. > > -Original Message- > > From: Christopher Ostmo [mailto:[EMAIL PROTECTED]] > > Sent: 5 iulie 2001 19:57 > > To: Adrian Ciutureanu > > Cc: [EMAIL PROTECTED] > > Subject: RE: [PHP] Security of PHP code > > > > > > Adrian Ciutur

Re: [PHP] Redirect

2001-07-06 Thread Christopher Allen
look in manual for HEADER and LOCATION - Original Message - From: "Vicor SpÄng Arthursson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 06, 2001 11:43 AM Subject: [PHP] Redirect > Hi! > > Still new on PHP, converting from vb$cript, I wonder how I do a > redirect... > >

Re: [PHP] hey, got a question....

2001-07-06 Thread Christopher Allen
what's the OS? - Original Message - From: "ReDucTor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 06, 2001 11:34 AM Subject: [PHP] hey, got a question i can't seem to access certain ports, through a nat program i have setup on the computer here with the net, but i

  1   2   3   4   5   6   >