Shawn McKenzie wrote:
Adam Williams wrote:
I have staff inputting email addresses into a textarea named $list on
a form and when they click submit, my php script sorts the email
addresses and writes to disk. The problem is, lets say they enter the
email addresses
b...@mdah.state.ms.usstaff
Terion Miller wrote:
Well I changed it because it's not a post since its not coming from a form
is this closer?
if (!empty($UserName)) {
Why are you doing this? Only to see if 0 rows are returned? You can
use the results you know.
$sql = SELECT `AdminID`,`UserName` FROM `admin`
Frank Stanovcak wrote:
Ok. I've done some reading on frameworks for PHP now, and have this
question.
What are some good resources for learning about the various frameworks
available, and do you recomend one over another? If so why?
I started using PHP before frameworks came into the
); and post what you get.
-Shawn
Terion
On Wed, Jan 28, 2009 at 7:39 PM, Shawn McKenzie nos...@mckenzies.net
mailto:nos...@mckenzies.net wrote:
Chris wrote:
The main problem is that you've never explained what you want
to get
from the query. The replies have used
Terion Miller wrote:
Hi Again
Here is the query and code I tried:
$sql = SELECT * FROM workorders WHERE AdminID = (SELECT AdminID FROM
admin WHERE UserName = '
. mysql_real_escape_string($_SESSION['user']) . ');
$result2 = mysql_query ($sql);
$row2 = mysql_fetch_assoc
Michelle Konzack wrote:
Hello,
currently I am coding a RSS feeder for the Emdebian buildd-log and for
testing I use two files:
http://www.emdebian.org/buildd/a/apt/trunk/apt-arm-1233120802.log
http://www.emdebian.org/buildd/b/base-passwd/trunk/base-passwd-arm-1221459903.log
and if
Shawn McKenzie wrote:
Michelle Konzack wrote:
Hello,
currently I am coding a RSS feeder for the Emdebian buildd-log and for
testing I use two files:
http://www.emdebian.org/buildd/a/apt/trunk/apt-arm-1233120802.log
http://www.emdebian.org/buildd/b/base-passwd/trunk/base-passwd-arm
Terion Miller wrote:
Well upon looking it was number 2, I had no orders in the workorder table,
but here is an oddity I wonder if someone can explain if I run this simple
query:
$query = SELECT * FROM admin, workorders
WHERE admin.UserName = '.$_SESSION['user'].' ;
It returns
Shawn McKenzie wrote:
Terion Miller wrote:
Well upon looking it was number 2, I had no orders in the workorder table,
but here is an oddity I wonder if someone can explain if I run this simple
query:
$query = SELECT * FROM admin, workorders
WHERE admin.UserName = '.$_SESSION
Shawn McKenzie wrote:
Michelle Konzack wrote:
Hello,
currently I am coding a RSS feeder for the Emdebian buildd-log and for
testing I use two files:
http://www.emdebian.org/buildd/a/apt/trunk/apt-arm-1233120802.log
http://www.emdebian.org/buildd/b/base-passwd/trunk/base-passwd-arm
Michelle Konzack wrote:
Am 2009-01-29 16:09:00, schrieb Shawn McKenzie:
Actually though, instead of exec() why not something like:
$TMP_DATA = explode(\n, $BUILDLOG, 11);
Tried... but now I have 11 elements wher in the last element is the
whole rest of the BUILD-Log... continue
Michelle Konzack wrote:
Hello Shawn,
Am 2009-01-29 15:34:41, schrieb Shawn McKenzie:
exec(escapeshellcmd(echo '$BUILDLOG' | head -n 11), $TMP_DATA);
There are quotes or backticks or something in $BUILDLOG.
Thanks for it, now I have an array but the |head -n 11 is ignored and
my arrays
Michelle Konzack wrote:
Am 2009-01-29 15:34:41, schrieb Shawn McKenzie:
exec(escapeshellcmd(echo '$BUILDLOG' | head -n 11), $TMP_DATA);
There are quotes or backticks or something in $BUILDLOG.
Forgotten one thing: If I continue to process the array() with, e.g.,
$POS=strpos
Merlin Morgenstern wrote:
Hi there,
I am trying to unlink a file which is inside a folder that is not
writable to phps user www. Of course this failes, but I need to find a
solution for it.
Backgroud is following:
I have pure-ftpd installed where user directories get created by
Tom wrote:
Clancy clanc...@cybec.com.au wrote in message
news:c77vn4pri9tsbaqg9avv3i7dnfb8nvk...@4ax.com...
On Mon, 26 Jan 2009 17:57:29 -0600, obeli...@comcast.net (Tom) wrote:
..
Also make sure there aren't line returns or any nonsense like that in
the to subjects. Look up email
Terion Miller wrote:
Well I'm stuck I have the AdminID but now I can't seem to use it to pull
workorders with that AdminID . I couldn't get your block to work Andrew :(
I think I'm just not using it right now that I have it...lol
On Wed, Jan 28, 2009 at 2:26 PM, Andrew Ballard
Shawn McKenzie wrote:
Terion Miller wrote:
Well I'm stuck I have the AdminID but now I can't seem to use it to pull
workorders with that AdminID . I couldn't get your block to work Andrew :(
I think I'm just not using it right now that I have it...lol
On Wed, Jan 28, 2009 at 2:26 PM
Terion Miller wrote:
On Wed, Jan 28, 2009 at 3:43 PM, Shawn McKenzie nos...@mckenzies.netwrote:
Shawn McKenzie wrote:
Terion Miller wrote:
Well I'm stuck I have the AdminID but now I can't seem to use it to pull
workorders with that AdminID . I couldn't get your block to work Andrew
:(
I
Boyd, Todd M. wrote:
-Original Message-
From: Stephen [mailto:stephe...@rogers.com]
Sent: Wednesday, January 28, 2009 1:41 PM
To: Paul M Foster
Cc: php-general@lists.php.net
Subject: Re: [PHP] New to PHP question
Paul M Foster wrote:
If you want exact layout (columns
lined up,
Here are my variables when I reveal them, I am picking up the right
adminID I can't figure out why it's returning random orders though:
$querySELECT admin.AdminID, workorders.AdminID FROM admin,
workorders WHERE admin.UserName = 'tmiller'
$result Resource id #5
$row
key
Terion Miller wrote:
Your post made perfect sense to me about the INNER JOIN , I
looked it up but it is not returning the AdminID, maybe my
syntax is wrong?
$query = SELECT admin.AdminID , workorders.AdminID
FROM admin
Chris wrote:
The main problem is that you've never explained what you want to get
from the query. The replies have used your code as an example and I'm
pretty sure that's not what you want. Unless I totally mis-understand
what you want, you have 2 options:
1. Use the 2 queries that I
Tom wrote:
Edmund Hertle edmund.her...@student.kit.edu wrote in message
news:f7ed91b20901261644y125f71aer3e0b70735c949...@mail.gmail.com...
2009/1/26 Tom obeli...@comcast.net
Shawn McKenzie sh...@mckenzies.net wrote in message
news:497e3ab9.2060...@mckenzies.net...
Shawn McKenzie wrote
Terion Miller wrote:
Hello All,
I am having problems resolving errors with some images causing the Undefined
variable and getting property of non-object errors, I am trying to make a
copy function so that an order can be viewed then resubmitted as a new order
with minimal changes if needed.
Karyn Stump wrote:
Hi all,
Sequence:
Form1: Display fields for user to input data and submit.
Form2: Show user the information they input on form1 and allow them to
print or email this form.
I inherited the scripts above. The second script displays the results in
the browser and
Tom wrote:
My Hosting site said that I needed to include the PHP otherwise the form
won't work. I need to know where to include my email info to get this set up
don't I? What do you suggest?
T
Daniel Brown danbr...@php.net wrote in message
Tom wrote:
Shawn McKenzie wrote in message
news:a0.87.62571.3d92e...@pb1.pair.com...
Tom wrote:
My Hosting site said that I needed to include the PHP otherwise the form
won't work. I need to know where to include my email info to get this set
up
don't I? What do you suggest?
T
Daniel
Tom wrote:
Shawn McKenzie wrote in message
news:a0.87.62571.3d92e...@pb1.pair.com...
Tom wrote:
My Hosting site said that I needed to include the PHP otherwise the form
won't work. I need to know where to include my email info to get this set
up
don't I? What do you suggest?
T
Daniel
Shawn McKenzie wrote:
Tom Scott wrote:
- Original Message - From: Shawn McKenzie
nos...@mckenzies.net
Newsgroups: php.general
To: php-general@lists.php.net
Sent: Monday, January 26, 2009 3:52 PM
Subject: Re: [PHP] Coding for email response forms
Tom wrote:
Shawn McKenzie
Ashley Sheridan wrote:
Hi all,
I've run into a bit of a problem. I put together a query using mysql
variables in the form set @m:= 0; with the select that uses it directly
after. For any wondering, the select was using it as an incremental
value which can't be hard coded, as the value will
Daniel Brown wrote:
On Wed, Jan 21, 2009 at 20:27, Jack Bates ms...@freezone.co.uk wrote:
How can I tell the difference between a variable whose value is null and
a variable which is not set?
Unfortunately, in PHP - like other languages - you can't.
A variable is considered to be
Shawn McKenzie wrote:
Daniel Brown wrote:
On Wed, Jan 21, 2009 at 20:27, Jack Bates ms...@freezone.co.uk wrote:
How can I tell the difference between a variable whose value is null and
a variable which is not set?
Unfortunately, in PHP - like other languages - you can't.
A variable
Daniel Brown wrote:
On Thu, Jan 22, 2009 at 15:11, Shawn McKenzie nos...@mckenzies.net wrote:
Or something like this (dunno, just brainstorming):
function setornull($var)
{
if (!isset($var)) {
return false;
}
elseif (is_null($var
Daniel Brown wrote:
On Thu, Jan 22, 2009 at 15:12, Daniel Brown danbr...@php.net wrote:
Unfortunately, neither solution would work. isset() will return
FALSE even for an instantiated and explicitly-defined NULL variable.
Forgot to mention that, in addition, is_null() will return TRUE
kabucek1 wrote:
hi all,
I have form in which people renew their agreements online.
they can renew up to 5 agreements.
I need to check if the expiration date is older than today, late fee will be
added.
if exp. date is equal or newer - no late fee.
I have something like this so far and I
Shawn McKenzie wrote:
Wow! Yes, there are a lot of ways to do it. This is a quick stab (not
tested):
$Today = date('m/d/y');
if ( $selectedProdCode == agreem $errorArray['agr1expdate'] $Today)
{
$selectedProdCode= //agreement cost + late fee
} else {
$selectedProdCode
Kyle Terry wrote:
On Mon, Jan 19, 2009 at 6:31 PM, Nathan Rixham nrix...@gmail.com wrote:
Eric Butera wrote:
On Mon, Jan 19, 2009 at 9:13 PM, Kyle Terry k...@kyleterry.com wrote:
On Mon, Jan 19, 2009 at 6:07 PM, Daniel Brown danbr...@php.net wrote:
On Mon, Jan 19, 2009 at 19:58, Edmund
c...@wizzyweb.com wrote:
After posting to this list to see if it is appropriate and getting good
feedback, I'm posting an announcement I think is very relative to this list
as I have been using PHP ever since it was a Perl script (PHP/FI) and have
been heavily influenced by it's concept and
Nathan Rixham wrote:
lucson pierre-charles wrote:
Dear Nathan,
The short_tags is sure off but when I changed the
scripts, they're still being output to the browser.
These are the lines I added to the modules section:
#LoadModule php5_module c:/php5/php5apache2.dll
lucson pierre-charles wrote:
Nathan,
When I remove the #'s, I can't have Apache to restart. I keep
receiving error messages.
Lucson Date: Tue, 20 Jan 2009 22:41:44 + From: nrix...@gmail.com To:
lucsonpie...@hotmail.com CC: php-general@lists.php.net Subject: [PHP] Re:
lucson pierre-charles wrote:
Yes. It can't find a file. To: php-general@lists.php.net Date: Tue, 20 Jan
2009 17:14:14 -0600 From: nos...@mckenzies.net Subject: Re: [PHP] Re:
Installation problems on Vista lucson pierre-charles wrote: Nathan,
When I remove the #'s, I can't have Apache
Robert Cummings wrote:
On Mon, 2009-01-19 at 12:25 -0500, Daniel Brown wrote:
On Mon, Jan 19, 2009 at 11:33, c...@wizzyweb.com wrote:
I have been looking but can't find which PHP list is best to post info
regarding a new PHP tool. I have seen new product/service announcements on
this list,
Lars Torben Wilson wrote:
2009/1/15 tedd tedd.sperl...@gmail.com:
At 9:46 AM -0800 1/15/09, Chris Carter wrote:
Chris:
That's not the way I would do it. After establishing a connection with the
database, I would use the query:
$query SELECT email FROM owners WHERE email = '$emailAddress'
Boyd, Todd M. wrote:
-Original Message-
From: farn...@googlemail.com [mailto:farn...@googlemail.com] On Behalf
Of Edmund Hertle
Sent: Thursday, January 15, 2009 4:13 PM
To: PHP - General
Subject: [PHP] Parsing HTML href-Attribute
Hey,
I want to parse a href-attribute in a given
Shawn McKenzie wrote:
Boyd, Todd M. wrote:
-Original Message-
From: farn...@googlemail.com [mailto:farn...@googlemail.com] On Behalf
Of Edmund Hertle
Sent: Thursday, January 15, 2009 4:13 PM
To: PHP - General
Subject: [PHP] Parsing HTML href-Attribute
Hey,
I want to parse a href
Boyd, Todd M. wrote:
-Original Message- From: Shawn McKenzie
[mailto:nos...@mckenzies.net] Sent: Friday, January 16, 2009 1:08
PM To: php-general@lists.php.net Subject: Re: [PHP] Parsing HTML
href-Attribute
Shawn McKenzie wrote:
Boyd, Todd M. wrote:
-Original Message
I believe the OP wanted to leave already-absolute paths alone
(i.e., only convert relative paths). The regex does not take into
account fully-qualified URLs (i.e.,
http://www.google.com/search?q=php) and it does not determine if a
given path is relative or absolute. He was wanting to take the
Matt Pagel wrote:
Is there a way to check not only if a function exists, but also to check
that the number and types of parameters desired match a function
definition?
The reason being that additional options have been added in php 4 and 5
to various standard function calls, but I'm still
Edmund Hertle wrote:
* http://www.google.com/search?q=php ... absolute path (yes, it's a URL,
but treat it as absolute)
* https://www.example.com/index.php ... absolute path (yes, it's a URL,
but to the local server)
* /index.php ... absolute path (no protocol given, true absolute path)
*
Sam Smith wrote:
I need a script that will crawl a list of websites and download all .jpg,
.gif, .png files.
I can think of some ways how to start like, fopen() or maybe curl(). And it
downed on me I'd need to handle files writing over with the same name. And
it would be cool to save the
Applejus wrote:
Hello there,
Kind of newbie to PHP and javascript... I have this problem:
I want to pass a javascript variable to a PHP code.
I am inside a javascript function that is creating HTML elements
dynamically. After creating a select tag, I want to populate it with a
list of
bruce wrote:
Hi List!
I know this is somewhat basic.. and I am searching google as I type! I'm
looking for a client/server app that allows me to have a quick/dirty client
that can upload/download a file to a server app, with the server app copying
the file to a given dir...
Code
paragasu wrote:
is it possible to do it like
SELECT *, UNIX_TIMESTAMP(post_date)-172,800 as is_new FROM tbl
$post = mysqli_fetch_object($sql);
if($post-is_new)
echo 'img src=new.gif';
From what I can tell, you'll just have a timestamp 2 days earlier than
the actual post date in the is_new var.
Shawn McKenzie wrote:
paragasu wrote:
is it possible to do it like
SELECT *, UNIX_TIMESTAMP(post_date)-172,800 as is_new FROM tbl
$post = mysqli_fetch_object($sql);
if($post-is_new)
echo 'img src=new.gif';
From what I can tell, you'll just have a timestamp 2 days earlier than
the actual
tedd wrote:
What it is depends on what encryption routines you have installed.
The algorithm to authenticate detects the algorithm based on the hash.
32-char : MD5
$1$ : SHA-1
$2$ : SHA-2
etc.
(Apologies if I got my tokens/algorithms wrong)
If you just toss MD5s in there, it
Alice Wei wrote:
Hi, Ashley:
I thought about it and edited my script to check what permission I had, and
it appears I do have the permission rights, and it actually changed to 0777.
Here is the code:
?php
ini_set('display_errors', 1); error_reporting(E_ALL);
$curDir = getcwd();
Frank Stanovcak wrote:
I'm trying to make sure that my sessions are timed out by my server.
I'm running it on winxp, and my php.ini contains the following
session.gc_probability = 1
session.gc_divisor = 1
; After this number of seconds, stored data will be seen as 'garbage' and
;
Micah Gersten wrote:
Jochem Maas wrote:
switch (true) {
case ($x === $y):
// something
break;
case ($a != $b):
// something
break;
case (myFunc()):
// something
break;
case
Frank Stanovcak wrote:
Nathan Rixham nrix...@gmail.com wrote in message
news:496d03d3.2060...@gmail.com...
Frank Stanovcak wrote:
Shawn McKenzie nos...@mckenzies.net wrote in message
news:f8.ef.24097.e510d...@pb1.pair.com...
Frank Stanovcak wrote:
I'm trying to make sure that my sessions
Tim Donnelly wrote:
I seem to recall reading something about Apache modules that you can do
a configure, then make, but not the make install and just move the newly
compiled module by hand.
Is that possible with PHP? If so, where would the newly complied
extension be, and where would it
c...@l-i-e.com wrote:
Short Answer:
You can't.
:-)
http://en.wikipedia.org/wiki/CMYK
Long Answer:
You probably can, but not in some way that makes sense to discuss here on
PHP-general.
The external links in the above article should get you started.
May not always come out with
Gary wrote:
Ok...so the error log is riddled with messages like this
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program
Files\\PHP\\ext\\php_mysql.dll' - The specified procedure could not be
found.\r\n in Unknown on line 0
The php_mysl.dll is located at C:\Program
Dan Shirah wrote:
On Wed, Jan 7, 2009 at 4:54 AM, Mika Jaaksi mika.jaa...@gmail.com wrote:
I already can get the data from database to a page. Now I want to make link
from that data to next page and on that new page it should show all the
data
that is related.
example:
data from
Daniel Kolbo wrote:
Hello,
suppose there is a file at http://otherhost.com/remote.php that looks
like this:
?php
if (!isset($safe_flag))
{
die(hacking attempt);
}
echo You are in;
?
Suppose i executed the following php file at http://myhost.com/local.php
?php
Anders Norrbring wrote:
On Fri, Jan 2, 2009 at 14:14, Anders Norrbring li...@norrbring.se
wrote:
*bump*
Please don't bump threads, Anders. This is not a traditional
web-based user forum. You've provided no additional data, so there is
no need to bring this thread up again. If you want
Jim Lucas wrote:
Boyd, Todd M. wrote:
-Original Message-
From: Jagdeep Singh [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2008 8:39 AM
To: php-general@lists.php.net
Subject: [PHP] How to fetch .DOC or .DOCX file in php
Importance: Low
Hi !
I want to fetch text from
tedd wrote:
Hi gang:
What methodology would be the best for online voting?
I have a client who is a Union and they want members to vote online, but
don't want someone to stuff the voting box.
I have some ideas of my own, but would like to hear what you people
would recommend.
Stan wrote:
I surrender.
My web site is too complex to explain here.
Yes, I poked around on it from the link in your previous email. I must
say that it appears that you have made things much more complex than
they need to be.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General
Stan wrote:
Ashley,
If you go back to the original append you will see the URLs. IE 6 SP1
returns exactly the string that appears in the input name=\SELECTEDFILE\
type=\file\ / text box, FireFox does not. I would assume that anyone
using the dialog would expect the behaviour that IE
Patrick Moloney wrote:
I have web pages that display multiple physical products. I'd like to be
able to include a button near each one to display certain
characteristics (eg: height, length, depth, weight etc).
These characteristics will be in a single table record in Mysql for each
product,
Patrick Moloney wrote:
Would #2 be blocked by user popup blocker?
I guess it depends on the popup blocker, but I would say no since it
requires user action to open the window. I think most popup blockers
block automatic popups. This popup technique works for me with firefox
when I have it
bruce wrote:
interesting points regarding college and programming..
my degrees bsee/msee covered alot more than pure programing.. as a double
ee/cs, the ability to articulate an issue/problem, and bring to mind a cogent
thought process was valuable. the ability to understand how different
tedd wrote:
At 7:08 PM +0100 11/7/08, Jochem Maas wrote:
Stan schreef:
If this is the wrong forum, please point me at the correct forum.
I am new to PHP but have 40 years experience programming.
cool. we're you around when they programmed with Rocks[tm]? :-)
(stick around a while and
Dotan Cohen wrote:
2008/10/30 Shawn McKenzie [EMAIL PROTECTED]:
Richard Heyes wrote:
It's
exceedingly easy to configure and use.
Not as easy as setting up a Google group, which I've just done... :-)
For anyone whose interested: http://groups.google.com/group/rgraph
Robert Cummings wrote:
On Fri, 2008-10-31 at 09:02 -0500, Daniel P. Brown wrote:
On Fri, Oct 31, 2008 at 4:06 AM, Richard Heyes [EMAIL PROTECTED] wrote:
Improuve? Thaut's nout whaut Iu'd caull iut...
And while we're on the subject, who gave that Canadian the right
to say anything about
Richard Heyes wrote:
It's
exceedingly easy to configure and use.
Not as easy as setting up a Google group, which I've just done... :-)
For anyone whose interested: http://groups.google.com/group/rgraph
OH GOD MY EYES ARE BLEEDING! Is that a breast cancer awareness group?
--
Thanks!
Robert Cummings wrote:
On Thu, 2008-10-30 at 15:48 -0500, Daniel P. Brown wrote:
On Thu, Oct 30, 2008 at 3:44 PM, Ashley Sheridan
[EMAIL PROTECTED] wrote:
Called English for a reason you Yank ;)
Hey, my forefathers, foremothers, fore-aunts and -uncles, et
cetera, didn't spend the last
blackwater dev wrote:
I have a project now where we would like to properly remove unwanted data
before it goes into the db such as ` and of course slashes. The problem is
I have tons of pages. Is there an easy way to add in a clean up routine on
the db side to clean it going in and coming
Richard Heyes wrote:
Hi,
Had to show this off - I'm so proud. READ: full of myself... I've
tried it in Firefox 3, Opera 9.6, Chrome and Safari, all on Windows.
http://dev.rgraph.org/examples/interactive.html
Very nice. Looks good on Kubuntu FF3. The only issue I see is that no
matter
Seth Foss wrote:
Hi everyone,
I am trying to run multiple sites on the same server, that have mostly
identical code - a pre-built application.
Anyway, I would like to save disk space by specifying independent
configuration files for each site, then using symbolic links to access
the
David Robley wrote:
Jim Lucas wrote:
Chrome wrote:
-Original Message-
From: Amy [mailto:[EMAIL PROTECTED]
Sent: 21 October 2008 11:58
To: php-general@lists.php.net
Subject: [PHP] Politics
representations emphasizing leksr matching thirds painfully wakesleep
ekswiezeezeewie
[EMAIL PROTECTED] wrote:
I think we need a new error reporting constant E_STUPID.
This should catch stupid things I do like trying to embed an array into a
string such as:
$foo = array('a', 'b', 'c');
$query = select * from foo where foo in ('$foo');
It's been one of those days...
Jochem Maas wrote:
Andy Dyble schreef:
Hi
I am looking for a remote developer for small add hoc jobs. Usually
only a few hours at a time. Basic stuff, listing data from SQL and text
files. Mainly work on existing systems.
personally I'd run in the other direction based on that
Rick Pasotto wrote:
On Sat, Oct 18, 2008 at 08:07:26PM -0500, Shawn McKenzie wrote:
Terry J Daichendt wrote:
I'm trying to create a form with a loop. I need to append a value to a
field name each time through the loop. For Instance:
while ($row = mysql_fetch_assoc($result)) {
$x=1
Terry J Daichendt wrote:
I'm trying to create a form with a loop. I need to append a value to a
field name each time through the loop. For Instance:
while ($row = mysql_fetch_assoc($result)) {
$x=1;
echo tr;echo tdinput type='text' id='qty'
name='quantity_' size='2'
Nathan Rixham wrote:
Evening All,
I'd be /really/ interested to know who uses what!
*Procedural or OOP?*
Procedural for small stuff - OOP for larger stuff when using framework
*Dev OS*
Kubuntu Hardy Heron
*Dev PHP Version*
5.2.4
*Live Server OS*
FC 6
*Live Server PHP Version*
Shawn McKenzie wrote:
Nathan Rixham wrote:
Evening All,
I'd be /really/ interested to know who uses what!
*Procedural or OOP?*
Procedural for small stuff - OOP for larger stuff when using framework
*Dev OS*
Kubuntu Hardy Heron
*Dev PHP Version*
5.2.4
currently (whatever is current
Per Jessen wrote:
Shawn McKenzie wrote:
Matrix printer? Is this an awesomely powerful matrix of multiple
printers high output printers?
-Shawn
http://en.wikipedia.org/wiki/Matrix_printer
/Per Jessen, Zürich
Ha,ha, yes I know. My first printer was a
http://en.wikipedia.org/wiki
[EMAIL PROTECTED] wrote:
OKay now i am really stumped.
Notice: Undefined index: filename
When clearly I have it being set in the form with the file.
Any suggestions?
[EMAIL PROTECTED] wrote:
I am using a form to select a csv file and then import it into mysql and
maybe im
Dušan Novaković wrote:
I have some request to sent text to matrix printer to print ticket for
theater. Is it possible to do that whit some php functions? Main point
is how to control length of paper that will be drawn inside and to
print text on a specific place. It would be nice if somebody
Jiang Miao wrote:
Is there any function do that?
when php in Linux it returns linux
in windows it returns windows
I found phpinfo(INFO_GENERAL); output the string System = Linux ubuntu
2.6.24-19-server. but I have no idea to get that info.
Thanks
Jiang Miao
PHP_OS constant.
-Shawn
[EMAIL PROTECTED] wrote:
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.
form
OOzy Pal wrote:
Hello,
I expect that this question been beaten to death. I googled for many hours
and all what I found is related to one CMS or another. I want to do is to
make a very very very simple index.php that when is it called it
automatically detect the page and load it. For
Shawn McKenzie wrote:
OOzy Pal wrote:
Hello,
I expect that this question been beaten to death. I googled for many hours
and all what I found is related to one CMS or another. I want to do is to
make a very very very simple index.php that when is it called it
automatically detect the page
Frank Stanovcak wrote:
I'm trying to follow the three precepts of accepting user entries...
1. never trust it.
2. never trust it.
3. never trust it ever!
I have one entry that may equal 0 on submission, and if it does is tripping
a bool false result, so I came up with this work around.
Richard Heyes wrote:
Unless that was the business you were in ;)
True enough, but what kind of business would that be...? :-)
Rating poo, of course...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tedd wrote:
Hi gang:
Apparently, there's something going on here that I don't understand --
this happens far too often these days.
Here's a print_r($_SESSION); of the session arrays I'm using:
[user_id] = Array
(
[0] = 6156
[1] = 7030
Shawn McKenzie wrote:
tedd wrote:
Hi gang:
Apparently, there's something going on here that I don't understand --
this happens far too often these days.
Here's a print_r($_SESSION); of the session arrays I'm using:
[user_id] = Array
(
[0] = 6156
[1
tedd wrote:
At 2:43 PM -0500 10/1/08, Afan Pasalic wrote:
just tested. works fine
$_SESSION = array(
'6156' = array(
'first_name'= 'Diane',
'last_name' = 'Cable'),
'7030' = array(
Shawn McKenzie wrote:
Waynn Lue wrote:
Yup, you're completely right. I checked the cronjob and got this:
PHP 5.2.6 (cgi) (built: Aug 11 2008 13:39:32)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with Advanced PHP Debugger (APD
601 - 700 of 1115 matches
Mail list logo