On Jan 29, 2009, at 6:07 PM, Eric Butera eric.but...@gmail.com wrote:
On Thu, Jan 29, 2009 at 9:02 PM, Paul M Foster pa...@quillandmouse.com
wrote:
On Fri, Jan 30, 2009 at 11:10:16AM +1100, Clancy wrote:
snip
As a former assembly language programmer I have some idea of the
vast
amount of
Hi there,
I'm working on something similar to mailing list in which every registered
user has the ability to create a mailing list and join others mailing lists.
My users table is something like that (in short):
CREATE TABLE IF NOT EXISTS `users` (
`id` INT( 11 ) UNSIGNED NOT NULL
_
Hi all,
I have the following snippet of XML:
Code:
HotelDetails
Hotel HasExtraInfo=true HasMap=true
HasPictures=true
Item
Code=AME![CDATA[ AMERICAN ]]/Item
I need to get the Code for
2009/1/30 Nitsan Bin-Nun nit...@binnun.co.il
Hi there,
I'm working on something similar to mailing list in which every registered
user has the ability to create a mailing list and join others mailing
lists.
My users table is something like that (in short):
CREATE TABLE IF NOT EXISTS
check this :
http://nl3.php.net/manual/en/book.simplexml.php
best regards
Robert
Angelo Zanetti :
Hi all,
I have the following snippet of XML:
Code:
HotelDetails
Hotel
Angelo Zanetti wrote:
Hi all,
I have the following snippet of XML:
Code:
HotelDetails
Hotel HasExtraInfo=true HasMap=true HasPictures=true
Item Code=AME![CDATA[ AMERICAN ]]/Item
I need to get the Code for the item, IE get the value AME from the
XML. I am using PHP5 and the
Hi All,
I have the following problem under Ubuntu 8.10 (intrepid).
I need tu use PHP with gd.so pdo.so pdo_pgsql.so pgsql.so
libraries. I installed everything through apt-get, but PHP complained
something about PDO. After googleing, I found out that the built-in
PDO interferes with the
I have thought of using comma-separated ID's in special field in the lists
table of the users who have joined that specific list, but I have also
thought of doing the same at the users table, then I had another solution
which is to create new table:
create table `relations` (
`listid`
-Original Message-
From: Per Jessen [mailto:p...@computer.org]
Sent: 30 January 2009 11:53
To: php-general@lists.php.net
Subject: Re: [PHP] Extract code from XML
Angelo Zanetti wrote:
Hi all,
I have the following snippet of XML:
Code:
HotelDetails
Hotel HasExtraInfo=true
Angelo Zanetti wrote:
Thanks Per but I didn't send all the XML but you see that there is a
city code and an item code:
Hotel HasExtraInfo=true HasMap=true HasPictures=true
Recommended = true
City Code=AMS![CDATA[ Amsterdam ]]/City
Item Code=AME![CDATA[
Hi gang,
I have developed a web intranet and I have added mail notification
when some tasks are done. I am using the mail() function to send mail
since no advanced features are needed like attachments. So I am facing a
weird problem with the mail subject encoding. Let me explain.
I am
Hi All,
I am looking for an open-sourced CMS that is PHP/MySQL based.
I would like something simple to setup, but also would be good for a
storefront as I want to use it for my indie business.
Thoughts?
-Jason
If you don't need to develop but just click and change things you could
On Fri, 2009-01-30 at 14:53 +0200, Thodoris wrote:
Hi All,
I am looking for an open-sourced CMS that is PHP/MySQL based.
I would like something simple to setup, but also would be good for a
storefront as I want to use it for my indie business.
Thoughts?
-Jason
If you
Hi,
I have a code snippet here as in the following:
//Switch statements between the four options
switch($string) {
case :
$string= NOT book.author='All';
break;
default:
$string= $string . AND NOT book.author='All';
break;
}
This code does work, but I am wondering if it is possible in
Jason Todd Slack-Moehrle wrote:
Hi All,
I am looking for an open-sourced CMS that is PHP/MySQL based.
I would like something simple to setup, but also would be good for a
storefront as I want to use it for my indie business.
Thoughts?
bitweaver
www.bitweaver.org
'One stop shop' for cms
Thodoris wrote:
I am having a FreeBSD web server for development that is working like
a charm when sending mail using something like this:
// Define the e-mail content
$email = f...@foo,com;
$subject = H εργασία: (id: 1868) έκλεισε χωρίς σχόλια.;
$message = Αυτό είναι ένα τέστ. Αυτό είναι
On Fri, Jan 30, 2009 at 3:38 AM, Nitsan Bin-Nun nit...@binnun.co.il wrote:
Hi there,
I'm working on something similar to mailing list in which every registered
user has the ability to create a mailing list and join others mailing lists.
My users table is something like that (in short):
Hi,
I'm running PHP on a CentOS 5.2 box and I'd like to get the kadm5 library to work. The documentation says
that the package is both included by default and also available as a PECL module. The functions are not
available in my base install (I'm using the PHP package from the CentOS
Thodoris wrote:
I am having a FreeBSD web server for development that is working like
a charm when sending mail using something like this:
// Define the e-mail content
$email = f...@foo,com;
$subject = H εργασία: (id: 1868) έκλεισε χωρίς σχόλια.;
$message = Αυτό είναι ένα τέστ. Αυτό είναι
Thodoris wrote:
But for some reason you've specified ISO-8859-1 instead of UTF-8?
/Per Jessen, Zürich
Yes I know that this is not reasonable but using UTF-8 fails.
Fails _how_? Put up the resulting email somewhere for us to see. (the
raw email text).
If your source files are UTF-8,
On Fri, Jan 30, 2009 at 8:37 AM, Andrew Ballard aball...@gmail.com wrote:
On Fri, Jan 30, 2009 at 3:38 AM, Nitsan Bin-Nun nit...@binnun.co.il
wrote:
Hi there,
I'm working on something similar to mailing list in which every
registered
user has the ability to create a mailing list and
-Original Message-
From: Paul M Foster [mailto:pa...@quillandmouse.com]
Sent: Thursday, January 29, 2009 8:02 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Re: Hidden costs of PHP arrays?
On Fri, Jan 30, 2009 at 11:10:16AM +1100, Clancy wrote:
snip
As a former assembly
At 4:43 PM -0500 1/29/09, Frank Stanovcak wrote:
yes...that is legal. as long as the statment resolves to a boolean it will
work. It's not technically correct, but it does work.
There you go again. What's technically correct?
Cheers,
tedd
--
---
http://sperling.com
tedd schreef:
At 4:43 PM -0500 1/29/09, Frank Stanovcak wrote:
yes...that is legal. as long as the statment resolves to a boolean it
will
work. It's not technically correct, but it does work.
There you go again. What's technically correct?
hiya tedd,
you mean to ask not technically
Hi there,
I'm not in PHP on a daily basis, but from time to time I get to program a
little in PHP for certain projects.
Recently, I've installed a Magento system... and I've installed a canada
post shipping module for this system.
One thing that seems to be tripping it up is that it's using
-Original Message-
From: Yves Arsenault [mailto:yves.arsena...@gmail.com]
Sent: Friday, January 30, 2009 9:40 AM
To: PHP List
Subject: [PHP] CURL vs stream_socket_client
Hi there,
I'm not in PHP on a daily basis, but from time to time I get to
program
a
little in PHP for certain
Hi Todd,
First off.. thanks for the reply.
I've dumped the xml data and tried to view it in Firefox... commented out
the curl code (and all the other stuff) just to see what exactly was getting
passed.
Firefox did not display it as it does xml... like when I got directly to
that xml file with
Sorry, I could have been a little clearer:
I can't recompile PHP. It's against our general policy to use custom compiled
software on the grounds that there are too many sysadmins managing a lot of
these machines and if some software is custom compiled and others not, it gets
too confusing
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 hits enter
ama...@mdah.state.ms.usstaff hits
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 hits enter
Hello.
Supose that i have this script:
?php
require_once(lib.php);
lib_function();
?
I want to know if there is a way to call the lib.php library from the
.htaccess instead of the PHP script?
Thanks.
Is anyone running Zend Framework under IIS? If so, how do you have it
configured? (ISAPI versus FastCGI, etc.) Do you use any code
optimizers?
The reason I ask is because we set it up on a couple servers where I
work and it is dreadfully slow. Just to render a basic page with no
data connection
On Fri, Jan 30, 2009 at 12:41 PM, R B rbp...@gmail.com wrote:
Hello.
Supose that i have this script:
?php
require_once(lib.php);
lib_function();
?
I want to know if there is a way to call the lib.php library from the
.htaccess instead of the PHP script?
Thanks.
.htaccess won't
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
Shawn McKenzie wrote:
This may be best handled in your sorting code. What does it look like?
yeah just a second ago a big lightbulb went off in my head and i fixed
my code to add a \r\n on saving, and strip it on viewing. I sort on
viewing, not sort on saving. The viewing code looks
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 picture, and then had to
take
Hello Adam!
$list2 = explode(\n, $list); // \n not \r\n
$list = implode(\r\n, $list2);
foreach ... - not need
with the best regards
- Konstantin Kurilov
Shawn McKenzie wrote:
Adam Williams wrote:
I have staff inputting email addresses into a textarea named $list on
a form and when they
Yes that's right, until now I didn't spent time on writing another table
because my job was to develop some internal system to manage the company
projects HR (we are too small, it won't make the difference).
Well umm thanks, I'm going to write the blueprints for the tables :P
On Fri, Jan 30,
On Fri, Jan 30, 2009 at 1:15 PM, Frank Stanovcak
blindspot...@comcast.net 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?
On Fri, Jan 30, 2009 at 1:15 PM, Frank Stanovcak
blindspot...@comcast.netwrote:
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 was just wondering whether people enclosing their PHP tags declarations,
I don't close these ?php tags just because the interpreter doesn't really
needs them,
and for the second reason - if a space/tab/new line/etc will beneath them it
will cause
problems with output buffering and session
On Fri, Jan 30, 2009 at 1:45 PM, Nitsan Bin-Nun nit...@binnun.co.il wrote:
I was just wondering whether people enclosing their PHP tags declarations,
I don't close these ?php tags just because the interpreter doesn't really
needs them,
and for the second reason - if a space/tab/new line/etc
Nitsan Bin-Nun wrote:
I was just wondering whether people enclosing their PHP tags
declarations, I don't close these ?php tags just because the
interpreter doesn't really needs them,
and for the second reason - if a space/tab/new line/etc will beneath
them it will cause
problems with output
My question is one of pay; hope this is the correct forum.
A couple of people have asked me to write some PHP code for their website
backend.
I need the money from this but I don't know what to charge them. I think in
total the work will be about 8-10 hours.
Please indicate what
Same here.
They're just extraneous elements and can hide whitespace.
I leave them open in all applcation files and close them only in templates.
I only close tags inside templates. All of my logic code is outside
of markup though so those files never have a closing ? for exactly
the
He is right.
CI is the fastest, but ZEND has awesome flexibility.
I usually uses CI, just because it is written in PHP4 and in about 50% of
the servers in Israel there is no PHP5 :X
But I really like Zend.
I will suggest the OP to download the latest CI (as far as I remember the
version is
Nitsan Bin-Nun schrieb:
I was just wondering whether people enclosing their PHP tags declarations,
I don't close these ?php tags just because the interpreter doesn't really
needs them,
and for the second reason - if a space/tab/new line/etc will beneath them it
will cause
problems with output
Nitsan Bin-Nun wrote:
I usually uses CI, just because it is written in PHP4 and in about 50% of
the servers in Israel there is no PHP5 :X
I am just curious. Why is PHP 5 so rare there?
--
Skip Evans
Big Sky Penguin, LLC
503 S Baldwin St, #1
Madison WI
On Fri, Jan 30, 2009 at 2:18 PM, Carlos Medina i...@simply-networks.dewrote:
Nitsan Bin-Nun schrieb:
I was just wondering whether people enclosing their PHP tags declarations,
I don't close these ?php tags just because the interpreter doesn't really
needs them,
and for the second reason -
On Fri, Jan 30, 2009 at 2:11 PM, Ernie Kemp ernie.k...@sympatico.ca wrote:
My question is one of pay; hope this is the correct forum.
A couple of people have asked me to write some PHP code for their website
backend.
I need the money from this but I don't know what to charge them. I
Hi all,
It really seems to me that somehow when the curl command is run that it's
not posting the request to port 3 to sellonline.canadapost.ca.
That's the impression I'm under.
Any ideas?
Yves Arsenault
Love is the only force capable of transforming an enemy into a friend.
--Martin Luther
On Fri, Jan 30, 2009 at 12:46 PM, Andrew Ballard aball...@gmail.com wrote:
Is anyone running Zend Framework under IIS? If so, how do you have it
configured? (ISAPI versus FastCGI, etc.) Do you use any code
optimizers?
The reason I ask is because we set it up on a couple servers where I
work
On Fri, 2009-01-30 at 15:42 -0500, Andrew Ballard wrote:
On Fri, Jan 30, 2009 at 12:46 PM, Andrew Ballard aball...@gmail.com wrote:
Is anyone running Zend Framework under IIS? If so, how do you have it
configured? (ISAPI versus FastCGI, etc.) Do you use any code
optimizers?
The reason I
2009/1/30 Eric Butera eric.but...@gmail.com
On Fri, Jan 30, 2009 at 1:45 PM, Nitsan Bin-Nun nit...@binnun.co.il
wrote:
I was just wondering whether people enclosing their PHP tags
declarations,
I don't close these ?php tags just because the interpreter doesn't
really
needs them,
and
On Fri, Jan 30, 2009 at 3:50 PM, Edmund Hertle
edmund.her...@student.kit.edu wrote:
What is the problem in session handling? I think I came never across this
issue altough I do close my tags...
If there's any rogue whitespace in your file, it's sent to the browser
as the start of data. So if
On Fri, Jan 30, 2009 at 12:50 PM, Edmund Hertle
edmund.her...@student.kit.edu wrote:
What is the problem in session handling? I think I came never across this
issue altough I do close my tags...
I think it depends if output buffering is on or not. If it is not
enabled, these linebreaks/etc.
Hello everyone,
Maybe it was bit off topic.
Recently we move our web server. Of course there where tons of WTF ???
So is there any kindof web based management system to handle. Web based
projects.
I'm looking for someting like this
Customer
-- Project 1
-- Project 2
-- Project
2009/1/30 Sancar Saran sancar.sa...@evodot.com
Hello everyone,
Maybe it was bit off topic.
Recently we move our web server. Of course there where tons of WTF ???
So is there any kindof web based management system to handle. Web based
projects.
I'm looking for someting like this
If you would have drawn a graph of technological development of Israel I
guess that you would have got something like a straight line with a really
big inclination.
People here want to start developing online when they doesn't even know the
basics, most of the server administrators here installs
2009/1/30 Bastien Koert phps...@gmail.com
On Fri, Jan 30, 2009 at 2:11 PM, Ernie Kemp ernie.k...@sympatico.ca
wrote:
My question is one of pay; hope this is the correct forum.
A couple of people have asked me to write some PHP code for their website
backend.
I need the
Adam Williams wrote:
Shawn McKenzie wrote:
This may be best handled in your sorting code. What does it look like?
yeah just a second ago a big lightbulb went off in my head and i fixed
my code to add a \r\n on saving, and strip it on viewing. I sort on
viewing, not sort on saving.
Nitsan Bin-Nun wrote:
In Israel most of the servesr run centos
I first came across centos a few years back at a client's
hosting facility and had never heard of it before, though it
seems to have a large install base.
I heard it's a free version of Enterprise Redhat???
Not sure, though,
Think I'm setting this in the wrong place...someone help ...where do I set
the AdminID session
if (isset($_POST['UserName'])) {$UserName = $_POST['UserName'];} else
{$UserName = '';}
if (isset($_POST['Password'])) {$Password = $_POST['Password'];} else
{$Password = '';}
$msg = '';
if
Shawn McKenzie nos...@mckenzies.net wrote in message
news:47.36.08436.e8b80...@pb1.pair.com...
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
Well I changed it because it's not a post since its not coming from a form
is this closer?
?php
//start session
session_start();
//db connection include
include(inc/dbconn_open.php) ;
//errors on
error_reporting(E_ALL);
ini_set('display_errors', '1');
if (isset($_POST['UserName'])) {$UserName =
You can set it where you are attempting to, but you need to have the
sesion_start(); at the top of the file
Bastien
Sent from my iPod
On Jan 30, 2009, at 17:20, Terion Miller webdev.ter...@gmail.com
wrote:
Think I'm setting this in the wrong place...someone help ...where do
I set
the
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
On Fri, 2009-01-30 at 18:03 -0600, Shawn McKenzie wrote:
From what I could tell, this was
the best RAD, however if you prefer to lay everything out your own way
and do things your own way then probably CI or Zend.
I use Zend every day in my current employ.
It is like pulling teeth and its
On Fri, Jan 30, 2009 at 7:14 PM, Kevin Waterson ke...@phpro.org wrote:
On Fri, 2009-01-30 at 18:03 -0600, Shawn McKenzie wrote:
From what I could tell, this was
the best RAD, however if you prefer to lay everything out your own way
and do things your own way then probably CI or Zend.
I use
On Thu, 2009-01-29 at 13:31 -0200, Jônatas Zechim wrote:
Hi Tedd, i cant imagine doing that pic i've show to u, follow me,
I must do 4 ellipse and 1 rectangle and union all to make a rounded
rectangle?
My problem now is the geometry.
*--*
| |
*--*
It can be this?
How do I determine the value oftx from this string?
page/words_from_the_well_checkout/?tx=8UM53005HH344951Tst=Completedamt=0.01
My desired answer is: 8UM53005HH344951T
I am trying to capture the serial number which follows tx= and ends
immediately before the
Ron
On Fri, Jan 30, 2009 at 9:28 PM, Ron Piggott ron@actsministries.org wrote:
How do I determine the value oftx from this string?
page/words_from_the_well_checkout/?tx=8UM53005HH344951Tst=Completedamt=0.01
My desired answer is: 8UM53005HH344951T
I am trying to capture the serial
How do I determine the value of tx from this string?
page/words_from_the_well_checkout/?tx=8UM53005HH344951Tst=Completedamt=0.01
My desired answer is: 8UM53005HH344951T
I am trying to capture the serial number which follows tx= and ends
immediately before the
Ron
I'm sure Eric gave you the
On Fri, Jan 30, 2009 at 10:45 AM, Nitsan Bin-Nun nit...@binnun.co.ilwrote:
I was just wondering whether people enclosing their PHP tags declarations,
I don't close these ?php tags just because the interpreter doesn't really
needs them,
and for the second reason - if a space/tab/new line/etc
75 matches
Mail list logo