Re: [PHP] Re: mysql input

2008-02-19 Thread admin
Filter the data $data = str_replace("'", "", $data); I am sure there are many ways to filter the data before insert. (If you are SURE you have "A.D.D." then it wont matter what I say to you.) Rick B. On Feb 18, 2008 11:24 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote: > nihilism machine w

[PHP] MySQL Stored Procedures

2008-02-19 Thread admin
I want to thank all who helped me on this issue. My Problem was when I tried to return a parameter to the C++ script. CREATE PROCEDURE `tracinsert`(CaldNumber varchar(12), CaldTime varchar(50), CallerID varchar(12)) BEGIN INSERT INTO IncCalls (CaldNumber, CaldTime, CallerID) VALUES (CaldNumber,

RE: [PHP] newbie question about one php script passing control to another

2008-03-20 Thread admin
Im not sure I understand the question. Pass control from index.php to welcome.php ??? index.php : "; ?> welcome.php That kind of pass control? Hello. I am new to php programming, but have spent many years programming in many other languages, most recently perl (with which php seems to h

[PHP] Stored Procedure Question

2008-03-24 Thread admin
I am very aware most of you do not use a stored procedure in mysql. However with my latest C++ programming I have created a few that make life a dream. The issue I am having. When I call the stored procedure I would like the end of the procedure to call or invoke a php script. I have read ma

RE: [PHP] question about select tag in php

2008-03-31 Thread admin
Code wise your form options are too bulky and you need to look at slimming that down like below. Not that my example is prefect but easier to control the option enviroment. echo ""; for($d=1; $d<=2; $d++) { if($city1 == "region$d"){ echo "region$d; }ELSE{echo "region$d;} } echo ""; for($d=1

Re: [PHP] Google Pagerank script

2008-03-31 Thread admin
If you do have a index.php file in that directory and you are sure the path is correct check the chmod and chown of the index.php file. Richard L. Buskirk Dont be so -1 cubed. +++ On Sun, Mar 30, 2008 at 12:25 PM, tedd <[EM

[PHP] Date Issue

2008-03-31 Thread admin
Not understanding why this is happening. $month = date("F", mktime(0,0,0, date(m), date(d), date(Y))); $zomonth = date("F", mktime(0,0,0, date(m)-1, date(d), date(Y))); echoing out the exact same month March March Checked server timezone/date/time all is good. Am I half asleep at the wheel on

Re: [PHP] Date Issue

2008-03-31 Thread admin
I tried that a big no go. Seems if I do a +1 i get 2 months from now and a -1 gives me the current month. $month = date("F", mktime(0,0,0, date('m'), date('d'), date('Y'))); $zomonth = date("F", mktime(0,0,0, date("m")-1, date("d"), date("Y"))); $nmonth = date("F", mktime(0,0,0, date(m)+1, date(d

Re: [PHP] Date Issue

2008-03-31 Thread admin
Thank you again Dan. Thought never crossed my mind the day being the 31st. That fixed it. Richard L. Buskirk On Mon, Mar 31, 2008 at 4:15 PM, <[EMAIL PROTECTED]> wrote: > I tried that a big no go. > Seems if I do a +1 i get 2 months from now and a -1 gives me the current month.

Re: [PHP] Date Issue

2008-04-01 Thread admin
Your doing the same thing i did look at date(d) When its the 31 like yesteday of course it can not find the 31 of months that do not have them. Thats why it errored. String worked up till monday which explained alot. I just did not look at what i was doing. changed the code to $zomonth =

Re: [PHP] phone number allocation manager

2008-04-01 Thread admin
I work with and design VIOP IVR Applications, and have probably found or made everything you’re looking for. I can tell who provides database's for free or at a cost the cheapest and if you’re doing ANI cross population I have that as well. WARNING some of the database are around 250 million re

RE: [PHP] April Fools Easter Egg

2008-04-01 Thread admin
Studied that thing for last 15 minutes before realizing you got me. Richard L. Buskirk Don't forget to check your phpinfo() page for the annual easter egg. -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php

RE: [PHP] PHP MySQL Insert Syntax

2008-04-01 Thread admin
Insert is for a new row Alter or Update is for an exsisting row /*I'm trying to insert values from an array into MySQL DB but the insert begins at the last record in the table and not at first record in the table. I have added the cellSuffixes column after I already populated 30 records in ot

RE: [PHP] Get Free Information for Top twenty (20) online colleges and universities

2008-04-02 Thread admin
I ask you remove this spammer from our LIST Richard L. Buskirk Senior Software Engineer -Original Message- From: steve_carpenter [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2008 5:14 PM To: php-general@lists.php.net Subject: [PHP] Get Free Information for Top twenty (20) online

RE: [PHP] How to get a code review?

2008-04-03 Thread admin
You can simply check the session or cookie if(!session_is_registered("user")) { echo "I cant see the session_register user"; }else{ echo "I see the session $user"; } User is an example of a session_register("user"); the user variable has been set i

RE: [PHP] string

2008-04-07 Thread admin
Do a preg match to find one or preg_match_all to find all the john in the string. $name = "John Taylor"; I want to verify if $name contains "john", if yes echo "found"; Cannot remember which to use: http://ca.php.net/manual/en/ref.strings.php Sorry, John -- PHP General Mailing List (htt

[PHP] Date comparison Question

2008-04-07 Thread admin
I am having a date time comparison issue. I have statically set the values here. But the data is fed from the database, CaldTime is timestamp and since it will not allow me to have 2 timestamps in the same table I set the CallEnd varchar(12). Storing the data they seem to be the same for output

Re: [PHP] Date comparison Question

2008-04-07 Thread admin
Yes my mistake was looking at another record and published another. But I figured it out now i can publish 1:45 like i wanted. Having a moment there. Thank you Richard L. Buskirk    On Mon, Apr 7, 2008 at 9:42 AM, <[EMAIL PROTECTED]> wrote: I am having a date time comparison issue. I have st

Re: [PHP] Date comparison Question

2008-04-07 Thread admin
Thank you that is exactly what i did to figure it out. Just was having a brain fart there for a minute. On Mon, Apr 7, 2008 at 11:42 AM, <[EMAIL PROTECTED]> wrote: >t the data is fed from the database, CaldTime is timestamp and since it will not allow me to have 2 timestamps in > the same table

Re: [PHP] Date comparison Question

2008-04-07 Thread admin
Dan I made a solution as below. $time1 = strtotime("$sqldata[CaldTime]"); $time2 = strtotime("$sqldata[CallEnd]"); $interval = $time2 - $time1; $TLength = date("i:s", strtotime("2008-01-01 01:00:$interval")); Result 01:45 Works perfect for me. Do you agree or disagree dan? On Mon, Apr 7, 200

[PHP] File Format

2008-04-11 Thread admin
Wave editor? Here is my dilemma. In php I have written a script to upload a wave file to the server for the C Sharp application to use. No problems on upload or streaming from the file to the web. My issue comes when the format of the wave file is PCM and not CCITT u-Law. The device cannot play

[PHP] Safe mode story

2008-05-10 Thread admin
Hi all, I'm running a Plesk 8.3 mass hosting server equipped with PHP 5.1.6 on CentOS 5, and I'm facing the problem of PHP "Safe mode" barfing at the UID mismatch of PHP scripts uploaded by user's FTP UID, and later executed by Apache UID, where user's PHP scripts thusly uploaded attempt to w

[PHP] RE:Windows Service Call from linux php server

2008-05-15 Thread admin
I used soap to perfect the Windows service call and resolved the issue so simple it kills me. Not happy with the huge upgrade of php process but happy with final results. Resolution: http://user:[EMAIL PROTECTED]/WebService/service.asmx?WSDL"; $soap = new soapclient($wsdl,"wsdl"); $soap->setCred

RE: [PHP] My open source php CMS

2008-05-15 Thread admin
Page Not Found. Hello, first of all, sorry for this plug, I am looking for interested developers. I just want to let you know about my open source project that uses over 15 pear classes and uses pear installer as the primary means to install it I also wrote a web-based interface for usin

[PHP] php mysql live feed

2008-05-20 Thread admin
Okay before i pull more hair out... I am trying to use php to pull mysql data and refresh the mysql data every say 5 seconds for like a live display of the database without the screen reloading. I want the data to refresh but not the screen. Ajax seems to hate me because everything i have seen/

RE: [PHP] php mysql live feed

2008-05-21 Thread admin
Todd I want to thank you. You sent me thinking in the right direction to resolving this issue. I now have successfully created a live Pika Card status GUI using PHP, MYSQL, AJAX. The key word in what you said was unique function. I was not thinking to write a function. I was looking for the qu

[PHP] calling parent class method from the outside

2007-07-02 Thread admin
Inside the body of method foo() you can of course use syntax like parent::foo(). But is there a way to call the parent version of obj->foo() outside the class? That kind of syntax is allowed in C++, for example: Aclass a; if (a.Aparent::foo()) ...; Some contrived example to illustrate the point:

[PHP] Re: calling parent class method from the outside

2007-07-02 Thread admin
Colin Guthrie wrote: admin wrote: Inside the body of method foo() you can of course use syntax like parent::foo(). But is there a way to call the parent version of obj->foo() outside the class? That kind of syntax is allowed in C++, for example: Aclass a; if (a.Aparent::foo()) ...; [snip

Re: [PHP] calling parent class method from the outside

2007-07-02 Thread admin
Jochem Maas wrote: another solution for the OP might be (although I think it goes against all design principles): class A { function foo() { echo "achoo\n"; } } class B extends A { function foo() { echo "cough\n"; } function __call($meth, $args) { $func = array(parent, str

Re: [PHP] Re: calling parent class method from the outside

2007-07-02 Thread admin
Jim Lucas wrote: Rihad wrote: Now will you mentally copy and paste the above code several times, doing the necessary text substitutions, what will you get? Three identical copies of doSetColumn() in each class! And the real doSetColumn() is a bit heavier than a one-liner. We come full circle

Re: [PHP] calling parent class method from the outside

2007-07-02 Thread admin
Jochem Maas wrote: admin wrote: Jochem Maas wrote: another solution for the OP might be (although I think it goes against all design principles): class A { function foo() { echo "achoo\n"; } } class B extends A { function foo() { echo "cough\n"; } f

Re: [PHP] calling parent class method from the outside

2007-07-03 Thread admin
Jochem Maas wrote: admin wrote: Jochem Maas wrote: ... the 'callback' type has a number of forms: 'myFunc' array('className', 'myMeth') array(self, 'myMeth') array(parent, 'myMeth') array($object, 'myMeth') self and

[PHP] temp files

2007-07-25 Thread admin
Hi! I have this code: $lines = gzfile("http://www.example.com/some/resource";); for its internal needs gzfile() creates a temp file such as /var/tmp/phpFjJxNX where the gzipped resource is kept. The file stays there forever and eventually the fs runs out of inodes. Any way to unlink the temp

[PHP] temp files

2007-07-25 Thread admin
Hi! I have this code: $lines = gzfile("http://www.example.com/some/resource";); for its internal needs gzfile() creates a temp file such as /var/tmp/phpFjJxNX where the gzipped resource is kept. The file stays there forever and eventually the fs runs out of inodes. Any way to unlink the temp fil

Re: [PHP] problems with exec()

2006-11-29 Thread admin
Try exec('/path/to/copy', $return); print_r($return); read the manual : http://nl3.php.net/manual/en/function.exec.php Description string exec ( string command [, array &output [, int &return_var]] ) gr, Thijs On Wed, 29 Nov 2006 23:22:13 -0700, "Ray" <[EMAIL PROTECTED]> wrote: > hello; > I am

Re: [PHP] problems with exec()

2006-11-30 Thread admin
Output you will only get if something goes wrong with the copy process. But then again you say the 'whoami' command runs perfect. So the only things that comes to my sleepy brain is incorrect paths or permissions. Tried it here with 5.2 and 4.4.4 and seems to work. Maybe somebody else has a clue

Re: [PHP] making a tutorial

2006-03-16 Thread admin
Parse.. It will be an array after you submit the form. So depends on what you wanna do with it. Do a print_r($favourite); after form submit and you will see. How to store it.. well if you wanna it in seperate fields you can loop through it and do an insert on every array element in your DB or st

Re: [PHP] Query for two fields with the same name

2006-04-19 Thread admin
Maybe something like this : $connection = "SELECT t2.id AS idtwo, t1.id AS idone FROM connection AS t1, pr AS t2 WHERE t1.area_id = '$gateway_link' AND t1.pr_id = t2.id"; > This is probably a simple question, but I can't seem to find the > answer online. > > I'm using this query: > > $connection

Re: [PHP] Need help with an if statement

2006-04-23 Thread admin
Kinda depends on how you build the list of links i guess. What you need is a unique identifier. But would be more easy if you show some code. item 1 cart.php?item=1 item 2 cart.php?item=2 Then when you make the links. Use a loop foreach($links as $link) { if ($link["id"] == $_GET["item"])

RE: [PHP] RE: Military Service WAS [PHP] Capitalization of variable

2008-06-20 Thread admin
Marine Corps.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Merge array i think

2008-08-14 Thread admin
Here is my problem in mssql in asp i can SELECT (height + 'x' + width) as size FROM Twenty How can i do that for mysql under php? I am trying to create a single array result using 2 different fields of data plus extra characters. -- PHP General Mailing List (http://www.php.net/) To unsubscrib

RE: [PHP] Merge array i think

2008-08-14 Thread admin
Never mind I was looking at php and it was a Mysql thing SELECT CONCAT('My', 'S', 'QL'); will do exactly what i want Here is my problem in mssql in asp i can SELECT (height + 'x' + width) as size FROM Twenty How can i do that for mysql under php? I am trying to create a single array resul

[PHP] Altering the error_reporting

2008-09-03 Thread admin
I am looking for a way to alter the error_reporting(E_All) This displays Parse error: parse error, unexpected '}' in /var/www/html/test.php on line 7 I want to remove the file location and line number from the error to only produce Parse error: parse error, unexpected '}' Why? You may ask. I a

Re: [PHP] Sepating MySQL result set into html tables

2008-09-26 Thread admin
Might I suggest you count the fields and divide it by the cols you want to display? Example: $forest = mysql_query("SELECT * FROM your_table"); $gump = mysql_num_fields($forest); Because I know my table contains 15 rows I can do this. $tulip = floor($gump /5); I know how many fields to display

RE: [PHP] Sepating MySQL result set into html tables

2008-09-26 Thread admin
Might I suggest you count the fields and divide it by the cols you want to display? Example $forest = mysql_query("SELECT * FROM your_table"); $gump = mysql_num_fields($forest); Because I know my table contains 15 rows I can do this. $tulip = floor($gump /5); I know how many fields to display be

[PHP] Csv issue

2008-10-13 Thread admin
I am using a form to select a csv file and then import it into mysql and maybe im just drawling a blank here. But why is it blowing up. This thing loads like 14 million records into the database and I am clue less how it can do that with a 2 record csv file. Upload: $row = 1; $filename = $_P

[PHP] fopen errors

2004-02-18 Thread admin
I have a PHP front end with a MySQL back end with a longblob field. I am thinking the problem exists in the PHP part. Here is the code I am using: $fileHandle = fopen($fileUpload, "r"); $fileContent = fread($fileHandle, $fileUpload_size); $fileContent = addslashes($fileContent); Then it goes in

RE: [PHP] need help

2002-08-09 Thread Admin @ blar!
that's the nature of php. it is executed server side then disappears showing only it's results. :) > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 09, 2002 2:21 PM > To: [EMAIL PROTECTED] > Subject: [PHP] need help > > > Hi, how come on t

[PHP] problem with files bigger than 2GB

2003-12-15 Thread php-admin
I use PHP 4.1.2 under Linux (Kernel 2.4.18). On files bigger than 2GB the php-function 'file_exists' exits with 'Warning: stat failed on ... (errno=75 - Value too large for defined data type') ... How can I solve this problem? Thanks for every help. -- PHP General Mailing List (http://www.php.n

Re: [PHP] Change dir mode to writable for uploading..

2001-02-24 Thread Web Admin
Hi Dhaval, You said in your previous e-mail 'C:\'. Are you using a NT based server or Unix based? If your server is a unix based one, consider trying this command: chmod 777 /path/to/directory Warning, this is a bit dangerous and might be vulnerable, are you running your webserver with nobody? Any

Re: [PHP] $result = $$function

2001-02-24 Thread Web Admin
Hi, I didn't get why you haven't used this: switch $var case something: $result=$build_result(); break; case somethingelse: $result=$build2(); break; blah blah blah... Ahmad - Original Message - From: Peter Van Dijck To: php gen list Sent: Saturday, February 24, 2001 4:0

Re: [PHP] checking $more still does not work !

2001-02-24 Thread Web Admin
Hi Kaab, There must be another problem, it should work. Maybe it helps if you send your code here. To see how a simple script works, try this tiny script named test.php: Submit is pressed"; }; ?> If you first load the php page, you don't see anything rather than a submit button. If you press

Re: [PHP] status page between submit and results

2001-02-24 Thread Web Admin
Here?! Sunny today! ;-) I highly suggest you use client side scripting in this case. onLoad Event handler. A load event occurs when Navigator finishes loading a window or all frames within a tag. The onLoad event handler executes JavaScript code when a load event occurs. Here's a sample code

Re: [PHP] incrementing a date!

2001-02-25 Thread Web Admin
hi, try $tomorrow = mktime(0,0,0,date("m") ,date("d")+1,date("Y")); or maybe better than this, if you convert the date to the standard unix timestamp and use DATE function. Best of luck, Ahmad Anvari - Original Message - From: kaab kaoutar To: [EMAIL PROTECTED] Sent: Sunday, F

Re: [PHP] No same username

2001-02-25 Thread Web Admin
define a UNIQUE field :) - Original Message - From: Brandon Feldhahn To: [EMAIL PROTECTED] ; [EMAIL PROTECTED] ; [EMAIL PROTECTED] Sent: Sunday, February 25, 2001 4:03 PM Subject: [PHP] No same username how do i make somthing with my database that knows it the username

Re: [PHP] No same username

2001-02-25 Thread Web Admin
Or better using: create table test1 (t1 char(5), t2 char(5), primary key (t1), unique (t2)); when creating table. No duplicate records with the same t2 because it's unique. Ahmad Anvari - Original Message - From: Kath To: Brandon Feldhahn ; [EMAIL PROTECTED] Sent: Sunday, Fe

Re: [PHP] Need some help plz

2001-03-10 Thread Web Admin
Hi, what's up Mick?! Okay, what have you written in your script?! You never wrote it! try include ('./domain.php') instead of include ('domain.php') maybe it helps you! I tested that on my FreeBSD 4.2+apache/php but it seems that include ('domain.php') is also OK. Just give it a try or add the d

Re: [PHP] Combo Box containing field

2001-03-10 Thread Web Admin
Hi Michael, Yes I do! Take a look at the code snippet below: echo ""; $level2 = $db->execute("select typename from types"); do { $value=$level2->fields[0]; echo "$value"; $level2->nextRow(); } while (!$level2->EOF); $level2->close(); echo "";

[PHP] RE: SSH

2002-05-04 Thread Insomniac Admin
Hi, > man ssh Do that, you'll see there is a -c command, and also read up on using RSA key authentication, so that the password doesn't have to be entered for that host. BE WARNED - if you use RSA key auth, then any process under the login account you specify it for (it will probably have to be

RE: [PHP] RE: SSH

2002-05-05 Thread Insomniac Admin
Sent: 05 May 2002 07:44 To: [EMAIL PROTECTED] Subject: Re: [PHP] RE: SSH On Sun, 5 May 2002, Insomniac Admin wrote: > You could use "popen" to open a ssh process and wait to be asked for > the password etc... Remember to check the RSA key pattern. My experience, at least with recent

RE: [PHP] Mail server

2002-05-05 Thread Insomniac Admin
Qmail : www.lifewithqmail.org / www.qmail.org / http://cr.yp.to/qmail/ -Original Message- From: Diana Castillo [mailto:[EMAIL PROTECTED]] Sent: 05 May 2002 12:17 To: [EMAIL PROTECTED] Subject: [PHP] Mail server Does anyone know of a free mail server to install on a linux server that w

RE: [PHP] Defining PHP varibles from URL

2002-05-06 Thread Insomniac Admin
A simple example might be (unoptimised for clarity): http://www.myserver.com/someurl/page.php?file=home v4.1.x $file = $_GET("file"); // Remove case sensitivity $file = strtolower($file); // To stop people including just ANY old file, we are going to use a switch // to validate the

RE: [PHP] Install Question - Missing php.ini

2002-05-06 Thread Insomniac Admin
Try doing "locate php.ini". Your likely to have to copy php.ini.dist to php.ini if this is your first installation. Usually you'll find it in /usr/local/etc/ or /usr/local/lib/ depending on your distro. - Dan -Original Message- From: David McInnis [mailto:[EMAIL PROTECTED]] Sent: 06 Ma

RE: [PHP] --enabel-pnctl / php sockets

2002-05-06 Thread Insomniac Admin
Check out phpserv. -Original Message- From: Barry Smoke [mailto:[EMAIL PROTECTED]] Sent: 06 May 2002 19:07 To: [EMAIL PROTECTED] Subject: [PHP] --enabel-pnctl / php sockets I have recently discovered php's binary capabilities, and am using it to write a virtual isp management system, s

RE: [PHP] function over loading?

2002-05-06 Thread Insomniac Admin
We did actually hear you the first time, but I'll just assume your not all that bright. As far as Im aware you cannot over load functions in php - although there may be some new functions available ... I suggest you check the manual. -Original Message- From: Kris Vose [mailto:[EMAIL PROT

Re: [PHP] Help with redeclare error

2011-10-27 Thread UltraMega Admin
On 10/27/2011 5:33 PM, Daniel Brown wrote: On Thu, Oct 27, 2011 at 20:06, Jason Pruim wrote: Most likely you have in included in 2 files... Look into it from that angle... It only needs to be included in 1 file to work throughout all the files. Prune is spot-on. That error generally hap

[PHP] Transferring an initiated Session to a Browser !!

2004-01-30 Thread Admin - CpanelPlus
Hi all, I Need to access certain data in a Page protected by user login. I have written a script with socket functions which connect to port 80 and automates what any browser does. That's Ok .. Now I have the Data What I wanted in a variable. But I am also in need of a Mechanism where I can trans

Re: [PHP] Modulus Formatting

2001-02-06 Thread Web Admin
Hi Michael, Use a temporary variable [counter], if counter%3 == 0 then write in the output. $counter=0; print ""; while($row = mysql_fetch_array($result)) { echo "".$row["user_id"].""; $counter++; if (!$counter%3) { echo ""; } } That's all ;-) Ahmad Anvari - Original Messa

Re: [PHP] Save to Local Disk

2001-02-06 Thread Web Admin
Hi Karl, Simply put a save button on your page. When it's clicked, pass document.forms[0].textareaname.value to the other script, (it's written in javascript, if you're familiar with that), then you'll access the content of the text box. to save it on a local disk, simply use javascript again, it

Re: [PHP] GD

2001-02-06 Thread Web Admin
Hi, Consider using ImageCreateFromGif will help you. Then use ImageTTFText to write some text on the loaded gif and ImageGIF it to output the image as gif :) Ahmad Anvari - Original Message - From: Brandon Orther To: PHP User Group Sent: Tuesday, February 06, 2001 7:50 PM Sub

Re: [PHP] Passing an array as an argument.

2001-02-06 Thread Web Admin
Hi April, I suggest you code your array into one string (it depends to the size) then decode it at the other end using your own code. It's the easiest trick to pass the array, compress it into one variable, then extract it at the other end. Any other ideas? ;-) Ahmad - Original Message

Re: [PHP] GD, TTF, and Anit-Alias

2001-02-06 Thread Web Admin
Hi Brandon, You asked me in a private e-mail about anti-aliasing. As far as I know if ImageTTFText function, if you use negative color reference [such as -1, -2], It turns off the anti aliasing. I think the text is automatically antialiased using a positive number. Anyone, with a sharp idea? ;-) A

[PHP] Help with matching numbers 0-100

2007-02-03 Thread Chilling Lounge Admin
Hi. I need help with matching a variable. The variable would be e.g. 0-15 , 16-30 etc. and when the variable is equal to a certain range, it would echo an image. Does anyone know what function I should use? preg_match? The code would be something like if(preg_match("[16-30]",$variable)) { echo

[PHP] After a PHP script timeout, Apache logs the error but may not cleanly exit the script

2013-10-06 Thread Meta Seller Admin
Hi. I'm wondering if anyone can help with this. We're using PHP and Apache, hosted on a dedicated server running Debian Linux. The specific versions in each case are mostly immaterial, as this problem has been around since Debian 6, and is still present in Debian 7; in the meantime we've been usin

[PHP] Install Problems

2001-03-06 Thread Dan Mahoney, System Admin
The situation: Apache-SSL 1.3.14, SSL 0.9.6, built with --enable-module=all. (also, mod_throttle added in). The PHP: The very latest version, I've tried compiling WITH mysql, I've tried compiling WITHOUT mysql, I've even installed mysql JUST FOR THIS... No matter what I do... Floating point e

Re: [PHP] Making gd Extensions

2001-09-06 Thread Dan Mahoney, System Admin
On Thu, 6 Sep 2001, Dennis Moore wrote: I wrestled with this for about an hour before I looked at WHY the heck the configure script thinks it knows more than I do. Apparently if it can DECOMPRESS a GIF (i.e., Make a PNG *from* a gif, which the FreeBSD installer and some packages like rpms are kn

[PHP] RE: [PHP-DB] Date field

2001-06-20 Thread Michael Geier, CDM Systems Admin
-mm-dd in DATE format you can pull it back out however you like with the DATE_FORMAT command "SELECT sometext,DATE_FORMAT(somedate,'%m/%d/%Y') AS date FROM tablename" then you have two variables: sometext and date see documentation on www.mysql.com for more info on DATE_FORMAT ---

RE: [PHP] Is this a joke?!

2001-06-22 Thread Michael Geier, CDM Systems Admin
I love it... server info: Server: Apache/1.3.19 (Unix) PHP/4.0.4pl1 mod_perl/1.25 -Original Message- From: Fredrik Arild Takle [mailto:[EMAIL PROTECTED]] Sent: Friday, June 22, 2001 9:44 AM To: [EMAIL PROTECTED] Subject: [PHP] Is this a joke?! Is this a joke? http://www.perl.com

RE: [PHP] RE: Time Taken to Process

2001-07-16 Thread Michael Geier, CDM Systems Admin
try the attached class. $t = new timer; $t->start(); // some code; $t->stop(); $diff = $t->gettime(); echo $diff; -Original Message- From: Phil Spitler [mailto:[EMAIL PROTECTED]] Sent: Monday, July 16, 2001 1:20 PM To: [EMAIL PROTECTED] Subject: [PHP] RE: Time Taken to Process yeah, I

[PHP] note to PHP developers

2001-07-17 Thread Michael Geier, CDM Systems Admin
I have noticed on the list over the past two months, an increasing number of problems with the mail() function. Mostly, people having this problem don't have sendmail installed. It would seem that PHP's mail() function was written around sendmail. Is there a way to resolve this, with either con

RE: [PHP] please help.

2001-07-18 Thread Michael Geier, CDM Systems Admin
try using the attached class. start(); // some code $time->stop(); $total = $time->gettime(); echo $total; ?> -Original Message- From: McShen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 18, 2001 11:08 AM To: [EMAIL PROTECTED] Subject: [PHP] please help. hi I wanna see how long

[PHP] PHP mail() security hole on 4.0.5+

2001-07-19 Thread Michael Geier, CDM Systems Admin
http://www.net-security.org/text/bugs/995534103,28541,.shtml -- 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] need advice on project...

2001-07-24 Thread Michael Geier, CDM Systems Admin
Project needs: create document on fly to "fax" to 100+ customers document will be queued up twice daily for submission document will have a "logo" branded @ top of page Services used: RedHat 7.1 HylaFax 4.1 PHP 4.0.6 Any insight would be appreciat

RE: [PHP] e-mail confirmation #76215525

2001-07-27 Thread Michael Geier, CDM Systems Admin
hahahaha... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, July 27, 2001 9:51 AM To: [EMAIL PROTECTED] Subject: [PHP] e-mail confirmation #76215525 This is a confirmation e-mail for your request. You can come anytime and claim your FREE Sex Toys at

RE: [PHP] Mail()

2001-08-13 Thread Michael Geier, CDM Systems Admin
your MTA is setting the envelope, not your script. if you are using sendmail, look at the -f flag in the man sendmail page. then modify your php.ini file. Or possibly even set the variable (sendmail_path) inside of your script to include the -f flag. -Original Message- From: Mahmoud

RE: [PHP] Mail()

2001-08-13 Thread Michael Geier, CDM Systems Admin
assem [mailto:[EMAIL PROTECTED]] Sent: Monday, August 13, 2001 9:40 AM To: Michael Geier, CDM Systems Admin Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Mail() I said before I do not have access to the php.ini I am on a virtual Hosting ... -Original Message- From: Michael Geier, CDM Systems

RE: [PHP] Execute a PHP script from unix (crontab)

2001-08-15 Thread Michael Geier, CDM Systems Admin
Why not use the tool built for the job? mysqldump will allow saving both data and structure. http://www.mysql.com/doc/m/y/mysqldump.html -Original Message- From: Kunal Jhunjhunwala [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 11:05 AM To: [EMAIL PROTECTED] Subject: Re: [

RE: [PHP] Convert to int...?

2001-08-22 Thread Michael Geier, CDM Systems Admin
(int)$siz will give you what you are looking for. although with the math below, you are going to end up with 0. $siz = 72 / 160;//returns 0.45 echo round($siz); //returns 0 echo (int)$siz; //returns 0 -Original Message- From: Seb Frost [mailto:[EMAI

RE: [PHP] Re: how to sort search results by relevance?

2001-08-29 Thread Michael Geier, CDM Systems Admin
www.google.com search "relevance searches in MySQL" 1. www.mysql.com/documentation/mysql/bychapter/manual_Fulltext_Search.html -Original Message- From: BRACK [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 11:40 AM To: Mark Maggelet Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Re

RE: [PHP] date/time of current page

2001-09-11 Thread Michael Geier, CDM Systems Admin
document.write('some text ' + document.lastmodified + ' some other text.'); -Original Message- From: Jack Dempsey [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 11, 2001 4:42 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] date/time of current page have you tried p

RE: [PHP] I am making a mailing list but....

2001-09-13 Thread Michael Geier, CDM Systems Admin
It would help if you were a little more descriptive about this... Are you trying to do this in the To: field, the Cc: or Bcc: fields, actually in the body of a message, in a flat file, in a DB... flat file: $fp = fopen("filename","w"); //emails in array while ($tmp = arra

RE: [PHP] ad rotation program

2001-10-04 Thread Michael Geier, CDM Systems Admin
check out Oasis on Freshmeat...I haven't used it, but I did notice it on there. also, as already posted, PHPads. -Original Message- From: Wandrer [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 04, 2001 2:12 PM To: Joseph Bannon Cc: [EMAIL PROTECTED] Subject: Re: [PHP] ad rotation prog

<    1   2   3