Re: [PHP] Accessing Files Outside the Web Root

2013-03-15 Thread Dale H. Cook
ring the copyright for my files with LOC, as my attorneys have advised. That will give my attorneys ammunition. Dale H. Cook, Member, NEHGS and MA Society of Mayflower Descendants; Plymouth Co. MA Coordinator for the USGenWeb Project Administrator of http://plymouthcolony.net -- PHP General Mailing

Re: FW: [PHP] Accessing Files Outside the Web Root

2013-03-15 Thread Dale H. Cook
script which actually delivers the file, as the latter script is located outside of the web root. Dale H. Cook, Market Chief Engineer, Centennial Broadcasting, Roanoke/Lynchburg, VA http://plymouthcolony.net/starcityeng/index.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Re: Accessing Files Outside the Web Root

2013-03-14 Thread Dale H. Cook
f the reasons why I do not sub any list in digest mode. :-) Dale H. Cook, Member, NEHGS and MA Society of Mayflower Descendants; Plymouth Co. MA Coordinator for the USGenWeb Project Administrator of http://plymouthcolony.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Accessing Files Outside the Web Root - Progress Report 1

2013-03-14 Thread Dale H. Cook
["DOCUMENT_ROOT"], and then using truncation and concatenation. Dale H. Cook, Member, NEHGS and MA Society of Mayflower Descendants; Plymouth Co. MA Coordinator for the USGenWeb Project Administrator of http://plymouthcolony.net -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Accessing Files Outside the Web Root

2013-03-14 Thread Dale H. Cook
her avoid dealing with registration. All in all, I'd rather use a server-side approach incorporating methods to differentiate between human visitors and bad bots. Dale H. Cook, Member, NEHGS and MA Society of Mayflower Descendants; Plymouth Co. MA Coordinator for the USGenWeb P

[PHP] Accessing Files Outside the Web Root - Progress Report 1

2013-03-14 Thread Dale H. Cook
lation (once I get the hang of some additional PHP string manipulation functions). Then I can move on to making my script bot-resistant before implementing it on my site. Dale H. Cook, Member, NEHGS and MA Society of Mayflower Descendants; Plymouth Co. MA Coordinator for the USGenWeb P

Re: [PHP] Re: Accessing Files Outside the Web Root

2013-03-14 Thread Dale H. Cook
h pages and the ways that humans deal with pages. Dale H. Cook, Member, NEHGS and MA Society of Mayflower Descendants; Plymouth Co. MA Coordinator for the USGenWeb Project Administrator of http://plymouthcolony.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

Re: FW: [PHP] Accessing Files Outside the Web Root

2013-03-14 Thread Dale H. Cook
accessing those external files from my script, and now I'm working out the parsing details that enable one script to access multiple external files. My approach probably won't defeat all bad bots, but it will likely defeat most of them. You can't make code bulletproof, but you can

Re: FW: [PHP] Accessing Files Outside the Web Root

2013-03-13 Thread Dale H. Cook
rcial domain, and I provide free hosting for other non-commercial genealogical works, primarily pages that are part of the USGenWeb Project, which is perhaps the largest of all non-commercial genealogical projects. Dale H. Cook, Member, NEHGS and MA Society of Mayflower Descendants; Plymouth

Re: FW: [PHP] Accessing Files Outside the Web Root

2013-03-13 Thread Dale H. Cook
curity settings imposed by Acrobat Pro. The use of robots.txt would succeed mainly in blocking major search engines, which are not the problem. Dale H. Cook, Member, NEHGS and MA Society of Mayflower Descendants; Plymouth Co. MA Coordinator for the USGenWeb Project Administrator of http://plymouthcolo

[PHP] Accessing Files Outside the Web Root

2013-03-13 Thread Dale H. Cook
tutorials that might help me? Remember that, aside from the code I have written to handle my SQL database I am a PHP novice. Dale H. Cook, Member, NEHGS and MA Society of Mayflower Descendants; Plymouth Co. MA Coordinator for the USGenWeb Project Administrator of http://plymouthcolony.net -- PHP

[PHP] protecting php from the hersh corporation

2008-04-15 Thread Dale Hersowitz
(hersh) and found no real errors. However, I want to make sure that hersh site is fully secure. Thanks for the advice. Thanks, Dale Hersowitz Hersh Corporaton hershonline.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] security for hersh site

2008-04-15 Thread Dale Hersowitz
(hersh) and found no real errors. However, I want to make sure that hersh site is fully secure. Thanks for the advice. Thanks, Dale Hersowitz Hersh Corporaton hershonline.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Another nube strugaling to get PHP working with Apache.

2005-09-03 Thread Dale Turner
I installed apache and it seems to be working. I installed PHP and ti seems to translate HTML but it dosent seem to understand PHP. Here is what is did; I modified the PATH=.. to PATH= .;C:\php5 i placed the PHP.ini file in the c:\php5 directory I made three modifacations to

[PHP] Help a Norwegian student!

2005-07-03 Thread Bjørn-Erik Dale
When I'm trying to open phpMyAdmin/index.php on my Apache server I get this text: "kan ikke starte mysqli tillegget, vennligst kontroller PHP-konfigurasjonen" witch is Norwegian for "can not start the myswli extension, please check the PHP-configuration" A link follows to: http://localhost/phpMyAdm

[PHP] sql & trim problem

2004-10-18 Thread Dale Hersowitz
to use the trim function to get rid of the extra chars. This problem has never occured before and I now find it quite annoying. Does anybody have any ideas? Thanks, Dale -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] problem with array

2004-10-14 Thread Dale Hersowitz
g is breaking all over the place. I don't have an answer. Any feedback would be greatly appreciated. Thx. Dale -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] cgi error --- please help

2004-01-28 Thread Dale Hersh
CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. I am getting this error and I can't figure out what is causing the problem. If I hit refresh on the broswer, the page loads just fine. Any ideas??? Thanks, Dale RUNNING IIS 6.0 & M

[PHP] CGI ERROR

2004-01-28 Thread Dale Hersh
CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. I am getting this error and I can't figure out what is causing the problem. If I hit refresh on the broswer, the page loads just fine. Any ideas??? Thanks, Dale RUNNING IIS6.0 & M

[PHP] CGI Error -- need some ideas

2004-01-28 Thread Dale
CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. I am getting this error and I can't figure out what is causing the problem. If I hit refresh on the broswer, the page loads just fine. Any ideas??? Thanks, Dale NOTE: RUNNING IIS 6.0 WITH

[PHP] CGI ERROR

2004-01-27 Thread Dale Hersh
CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. I am getting this error and I can't figure out what is causing the problem. If I hit refresh on the broswer, the page loads just fine. Any ideas??? Thanks, Dale -- PHP General Mailing List

[PHP] UNUSUAL PROBLEM WHEN WRITING TO THE SCREEN

2003-12-22 Thread Dale Hersh
For some reason when I echo data from my database, I can't display anything longer than 255 chars. As far as I can see, tt has nothing to do with my database. Is there something in the php.ini that limits how many chars you can write to the screen per variable. -- PHP General Mailing List (http:/

[PHP] PROBLEMS WHEN EXTRACING DATA FROM MSSQL DATABASE WITH PHP

2003-12-22 Thread Dale Hersh
I am using a mssql database. I don't think it is a database issue because I am able to update the database just fine. When I check the database it contains all of the text. When I try to extract the data using php, everything seems to get cut off. Any ideas? Thanks, Dale -- PHP G

[PHP] PRINT QUESTION

2003-11-24 Thread Dale Hersh
I know that in php there are a bunch of basic functions for opening a connection to a printer and then handling the printer queue and so forth. I would like to know how to take a string and echo that to the printer in php. Thanks, Dale -- PHP General Mailing List (http://www.php.net/) To

[PHP] FLOAT

2003-10-02 Thread Dale Hersh
: 15.33 Is there any way for me to easily manipulate the data so only 15.33 is displayed. Thanks, Dale -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] TIME

2003-09-02 Thread Dale Hersh
The battery on my server keeps on dieing, so the clock is not keeping time correctly. I was wondering is there any way to query some type of global time source in php? Thanks, Dale -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] STRING_FORMAT

2003-08-22 Thread Dale Hersh
I have looked in the online manual for mssql and it describes a function called string_format that will allow one to format your data stored in your database. I am just not sure how to use it in a select statement and I can't seem to find any examples of how to use it. Any ideas? Thanks,

[PHP] datetime

2003-08-21 Thread Dale Hersh
statement to convert the value Jun into the value 6. I appreciate any help. Thanks, Dale -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] curl question

2003-07-28 Thread Dale Hersh
instructions on how to install and integrate curl with php on a win 2k server. Thanks, Dale -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ARRAY QUESTION

2003-07-24 Thread Dale Hersh
on the array, I get a result of 0. Thanks, Dale -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] running a php script in /cgi from /web

2003-07-19 Thread Dale Walters
Tom Rogers wrote: Hi, Saturday, July 19, 2003, 10:31:04 AM, you wrote: DW> Folks, DW> I've searched through the archives of the general mailing list and DW> cannot find the answer to my question. My web hosting service requires DW> ALL scripts run from /cgi. I've tried putting and

[PHP] running a php script in /cgi from /web

2003-07-18 Thread Dale Walters
Folks, I've searched through the archives of the general mailing list and cannot find the answer to my question. My web hosting service requires ALL scripts run from /cgi. I've tried putting and

[PHP] STRING FORMATTING QUESTION

2003-07-16 Thread Dale Hersh
My question is regarding strings in php. I have this form in which the user fills in a description. The problem is that if the user uses any aprostrophe's or any other unusual characters in the form, the string can not be inserted into my ms sql database. Any ideas? Thanks, Dale --

[PHP] PROBLEMS WITH STRINGS & SQL DATABASE

2003-07-16 Thread Dale Hersh
This my problem: I have this insert statement in my code that works fine for all strings except strings that include the following characters: ' " Any ideas? Thanks, Dale -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] SQL SERVER QUESTION

2003-06-11 Thread Dale
chars and it wouldn't make a difference. The only real benefit is that I have seen that by making a column of type date, it allows you to easily compare dates. I don't see the benefit of making a colomon of type money though? Thanks, Dale -- PHP General Mailing List (http://www.php.net/)

[PHP] SESSION ISSUES

2003-06-08 Thread Dale
exist. The reason I am asking all these questions is that in my code I need the ability to do a re-direct to a secure site such as https://secure.test.com but still maintain all of the session variables and keep the same session open. Any ideas? Thanks, Dale -- PHP General Mailing List

[PHP] REDIRECT

2003-06-06 Thread Dale
Does anybody know of a way to redirect to another page once you have already outputted html to the screen. In other words, I want to output some text to the screen for 10 secs and then re-direct to another page. Thanks, Dale -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] problems?

2003-06-04 Thread Dale
2k server and is running php on iis 5.0 Thanks, Dale "Ed Gorski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Couple of clarifications Dale: > > Is this an internal intranet server? Can it be? > Do you have admin rights to the server? > What&

[PHP] problems?

2003-06-04 Thread Dale
the machine at work that the employees use to access this program does not have a static ip address. Is there any way to access the mac address in php. Any ideas? thanks, Dale -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] IDENTIFICATON

2003-06-03 Thread Dale
the machine at work that the employees use to access this program does not have a static ip address. Is there any way to access the mac address in php. Any ideas? thanks, Dale -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] general questions

2003-06-03 Thread Dale
would the array take on? Thanks, Dale -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mail function

2003-02-04 Thread Dale
I am trying to configure the php.ini file so that I can use the mail function in my code. The problem I am facing is that I get the following error message when I try to run my code: Warning: mail() [function.mail]: SMTP server response: 550 Relaying is prohibited Any suggestions? Thanks, Dale

[PHP] quick question

2003-01-30 Thread Dale
I need to specify a absolute path to a file on my harddrive, but you can't use backslashes in php. Right? Thanks, Dale -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] iis 5.0 question

2003-01-29 Thread Dale
executable from the php code, the executable doesn't seem to be working because I think the path being used is relative to my website not the hard drive. Any ideas? Thanks. - Dale Here the code is: Untitled Document -- PHP General Mailing List (http://www.ph

Re: [PHP] Problem with Date (2003-03-30)

2003-01-29 Thread Dale Schell
All parameters whould be integers. Unquote them and use intval to strip the leading zeros. On 1/29/03 11:51, "Gareth Mulholland" <[EMAIL PROTECTED]> wrote: > I'm having problems with mktime and Midnight on 30th March 2003. > > The code I'm using is: > > echo mktime(0,0,1,'03','29','2003'); >

[PHP] THANK YOU FOR THE HELP

2003-01-22 Thread Dale
I apologize for the caps. The suggested fix seems to have resolved all problems. I appreciate the fast response. Thank you. Sincerely, Dale -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] NEED HELP URGENTLY

2003-01-22 Thread Dale
100% SURE THAT I AM PASSING THE VARIABLE CORRECTLY. PLEASE HELP. THANK YOU. - DALE -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sessions and Frames...

2003-01-10 Thread Dale Schell
Thanks, that helped out a lot. One of those RTFM times. Dale On 1/10/03 10:24, "Marek Kilimajer" <[EMAIL PROTECTED]> wrote: > Dale Schell wrote: > >> List, >>I have a website that uses (too) many frames. At its most ugly, it will >> load 8 frames a

[PHP] Sessions and Frames...

2003-01-09 Thread Dale Schell
make other pages wait? Thanks for your help, Dale [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Error

2002-12-31 Thread Dale
I installed php or whether I need to somehow modify IIS so that variable initialization will work. Thank you. Sincerely, Dale -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PLEASE HELP

2002-12-30 Thread Dale
I installed php or whether I need to somehow modify IIS so that variable initialization will work. Thank you. Sincerely, Dale -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] 4.2.3 compile problem on OSX

2002-11-05 Thread Dale Schell
I had the same problems with 4.2.3. I was able to successfully compile 4.3.0-pre1 with little problems. Dale On 11/4/02 4:12 PM, "Kristopher Yates" <[EMAIL PROTECTED]> wrote: > Hello, > > I'm trying to compile PHP4.2.3 for Mac OSX 10.2 (Jaguar). Has anyone >

RE: [PHP] mysql_connect

2002-08-04 Thread Paul Dale
This is probably a mysql permissions issue not a php issue. If you have admin rights on that database GRANT ALL PRIVILEGES ON DATABASE_NAME.* TO USER_TO_ALLOW_CONNECTIONS_BY@HOST_TO_ALLOW_CONNECTIONS_FROM; (Where DATABASE_NAME is the mysql database to allow connections to, as in "use database

[PHP] Deleteing Something???

2002-07-24 Thread Dale
I've currently made a signature uploader. I know the code that shows a drectory's contents but whats the code to delete something? - Dale -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Image manipulation with PHP on RHLinux 7.1

2002-03-30 Thread Dale & Lora Marshall
... more code here to resize the image file ... ... and write it to a new location on disk ... } -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Dale & Lora MarshallInternet Marketing Services http://lonestar.texas.net/~marshal1 http://www.internet-ms.com [EMAIL PR

Re: [PHP] Image manipulation with PHP on RHLinux 7.1

2002-03-24 Thread Dale & Lora Marshall
o 300 pixels wide, again keeping the height proportional. And save that image elsewhere. Ideas? - Dale At 3/24/02 06:30 PM, you wrote: >This isn't image manipulation. This is filesystem manipulation. >As for the "resizing", check if you have mogrify with you Linux >install

[PHP] Image manipulation with PHP on RHLinux 7.1

2002-03-24 Thread Dale & Lora Marshall
this? I'm running PHP 4.1.2 on Red Hat Linux 7.1 Thanks! - Dale -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Dale & Lora MarshallInternet Marketing Services http://lonestar.texas.net/~marshal1 http://www.internet-ms.com [E

[PHP] Populating Dropdown with MYSQL data

2002-03-15 Thread Jeff Dale
I want to have a dropdown list populated with data from my MySql server. Any examples or websites that could help is appreciated. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Reminders

2001-03-15 Thread Dale Frohman
I have a web interface that will submit entries into a mysql db. These entries are things to do at certain times, an organizer. Is there a way for php to intelligently keep track of time and when the certain time of the event hits, to trigger an event - such as an email. Any help will be apprec

[PHP] dynamically accessing arrays at variable indexes

2001-03-09 Thread Dale Robinson
Hi, I need to access array values at varying dimensions. What I want to do is something like this: $full_index = ["op"]["view"]; print ${"HTTP_GET_VARS" . $full_index}; but that doesnt work :( A messy solution would be: function return_array_value($index1, $index2) { if ($index2) {

Re: [PHP] GD installed but imageFUNCTIONS dont work

2001-02-27 Thread Dale Frohman
i am getting similar errors when trying to run a script that requires GD. It is installed, supposedly but i get: Call to unsupported or undefined function imagettfbbox() any and all advice is helpful thanks dale On Tue, 27 Feb 2001, Helmut Ott wrote: > Hi, > hopefully somebody can h

[PHP] Php4 and GD

2001-02-26 Thread Dale Frohman
ecute a php script with imagettfbbox() i get: "Call to unsupported or undefined function imagettfbbox()' Any help on or off the list will be greatly appreciated. Thanks, Dale -- 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] crontab help

2001-02-22 Thread Dale Frohman
sleep is in seconds. so that would be 5 minutes. On Thu, 22 Feb 2001, Arnold Gamboa wrote: > hi, > > thanks again. questions: > > 1. sleep(300) would mean pause by 300 mins, right? That's why i thought you > mean usleep(300) - 300 microseconds. please comment > 2. what you mean is i will sen

[PHP] GD / FreeType2

2001-02-22 Thread Dale Frohman
27; '--with-zlib=/usr/local/lib' '--with-ttf=/usr/local/include/freetype2/freetype' and it compiled fine so did apache, but when i try to execute a php script with imagettfbbox() i get: Call to unsupported or undefined function imagettfbbox() Any help at all will be greatly

[PHP] resizing images

2001-02-21 Thread Dale Frohman
Does anyone know of a way to resize images as they are being uploaded? Would you write these images to a mysql database or straight to a file on the server? The pictures will be small < 100k Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: [PHP] solutions to disadvantages when register_globals is off

2001-01-21 Thread Dale Robinson
Thank for the extremely quick response, So setting error_reproting to E_ALL, and making sure you take heed of any "Undefined variable" notices, will allow you to use register_globals in safety? Regards Dale Robinson - Original Message - From: "Rasmus Lerdorf" &l

[PHP] solutions to disadvantages when register_globals is off

2001-01-21 Thread Dale Robinson
Everyone seems to recommend turning off register_globals, but accessing them through $HTTP_POST_VARS["var_name"], gets tedious. I haven't found a better solution (not to say there isn't one) than this small snippet. The idea is to turn off "register_globals", as I believe is heavily recommended