RE: [PHP] Problem: Only 1 fsockopen() connection for apache at a time.

2002-12-03 Thread Roedel, Mark
versions of Windows in particular have a limit as to how many simultaneous connections the tcp/ip layer can support...) --- Mark Roedel | Blessed is he who has learned to laugh Systems Programmer| at himself, for he shall never cease LeTourneau University | to be entertained. Longview

RE: [PHP] About Speech

2002-11-30 Thread Mark Charette
changes to anything. Just create an ANCHOR link to the file and it'll be sent on its merry way when the user clicks on the link. Mark C. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mysql - xml

2002-11-26 Thread Snijders, Mark
hello, For connection data between my site, and another site, I need to export my MySql data to a XML file. Does anybody know any excisting scripts for this? so I don't have to make it all myself? Thanks, Mark Snijders -- PHP General Mailing List (http://www.php.net/) To unsubscribe

RE: [PHP] Ip address as 32bit int?

2002-11-22 Thread Mark Charette
From: Noodle Snacks [mailto:[EMAIL PROTECTED]] the reason I ask is because it is alot more efficient space wise in a db to be storing a 32bit number rather that a char or varchar field. While it is more efficient space-wise (4 bytes vs. 12 bytes), the price of the additional disk storage

Re: [PHP] Unlink

2002-11-20 Thread Mark Charette
On Wed, 20 Nov 2002, JohnMeyer wrote: Does unlink work with wildcards e.g unlink(somefile*.*); No. unlink() is a thin veneer on the system unlink() call. Wildcard expansion like you have it is done by a shell glob function. You would need to replicate what the shell does - use it as a regular

Re: [PHP] is this not possible?

2002-11-19 Thread Mark
completely (which means you don't have to worry about people disabling javascript). -Mark - Original message - From: Jeff Bluemel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Mon, 18 Nov 2002 17:24:52 -0700 Subject: Re: [PHP] is this not possible? here's the URL if case somebody decides

RE: [PHP] Fractions

2002-11-16 Thread Mark Charette
You gotta be kidding me, no? When did you learn decimals? I think I started by 3rd or 4th grade ... -Original Message- From: Stephen [mailto:[EMAIL PROTECTED]] Sent: Saturday, November 16, 2002 1:36 PM To: PHP List Subject: [PHP] Fractions I'm wanting to make a simple PHP

RE: [PHP] Fractions

2002-11-16 Thread Mark Charette
Well, seeing as you're in the 7th or 8th grade (at least according to your Website) - my sincere apologies ... Just use 5.0/9.0 in your formula. Mark C. -Original Message- From: Stephen [mailto:[EMAIL PROTECTED]] Sent: Saturday, November 16, 2002 1:36 PM To: PHP List Subject

[PHP] register_globals off issues

2002-11-12 Thread Mark Spohr
unset the $_POST['form'] array element. Does anyone have any suggestions on how to fix this? I know I'm probably missing a few very obvious things here... but I am a newbie. /Mark -- Mark H. Spohr email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe

RE: [PHP] Wildcard search

2002-11-08 Thread Mark Charette
-Original Message- From: Mako Shark [mailto:phpman2000;yahoo.com] do I have to do a readdir() and read the filename of every file until I find an HTML or until all files have been read. This is what the shell expression supplied by Marco Tabini actually does; doing it in PHP

[PHP] Please Help: PHP Cookies Problem on localhost

2002-11-05 Thread Mark Brown
Hi there, the php.net site said I should email you with problems. The basic issue is that I have a user logon screen which works on a remote server but not when developing on the same machine that is a local server. I hold the username and passwords on mysql and ask the user for their username

RE: [PHP] Re: XSLT Sablotron output

2002-11-03 Thread Mark Charette
valid, since HTML isn't required to have newlines and of course newlines within text blocks aren't preserved anyway ... Mark C. -Original Message- From: Daniele Baroncelli [mailto:ubimmc93;libero.it] Sent: Sunday, November 03, 2002 2:48 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: XSLT

RE: [PHP] Re: File Random Access

2002-10-30 Thread Mark Charette
) . Mark C. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] form arrays not populating $_POST

2002-10-29 Thread Mark Heintz PHP Mailing Lists
I'm having a problem where $_POST is being populated with the values of a set of checkboxes after moving the script to a new server. The checkbox values appear in the raw post data, the proper number of indexes are created, but the data does't make it into the superglobal. The form similar to

Re: [PHP] form arrays not populating $_POST

2002-10-29 Thread Mark Heintz PHP Mailing Lists
from the array. Mark. On Tue, 29 Oct 2002, Kevin Stone wrote: I Copy and Pasted your code directly from this email and tested it. $GLOBALS['HTTP_RAW_POST_DATA'] never gets set, but the rest of it worked fine. Curious. -Kevin - Original Message - From: Mark Heintz PHP Mailing Lists

RE: [PHP] MySQL and images

2002-10-29 Thread Mark Charette
) and keeping the image data from being buffered into the database server's memory space can make storage within the database almost as efficient as file storage. Mark C. Mark C. -Original Message- From: Rick Emery [mailto:remery;emeryloftus.com] In order to speed-up queries

RE: [PHP] How many is too many?

2002-10-25 Thread Mark Charette
I'm storing somewhere over 100,000 separate articles on my site, using ht://dig to index them. They're organized as //MM/nn. No performance problems to speak of on a pretty popular non-commercial site (2-3 pageviews/sec, 24x7) whether they just browse through the directories or or use

[PHP] preg_grep

2002-10-15 Thread Mark Harwood
Hi All, I've written a inifile class and was trying to improve it but got stuck trying to read all the sections: [Section 1] name=value [Section 2] name=value $Inifile is the inifile read into an array but the following doesn't work: $Sections = preg_grep(/(?=^\[)([^\[\]]+)(?=\]$)/i,

RE: [PHP] Predefined variables not set?

2002-10-13 Thread Mark Charette
In this context it makes no difference whether or not or ' is used ( allows variable substitution within the quoted string, ' does not) since there's no substitution taking place. Insert a phpinfo() in the top of your code to see all the variables that _are_ being set. -Original

[PHP] Image Problem

2002-10-08 Thread Mark Colvin
I have just upgraded php from 4.0.6 to 4.2.3. Everything works OK apart from the line below - echo 'td colspan=2 rowspan=2 align=centerimg alt=No Image to display. src=thumbnail.php?image=00042.jpg valign=top//td'; The thumbnail.php script uses php functions imagecreate, imagecreatefromjpeg,

[PHP] Re: help on regex

2002-10-04 Thread Mark Harwood
I am trying to learn regex and could need some help. There are 2 function I would need. 1 which returns false if the data does contain anything else than numbers or fullstops I tryed this: function validate_phone ($phone) { return (ereg('^[0-9][:punct:]', $phone)); } try using

RE: [PHP] Execution Time

2002-10-04 Thread Mark Olton
Edit your php.ini, change max_execution_time to something greater than 30. Mark -Original Message- From: Pong-TC [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 2:44 PM To: [EMAIL PROTECTED] Subject: [PHP] Execution Time Hello All I have a problem

[PHP] Informix Connection

2002-10-03 Thread Mark Colvin
I have php 4.1.2 running on a linux 7.2 box. I want to make a connection to an Informix 7.2SE database running on a HP-UX 10.2 box. My issues are as follows - 1) Do I need informix software of any description running on the linux web server? 2) Can I configure the php informix modules into and up

[PHP] DATE_FORMAT (MySQL function)

2002-10-03 Thread Mark Colvin
I'm not sure if this is a php or mysql issue but I run the following query from a php script - $query = select d1.code, d1.type, d1.descr, d1.grouptype, d1.cusref, d1.stock, d1.minstock, d1.appmeth, d1.supplier, d1.suppref, d1.leadtime, d1.price, d1.reorder, d1.code1, d1.code2, d1.notes, d1.usr,

[PHP] Re: error: loading extensions / php_xslt.dll on win32

2002-09-30 Thread Mark Johnson
I still seem to be having a problem. When I run depends on my php_xslt.dll it says: At least one module has an unresolved import due to a missing export function in an implicitly dependent module. When I look, I see a call to _ecalloc from php4ts.dll that is marked with a red icon. I just

RE: [PHP] getting ip address of the user.

2002-09-24 Thread Mark Charette
This comes up so very often ... The answer is - you may be able to get _an_ IP number for a machine that accesssed your site. It is meaningless as a means of identification: Proxies use 1 IP for a number of users. -Original Message- From: Anil Garg [mailto:[EMAIL PROTECTED]] hi, Can

RE: [PHP] Mail problem with more than 1k users

2002-09-23 Thread Mark Charette
I've had no problems using qmail-inject and MySQL to send over 100K emails in a day. I doubt it's an MySQL problem unless you've done something drastically wrong; perhaps you're bandwidth limited? -Original Message- From: Research and Development [mailto:[EMAIL PROTECTED]] Hello. I

RE: [PHP] Encryption Question

2002-09-23 Thread Mark Charette
Just how are you going to decrypt it? Password encryption is ordinarily one-way - you have no choice. You have to compare encrypted passwords. -Original Message- From: Tom Ray [mailto:[EMAIL PROTECTED]] SI want to compare a password to a encrypted password stored in my mySQL database

RE: [PHP] return the amount of records in a mysql databace

2002-09-22 Thread Mark Charette
select count(*) as n from ... where ... -Original Message- From: Philip J. Newman [mailto:[EMAIL PROTECTED]] Can someone point me in the right direction to find out how i can return the amount of records in a mysql databace ? -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] Re: Image resolution and php

2002-09-18 Thread Mark Charette
Images don't have a resolution per se; display devices have a resolution. Images (the formats you're talking about, anyway) are measured in pixel width and height. The height and width in any units other than pixels of course necessitates conversion - for an easy example, a 300x300 image on a

RE: [PHP] REGISTER_SHUTDOWN_FUNCTION() BUG -- Please Fix.

2002-09-17 Thread Mark Charette
stand a much better chance of getting it included in a future version - along with solving your current problem _and_ getting your name in the list of contributors. Mark C. -Original Message- From: John Holmes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 8:12 AM To: 'Jason

[PHP] not passing arguments from HTTP GET?

2002-09-11 Thread Mark Setzer
think my webserver is in error. The code seems ridiculously simple. Head-scratcher. Thanks for any help, Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Web based FTP client

2002-09-06 Thread Mark McCulligh
of a good web FTP program in exists or point me in the right direction on how to build one.. Thanks, Mark. _ Mark McCulligh, Application Developer / Analyst Sykes Canada Corporation www.SykesCanada.com [EMAIL PROTECTED] -- PHP General Mailing List (http

Re: [PHP] Web based FTP client

2002-09-06 Thread Mark McCulligh
that lets the user browse their own computer and the FTP Server using a combo of JavaScript, PHP and HTML frames. I still don't know how to ftp right from the client side browser without using the INPUT tag file and upload, not ftp. Mark. _ Mark McCulligh

[PHP] Re: setting javascript variables on url

2002-09-06 Thread Mark McCulligh
: substr( ) to get the bar out of the string. Mark. _ Mark McCulligh, Application Developer / Analyst Sykes Canada Corporation www.SykesCanada.com (888)225-6824 ex. 3262 [EMAIL PROTECTED] - Original Message - From: Raphael Hamzagic [EMAIL PROTECTED

[PHP] PHP 4.2.2 install problem

2002-09-03 Thread Mark McCulligh
-httdp-php-source .phps I couldn't find the lines in the file. If these lines are not there did I do something wrong, or can I just add them. If I can just add them, where to I add them. Thanks, Mark. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

RE: [PHP] why do i get this error please tell me?

2002-08-31 Thread Mark Charette
Ahem. Why not check out the MySQL docs for reserved words (they _are_ right there ...): http://www.mysql.com/doc/en/Reserved_words.html PHP Docs are for PHP. MySQL Docs are for MySQL. PHP != MySQL. -Original Message- From: victor [mailto:[EMAIL PROTECTED]] Sent: Saturday, August 31,

RE: [PHP] RE: [PHP-DB] RE: [PHP] why do i get this error please tell me?

2002-08-31 Thread Mark Charette
interfere with... - Victor www.argilent.com -Original Message- From: Mark Charette [mailto:[EMAIL PROTECTED]] hem. Why not check out the MySQL docs for reserved words (they _are_ right there ...): http://www.mysql.com/doc/en/Reserved_words.html PHP Docs are for PHP. MySQL Docs are for MySQL

RE: [PHP] UPDATE Query

2002-08-31 Thread Mark Charette
No, only one db at a time may be updated. The where clauses can contain multiple db. -Original Message- From: Sascha Braun [mailto:[EMAIL PROTECTED]] Sent: Saturday, August 31, 2002 7:04 PM To: PHP Mailingliste Subject: [PHP] UPDATE Query I want to know if its possible to update two

[PHP] Mail problem

2002-08-30 Thread Mark Colvin
The script below works on my development web server which sits on our company LAN. When I transfer the script to our isp hosted webserver, the script does not work. I changed 192.168.10.9/iarnaweb/ to read localhost/ for the isp webserver version (I have also tried replacing localhost with the

RE: [PHP] Re: Mail problem

2002-08-30 Thread Mark Colvin
Manuel, My development platform is linux 7.2 and php4.0.6. The production server is also linux (I think 7.2) but the php version 4.1.1. On your second point, do you mean I should say something like this - header(Location: http://ccmltdcouk.site.securepod.com/test.php;) This is our temporary

[PHP] hide system output from header

2002-08-30 Thread Mark
i execute a system function which works great only prob is it breaks the header so what i need to know is how i can prevent the output from this and append it to a variable, i allready tried appending to variable but still outputted Regards Mark -- PHP General Mailing List (http://www.php.net

RE: [PHP] Re: Mail problem

2002-08-30 Thread Mark Colvin
I have some more information that may be relevant to my problem. I compared the phpinfo() from both servers and there is a difference. The sendmail_from variable in the php.ini on my server is set to [EMAIL PROTECTED] The same variable on my isp's ini file is set to 'no value'. Would this stop my

RE: [PHP] Re: Mail problem

2002-08-30 Thread Mark Colvin
Still not resolved. I checked my local php.ini and the sendmail_path variable is commented out. If I do a phpinfo() on the same server, sendmail_path has a value of /usr/sbin/sendmail -t -i ? I don't know where it pick up this value from but I can send emails from this server. The production

RE: [PHP] Re: Mail problem

2002-08-30 Thread Mark Colvin
to php.ini with my isp. Mark -Original Message- From: Erwin [mailto:[EMAIL PROTECTED]] Sent: 30 August 2002 14:27 To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: Mail problem Am I correct in assuming that the SMTP and sendmail_from variables are only relevant for webservers

RE: [PHP] Re: Mail problem

2002-08-30 Thread Mark Colvin
I have this set on both boxes. Here are the settings - local box (which does send mail)isp box (does not send mail) sendmail_from melocalhost.com 'no value' sendmail_path /usr/sbin/sendmail -t -i/usr/sbin/sendmail -t -i SMTP

RE: [PHP] About html

2002-08-30 Thread Mark Colvin
Use the tabindex - td width=100 valign=topinput name=telno type=text size=60 maxlength=60 value= tabindex=1//td -Original Message- From: kale [mailto:[EMAIL PROTECTED]] Sent: 30 August 2002 08:45 To: [EMAIL PROTECTED] Subject: [PHP] About html Hy, I have one question about html.

[PHP] exec problem

2002-08-27 Thread Mark
i'm basicly trying to execute an executeable with this following script. $command = ../theApp/theapp; exec ( $command , $ValueIn, $ValueOut); echo $ValueOut; I'm getting a value of 0 returned, but from a command line the executable works fine and does what it is suposed to do is there any

RE: [PHP] Exiting from an include or required file

2002-08-21 Thread Roedel, Mark
Seems like the easy way, at least in this case, would be to make the second part of your File A an else to your if. ?php if (empty($_POST['search_criteria'])) { echo You must provide search criteria; } else { echo You provided search criteria; } --- Mark Roedel

RE: [PHP] PHP and Windows Active Directory...

2002-08-21 Thread Roedel, Mark
of things, I'll be happy to pass them along.) --- Mark Roedel | Blessed is he who has learned to laugh Systems Programmer| at himself, for he shall never cease LeTourneau University | to be entertained. Longview, Texas, USA | -- John Powell -- PHP General

[PHP] Passing variables between servers

2002-08-21 Thread Mark McCulligh
to the other server. I can't use the GET method. (www.domain.com/form.asp?username=Mark.) because putting the password on the address bar is not an option. The ASP server will redirect them back when they are done on it. It will pass back the variables just in case the session on the PHP

Re: [PHP] Passing variables between servers

2002-08-21 Thread Mark McCulligh
I thought about encrypting the whole querystring then decrypting it on the other server, but I wanted to keep the address bar clean. I wanted the user not to know they just got passed. If all a sudden there was a lot of data in the address bar they will wonder what it is for. Mark

Re: [PHP] Passing variables between servers

2002-08-21 Thread Mark McCulligh
I have read this arcticle too, and yes it will work for PHP to ASP but I have never came across a ASP version like this function to send the information from ASP to PHP. _ Mark McCulligh, Application Developer / Analyst Sykes Canada Corporation

[PHP] Re: Passing variables between servers

2002-08-21 Thread Mark McCulligh
. They think a web site can use a cookie to break into their computer. They also disable JavaScript a lot too. _ Mark McCulligh, Application Developer / Analyst Sykes Canada Corporation www.SykesCanada.com [EMAIL PROTECTED] - Original Message - From

Re: [PHP] Re: Passing variables between servers

2002-08-21 Thread Mark McCulligh
and will have to just use the longer one. Thanks for your input, Mark. _ Mark McCulligh, Application Developer / Analyst Sykes Canada Corporation www.SykesCanada.com (888)225-6824 ex. 3262 [EMAIL PROTECTED] - Original Message - From: Jay Blanchard [EMAIL

RE: [PHP] 4.04 -- 4.1.2 incompatible

2002-08-20 Thread Mark Middleton
. I've personally had difficulties with this technique, as Netscape browsers didn't return $PHP_SELF the way I had written it. Make sure to make it such that Netscape users can see it too. http://www.faqts.com/knowledge_base/view.phtml/aid/139/fid/6 -Mark -- PHP General Mailing List (http

[PHP] PHP - class question

2002-08-14 Thread Mark Armendariz
(i.e. $this-mydb)? I hope my question makes some sense... Your help is appreciated... Mark Armendariz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP - class question

2002-08-14 Thread Mark Armendariz
a myclass variable = to the db object? ie. class my_class { var $db; function my_class() { include('class_database.php'); $this-db = new database; } ... } or is there a differnet or better way? Thanks Mark Steve Bradwell [EMAIL PROTECTED] wrote in message

Re: [PHP] PHP - class question

2002-08-14 Thread Mark Armendariz
Do you know where I can find more info on how to use the scope resolution operator? My searches aren't giving much (at leant not mcuh regarding php) and in the manual, it only shows up momentarily as a note in the operators section... Mark Nick Oostveen [EMAIL PROTECTED] wrote in message

RE: [PHP] Save ability... Duplicate DB entries

2002-08-10 Thread Mark Charette
Or, of course, a selection of fields as a unique key. The insert will fail if there is an exisiting record with that key; you can interrogate the error and report on the exisitence of a duplicate record. The select/lock method is used for update purposes ('select for update' et al.), not to keep

Re: [PHP] Linux PHP editor

2002-08-09 Thread Mark Gallagher
JJ Harrison\ wrote: I just switched over to Red Hat Linux from Win2k... Only to find my fav editor only works on windows systems... could someone suggest a good replacement? Vim. It's even got syntax highlighting: http://www.vim.org/ -- Mark Gallagher Desperately attempting

[PHP] StripSlashes Problem

2002-08-02 Thread Mark Colvin
I use the following php code to build a dynamic table retrieving values from a MySQL databases that have been inserted with slashes added - echo td width='100'input name='descr' type='text' size='45' maxlength='20' readonly value='.StripSlashes(mysql_result($badgedetails, $i, 'descr')).'

RE: [PHP] StripSlashes Problem

2002-08-02 Thread Mark Colvin
John, Thank you for your reply. My magic_quotes_runtime is set to 'Off'. As you said, I shouldn't have to use StripSlashes but would I still need to use AddSlashes when inserting/updating? I can see the slashes in the database when I look at the tables but I am fairly sure that I do not add

RE: [PHP] StripSlashes Problem

2002-08-02 Thread Mark Colvin
John, Thank you. This solves the problem. Petre, Thank you for your reply. I wasn't aware of the difference and will bear this in mind. This e-mail is intended for the recipient only and may contain confidential information. If you are

RE: [PHP] Re: Dynamically check radio buttons

2002-08-02 Thread Mark Middleton
cleaned that up, and it seems to work great now. I hope some of this helps! -Mark Thanks. I understand. I'm actually a Cold Fusion programmer. I've tried what you suggested but can't seem to get it work - code attached. However, I can display the radio button if I use the $_POST function

RE: [PHP] Re: Dynamically check radio buttons

2002-08-01 Thread Mark Middleton
=elementcount value=$count) Then you can make the above for-statement look like this: for ($GameIdx = 1; $GameIdx = $elementcount; $GameIdx++) { Does any of this make sense or help in any way? -Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

RE: [PHP] Problem with ?xml .... inside the PHP code, due to ?

2002-08-01 Thread Mark Middleton
?php $XML = ?xml version='1.0' encoding='UTF-8'?ProductApple/Product; echo $XML; ? Not sure if this is the best way, but it worked for me: $XML = .?xml version='1.0' encoding='UTF-8'?.ProductApple/Product; Hope this helps, Mark Mark Middleton Whirled Web -- PHP

[PHP] PHP Installation Problem

2002-07-31 Thread Mark Colvin
Thanks all. I have now resolved. For future reference, the problem was as you said, I didn't have php configured for mysql support. I traced this back to the installation of the operating system, Red Hat 7.2. Through the graphical installation, all php modules apart from mysql support and odbc

[PHP] PHP Installation Problem

2002-07-30 Thread Mark Colvin
I have a development web server php 4.0.6 apache and mysql and everything works OK. I installed the same software onto a new server that will be the production server but I hit problems when my scripts try and hit the db on the new server. Comparing the phpinfo details for both, the new server

RE: [PHP] RTRIM() - Won't accept 2nd Param

2002-07-27 Thread Mark Charette
From the man page: Note: The second parameter was added in PHP 4.1.0 -Original Message- From: Monty [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 27, 2002 7:28 PM To: [EMAIL PROTECTED] Subject: [PHP] RTRIM() - Won't accept 2nd Param When I issue this command to remove any commas at

[PHP] Re-directing

2002-07-24 Thread Roberts, Mark
it by conditionally executing a location.href in javascript. It works, but would like to know how to do it in PHP. ~Thanks. Mark Roberts Sr. Systems Analyst LanApps/Web Development The Williams Information Services Corporation 918-573-1706 [EMAIL PROTECTED]

RE: [PHP] PHPMyAdmin interface

2002-07-24 Thread Mark Middleton
unprotected, your database is completely vulnerable. Does this help? -Mark I have just recently just signed up for virtual hosting with a MySQL database. They do not have a PHPMyAdmin interface too access the database. All they have given me is my username and password and the server too login too

[PHP] Re: Credit card checks?

2002-07-23 Thread Mark McCulligh
just typing in numbers at random will have a terrible time guessing a number right. I have never seen someone do it let. Then you can use the first character of the number to test the card type. I will see if I can locate the algorithm and email it too you. Mark Jas [EMAIL PROTECTED] wrote

Re: [PHP] Re: Credit card checks?

2002-07-23 Thread Mark McCulligh
10 == 0); } -Original Message- From: Mark McCulligh [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 24, 2002 10:47 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: Credit card checks? You could use an algorithms called mod10. Both Visa, MasterCard and I think most other credit c

RE: [PHP] Problems Retrieving Session Variables on 2nd submit.

2002-07-22 Thread Mark Middleton
); session_register($expire); Try removing the $ from each session_register call: example: session_register(employee); Hope this helps! -Mark : Whirled Web Everybody needs a geek... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

RE: [PHP] upgrade 4.1.2 to 4.2.2 (passing vars problem with 4.2.2)

2002-07-22 Thread Roedel, Mark A.
://www.php.net/release_4_2_1.php, or the manual section on predefined variables at http://www.php.net/manual/en/language.variables.predefined.php --- Mark Roedel | Blessed is he who has learned to laugh Systems Programmer| at himself, for he shall never cease LeTourneau University

[PHP] Upload File Problem

2002-07-18 Thread Mark Colvin
I have a simple script that attempts to upload a file and save it on the server. When I click send file I get this error message 'Warning: Unable to open '' for reading: No such file or directory in /var/www/html/upload.php on line 5 Couldn't copy the file!'. The file is being uploaded from a Win

RE: [PHP] Upload File Problem

2002-07-18 Thread Mark Colvin
Joakim, Thank you for your reply. I tried your example and get 'Possible file upload attack: filename.' meaning that 'if (is_uploaded_file($_FILES['img1']['tmp_name']))' returns false. I put a couple of echo statements in before the if statement to check '$img1_name' '$img1_size and '$img1_type'

RE: [PHP] Upload File Problem

2002-07-18 Thread Mark Colvin
Joakim, Thanks again. $HTTP_POST did the trick. I did look through the archives before posting but didn't come across this solution. I obviously didn't look hard enough! This e-mail is intended for the recipient only and may contain

[PHP] Forms problem?

2002-07-17 Thread Mark Colvin
I have a php script that queries a mysql db and build a form on a page for each row returned. Each form has four fields and a thumbnail of a JPEG. Below the image is a link to view the full image in a new window by using a javascript function. (No javascript jibes before I go any further, it was

[PHP] Search Page question

2002-07-16 Thread Mark McCulligh
my last option but if I have a 1000+ records loading each time the performance may be slow. Thanks, Mark. -- _ Mark McCulligh, Application Developer / Analyst Sykes Canada Corporation www.SykesCanada.com [EMAIL PROTECTED] -- PHP General Mailing List

Re: [PHP] Using index.php instead of index.html

2002-07-16 Thread Mark Gallagher
index.php index.html Redirect index.html http://www.bar.net/index.php The first line says the directory index file is index.php, not index.html. The second line says whenever you get a request for index.html, send them index.php instead. security issue too. Umm... *what*? -- Mark Gallagher http

[PHP] Solaris 8 + php 4.2.1 setup problem

2002-07-15 Thread Mark McCulligh
operations [Thu Jul 11 13:13:11 2002] [notice] Accept mutex: fcntl (Default: fcntl) [Thu Jul 11 13:13:11 2002] [alert] Child 20902 returned a Fatal error... Any ideas of what to try next. Thanks, Mark. _ Mark McCulligh, Application Developer / Analyst Sykes

[PHP] Displaying Database Results

2002-07-12 Thread Mark Colvin
I have a php script that queries a MySQL database and I loop through the results displaying them as follows: echo td width='100'input name='description' type='text' size='45' maxlength='20' value=.StripSlashes(mysql_result($badgedetails, $i, 'descr')). tabindex='1'//td; The problem is that as

Re: [PHP] ????????????????????????? snip

2002-07-10 Thread Mark Gallagher
Rodolfo Gonzalez wrote: To the kind moderator of the list: please kick off this guy (Erik Hegreberg [EMAIL PROTECTED] ), he's really annoying. Or at least bounce his e-mails back to him ;) ). Go for the bounce option ;-) -- Mark gallagher -- PHP General Mailing List (http://www.php.net

Re: [PHP] RE: ############

2002-07-10 Thread Mark Gallagher
- he specifically requested the receipts, and he's been spamming the list so it's only fair he receives the bounces. But if we resort to our own, separate spamming campaign we're as bad as him. -- Mark Gallagher -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] ?????????????????????????????????

2002-07-10 Thread Mark Gallagher
Lazor, Ed wrote: I wonder if he's using PHP to automate sending the messages. hehe And in the blink of an eye we're back on topic :o) -- Mark Gallagher -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ??????????????????????????????????????????????????????````````````````````ØØØØØØØØØØ

2002-07-10 Thread Mark Gallagher
yourself to do this, then at least get into contact with Richard Lynch and John Holmes (if they're willing) - they seem to be the most helpful and knowledgeable contributors :o). HTH, HAND -- Mark Gallagher http://cyberfuddle.com/infinitebabble/ -- PHP General Mailing List (http://www.php.net

RE: [PHP]Erik Hegreberg (Moderator)

2002-07-10 Thread Mark Charette
Of course not on an open list that's crossed to the newsgroups ... However, there's a deny list on ezmlm that the moderator can add addresses to. As a manager of a number of ezmlm mailing lists I've done that - which really infuriates the spammers - they still get the posts until they

[PHP] Re: Geting PHP Version

2002-07-10 Thread Mark McCulligh
://www.php.net/manual/en/function.mysql-get-server-info.php _ Mark McCulligh, Application Developer / Analyst Sykes Canada Corporation www.SykesCanada.com (888)225-6824 ex. 3262 [EMAIL PROTECTED] - Original Message - From: Skyhawk [EMAIL PROTECTED

[PHP] Development Tools

2002-07-10 Thread Mark McCulligh
with the integrated documentation and debugging tools. Thanks, Mark. _ Mark McCulligh, Application Developer / Analyst Sykes Canada Corporation www.SykesCanada.com (888)225-6824 ex. 3262 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net

Re: [PHP] Development Tools

2002-07-10 Thread Mark McCulligh
. I have never did let, but read about it in a book on Ultrradev once. Thanks for you input, Mark. _ Mark McCulligh, Application Developer / Analyst Sykes Canada Corporation www.SykesCanada.com (888)225-6824 ex. 3262 [EMAIL PROTECTED] - Original Message

Re: [PHP] Development Tools

2002-07-10 Thread Mark McCulligh
editors, I like PFE too. Didn't know it was unsupported now(see Jay Blanchard comment above) -- _ Mark McCulligh, Application Developer / Analyst Sykes Canada Corporation www.SykesCanada.com (888)225-6824 ex. 3262 [EMAIL PROTECTED] Martin Clifford [EMAIL

[PHP] Re: reports and reporting options?

2002-07-10 Thread Mark McCulligh
had two crashes in the last year, both do the Windows Server not Crystal. Crystal has some big bugs, but I have not found any other Reporting program that comes close. Mark. _ Mark McCulligh, Application Developer / Analyst Sykes Canada Corporation

Re: [PHP] Re: Development Tools

2002-07-10 Thread Mark McCulligh
HomeSite and Dreamweaver or not. They might have taken the best from both and made one, Don't Know? -- _ Mark McCulligh, Application Developer / Analyst Sykes Canada Corporation www.SykesCanada.com (888)225-6824 ex. 3262 [EMAIL PROTECTED] Matthew K. Gold [EMAIL

Re: [PHP] Re: Development Tools

2002-07-10 Thread Mark McCulligh
Just wanted to let you know the tab things is for indenting your code. You can highlight a couple rows hit tab to indent them together. Cool feature for moving blocks of code around and making the code look nice. Bad feature if you wanted the normal tab function. Mark

[PHP] PHP Image Functions

2002-07-09 Thread Mark Colvin
I have a directory of jpegs that I want to display thumbnails of and have a link to the original jpeg. I would rather not create separate thumbnails images preferring to create them in memory to display them. I have installed GD v.1.8.4. The code below outputs jumbled text to the browser

RE: [PHP] PHP Image Functions

2002-07-09 Thread Mark Colvin
Thanks for your reply. Its a bit further forward but still not working. I have split the files and the output now shows the text part of 'img alt=text src=...' ie it won't recognise the image. Anything else you can think of? This e-mail is

RE: [PHP] PHP Image Functions

2002-07-09 Thread Mark Colvin
That's the winner!! Everything working good now. Thanks again. This e-mail is intended for the recipient only and may contain confidential information. If you are not the intended recipient then you should reply to the sender and take no

[PHP] Re: getting the IP address off a visitor

2002-07-08 Thread Mark McCulligh
' ); } } return $realip; } _ Mark McCulligh, Application Developer / Analyst Sykes Canada Corporation www.SykesCanada.com (888)225-6824 ex. 3262 [EMAIL PROTECTED] - Original Message - From: Sebastian Marcu [EMAIL PROTECTED] Newsgroups: php.general To: [EMAIL

<    5   6   7   8   9   10   11   12   13   14   >