Hi guys,
I couldn't find a developers list, so I hope this is the right list to
post to. I need to create a custom session handler for our PHP server.
We have a memcache server and so want to use that to handle our session
information. I was able to get basic session code working via the custom
PH
Hi,
I am looking for a shopping cart/member script that will allow members of a
site to purchase credits and then spend their credits on my site. I have
trawled for hours but can't seem to find one anywhere. :-$
Anyone got any ideas???
Frustrated and wanting to move forward!!
--
View this m
well actually you can , firstly you have some element you can update
like a text box and then use javascript to up this text box.
what you then do is flush the content to php file generates and spit
out some javascript to change the text box data
I'm sorry, I should have said "You'll need j
I have to read a directory (on a windows machine) from another box (a
linux machine) and I thought that I could set the handle to the IP
address of the windows box, but that does not work. Do I have to open a
socket or is there another way?
Thanks!
You'll need a webserver to read the directory,
On Thu, 2006-09-28 at 11:47 +1000, Ligaya A. Turmelle wrote:
> Might I make a suggestion to you - no matter which framework/OS project
> you use... Have it be in PHP5. Yeah it may restrict you in options, but
> that is where PHP is going and to my mind that is what someone new to
> PHP should be
The single pipe | is bitwise OR, yes. You're probably thinking of this
construct:
a = b || c
Which is a valid and common default-value idiom in Python and Javascript, but
I don't think works in PHP. (If it does, someone please correct me because
I'd like to use it. )
On Wednesday 27 Septemb
On Wednesday 27 September 2006 20:47, Ligaya A. Turmelle wrote:
> There are a number of frameworks that you can use from PEAR (though many
> argue over whether it is a framework), Solar, CakePHP, Symfony, Zend's,
> and many many more. As for most OS projects - I don't know of a
> particular projec
I once saw the use of OR (|) in assignment.
$x = $y | $z;
Does this use bitwise OR? I'm trying to see if I could use the above
expression in place of:
$x = is_null($y) ? $z : $y;
Jason Karns
~~~
The Ohio State University [www.osu.edu]
Computer Science & Engineering [www.cse.osu.edu]
--
There are a number of frameworks that you can use from PEAR (though many
argue over whether it is a framework), Solar, CakePHP, Symfony, Zend's,
and many many more. As for most OS projects - I don't know of a
particular project that uses a particular framework (someone feel free
to tell me otherwi
Well, seeing as I have no directory anywhere in my file structure called
"/tmp" and yet my file uploads are still working, it would appear that my
temporary file upload directory "/tmp" given by php_info() is somewhere
outside of my root directory. So that's good news! That's were I'll be
doing
On Wed, September 27, 2006 10:25 am, Jochem Maas wrote:
>> Just to add more confusion, the errors are intermittent - sometimes
>> it works
>> fine, other times we get these errors which makes it even more
>> difficult to
>> pinpoint.
If you're using that autoload thingie, and the objects being loa
On Wed, September 27, 2006 11:25 am, Mário Gamito wrote:
> I have this code to create a database and a few tables.
>
> Is there a way to display the MySQL actions at runtime, i. e., display
> the MySQL commands while they are being executed ?
If you happened to have each SQL statement in an array,
On Wed, September 27, 2006 11:36 am, blackwater dev wrote:
> I have some code that makes a connection to the db. When I run this
> code
> from the command line, it stops at the db connection.
Show us the code, without any embedded passwords, of course...
> If I call the
> script
> from the brow
On Wed, September 27, 2006 11:50 am, Rick Emery wrote:
> Warning: mssql_query() [function.mssql-query]: Query failed in
> /var/www/html/business/entity.php on line 127
>
> which is:
> mssql_query('RollBack Transaction');
Smush all of that into one line in Google, and see what you get...
Oh, look:
On Wed, September 27, 2006 12:12 pm, Andy Hultgren wrote:
> So I've been trying to figure out where php uploads files to
> temporarily
> store them before I move them to their permanent storage directory,
> and I'm
> having some difficulties:
>
> -- php_info() says the temporary file upload directo
On Wed, September 27, 2006 2:53 pm, Robert Cummings wrote:
> On Wed, 2006-09-27 at 21:45 +0200, [EMAIL PROTECTED] wrote:
>> hi,
>> I just installed suse se9 on one machine and didn't have a problem.
>> then
>> installed apache and works fine. installed php - didn't get any
>> error, but
>> when tes
Richard Lynch wrote:
> On Mon, September 25, 2006 3:57 pm, Christopher Weldon wrote:
>> On 2:36 pm 09/25/06 "Ramiro Cavalcanti" <[EMAIL PROTECTED]> wrote:
>>> Hi Christopher,
>>> at first, thank you for your answer.
>>>
>>> I'd like to know if it's possible use this when php is running like
>>> cgi
Joseph Cheng wrote:
Is anyone using a reliable Linux/Apache/MySQL/PHP benchmarking suite?
There are benchmark software for individual pieces but I hope there is
one tool or several small tools that act together to give a picture of
how long a request takes from entering Apache, to PHP, to MySQL a
Sorry for not posting this: yes, I use apache 2, php 4.3.4 (old a bit :)).
I didn't configure manuelly. Thinking yast has to do itself. At least did
it on pc at home?!?
> I assume you are using Apache?!
>
> Did you configure Apache to handle PHP files appropriately?
>
> What is the extension of
On Wed, 2006-09-27 at 21:45 +0200, [EMAIL PROTECTED] wrote:
> hi,
> I just installed suse se9 on one machine and didn't have a problem. then
> installed apache and works fine. installed php - didn't get any error, but
> when tested I was able to see my code (tested with ) in
> the browser. for inst
hi,
I just installed suse se9 on one machine and didn't have a problem. then
installed apache and works fine. installed php - didn't get any error, but
when tested I was able to see my code (tested with ) in
the browser. for installation used yast.
what could cause this?
tanks for any help.
-afa
Is anyone using a reliable Linux/Apache/MySQL/PHP benchmarking suite?
There are benchmark software for individual pieces but I hope there is
one tool or several small tools that act together to give a picture of
how long a request takes from entering Apache, to PHP, to MySQL and
then back to the c
> I have some code that makes a connection to the db. When I run this code
> from the command line, it stops at the db connection. If I call the script
> from the browser, it works fine. I've changed the permissions and that
> didn't work. The db connection is the basic, localhost, root, with n
So I've been trying to figure out where php uploads files to temporarily
store them before I move them to their permanent storage directory, and I'm
having some difficulties:
-- php_info() says the temporary file upload directory is "/tmp" but I don't
know if that's relative to my root directory
Quoting Richard Lynch <[EMAIL PROTECTED]>:
On Wed, September 27, 2006 7:40 am, Rick Emery wrote:
I'm trying to do something like this in the PHP application:
begin transaction
execute a stored procedure, receiving an identity back
if certain conditions are met
execute another stored proced
I have some code that makes a connection to the db. When I run this code
from the command line, it stops at the db connection. If I call the script
from the browser, it works fine. I've changed the permissions and that
didn't work. The db connection is the basic, localhost, root, with no
passw
Hello Mário,
Wednesday, September 27, 2006, 10:25:31 AM, you wrote:
> Is there a way to display the MySQL actions at runtime, i. e.,
> display the MySQL commands while they are being executed ?
Echo the sql statements...
--
TBUDL/BETA/DEV/TECH Lists Moderator / PGP 0
SMTP server errors and a too-quick click made me close the message I
sent with all the nifty thread-ness... sorry.
//make reservation
insert into reservation(room_number, start_date, end_date)
values ('504', '12/10/2006', '14/10/2006')
//reservation inquiry for 13/10/2006:
select room_number
from
Hi,
I have this code to create a database and a few tables.
Is there a way to display the MySQL actions at runtime, i. e., display
the MySQL commands while they are being executed ?
Any help would be appreciated.
Warm Regards,
Mário Gamito
--
PHP General Mailing List (http://www.php.net/)
To
On Wed, September 27, 2006 9:00 am, Sam Smith wrote:
> When loaded into a browser that can display PDF files (Win IE and
> Firefox, Mac Safari) the FDF file (snip below) should open linked PDF
> and populated it with the data from the FDF file.
>
> It works fine when the FDF file is loaded from wit
On Wed, September 27, 2006 7:40 am, Rick Emery wrote:
> Is anyone using PHP5 on Linux to connect to MS SQL Server 2000 on
> Windows and execute stored procedures with output parameters within a
> transaction? If so, how?
No, but...
> I'm trying to do something like this in the PHP application:
>
On Wed, September 27, 2006 10:11 am, tedd wrote:
>>So when you read advice to use 0777 you can immediately change that
>> to
>>0700, because the only access needed is for you, not your group, and
>>not the "world" of other users on that machine.
>
> Excellent point -- thanks.
This applies only to
On Wed, September 27, 2006 2:03 am, Dave Carrera wrote:
> I have std php running and it tells me that my php.ini is being read
> from c:\php\php.ini. This is correct.
Tells you where/how?
In phpinfo()?...
> But what ever i change "extension_dir" to it always says "c:\php5". By
> the way i am usi
Hi everyone.
Excuse me by this off topic.
Someone here know any list abaout javascript using nntp protocol?
Thanks a lot.
--
João Cândido de Souza Neto
Curitiba Online
[EMAIL PROTECTED]
(41) 3324-2294 (41) 9985-6894
http://www.curitibaonline.com.br
--
PHP General Mailing List (http://www.
On Wed, September 27, 2006 3:37 am, Sancar Saran wrote:
> Thanks for supporting, because of approaching the problem I don't want
> to
> change generate once echo one style.
>
> And I found solution like this,
> I split variable into an array and generate loop for printing, mostly
> fix the
> probl
On Wed, September 27, 2006 4:25 am, Pinocchio007 wrote:
> is simple: which project/framework to choose in order to bring the
> current
> "best practice" to our students, and prepare them for the future. Not
> being
> a professional PHP developer myself, I would appreciate any
> recommendation.
> Wh
Thanks Jochem.
We tested with both modules switched off and it made no difference. I was
suspicious about mod_security, but again it doesn't seem to causing the
problem.
Steve.
> -Original Message-
> From: Jochem Maas [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 27, 2006 17:3
> are you using an opcode cache?
Yes, we have eaccelerator running.
> >
> > Steve.
> >
> >> -Original Message-
> >> From: [EMAIL PROTECTED]
> >> [mailto:[EMAIL PROTECTED]
> >> Sent: Wednesday, September 27, 2006 15:28
> >> To: Steve Walker
> >> Subject: RE: [PHP] Re: Various errors be
Steve Walker wrote:
> Cheers Rick.
>
> Well, I tested with a fresh install of a tried and tested cms. We can
> recreate the errors on that as well, so it may not be the migrated systems
> fault.
>
> Just to add more confusion, the errors are intermittent - sometimes it works
> fine, other times w
Cheers Rick.
Well, I tested with a fresh install of a tried and tested cms. We can
recreate the errors on that as well, so it may not be the migrated systems
fault.
Just to add more confusion, the errors are intermittent - sometimes it works
fine, other times we get these errors which makes it ev
At 5:04 PM +0200 9/27/06, Paul Scott wrote:
On Wed, 2006-09-27 at 16:42 +0200, clive wrote:
>> No can do from php. You'll need javascript to do that.
>>
sorry slight typo, corrected.
well actually you can , firstly you have some element you can update
like a text box and then use javascript
At 6:43 PM -0500 9/26/06, Richard Lynch wrote:
On Mon, September 25, 2006 3:58 pm, Andy Hultgren wrote:
> -- Since I'm only allowing image uploads, I can strictly filter which
files
are allowed to be uploaded (with extension checks and get_image_size).
Extension check is kinda useless...
I
On Wed, 2006-09-27 at 16:42 +0200, clive wrote:
> >> No can do from php. You'll need javascript to do that.
> >>
> sorry slight typo, corrected.
> well actually you can , firstly you have some element you can update
> like a text box and then use javascript to update this text box.
> what you the
At 4:37 PM +0200 9/27/06, clive wrote:
tedd wrote:
At 9:00 AM +1000 9/27/06, Choy, Wai Yew wrote:
Like to get some advice from you guys...
I've a html form page and the "Action" is link to a php script to
process the form dataI would like to have a progress bar once the
user hit the Submit
clive wrote:
tedd wrote:
At 9:00 AM +1000 9/27/06, Choy, Wai Yew wrote:
Like to get some advice from you guys...
I've a html form page and the "Action" is link to a php script to
process the form dataI would like to have a progress bar once the
user hit the Submit button...The php script t
tedd wrote:
At 9:00 AM +1000 9/27/06, Choy, Wai Yew wrote:
Like to get some advice from you guys...
I've a html form page and the "Action" is link to a php script to
process the form dataI would like to have a progress bar once the
user hit the Submit button...The php script take quite some
At 9:00 AM +1000 9/27/06, Choy, Wai Yew wrote:
Like to get some advice from you guys...
I've a html form page and the "Action" is link to a php script to
process the form dataI would like to have a progress bar once the
user hit the Submit button...The php script take quite sometime to
produ
When loaded into a browser that can display PDF files (Win IE and
Firefox, Mac Safari) the FDF file (snip below) should open linked PDF
and populated it with the data from the FDF file.
It works fine when the FDF file is loaded from within the browser
with "Open File" (or simply double-cl
Thanks Kae and Rick for your replies.
One of things I should have mentioned is that all these sites have been
migrated from another box on which they were working fine, which is why I've
been questioning the box itself rather than the cms's.
Kind regards, Steve.
> -Original Message-
> F
On Wednesday 27 September 2006 15:16, Faisal Sahar wrote:
> hi to everyone,
>
>i want to create a hotel reservation system. how can i keep track of
> dates . suppose i have booked a room from 12/10/2006 till 14/10/2006 ( two
> night ) how can i make a system that will check for room availabilit
Is anyone using PHP5 on Linux to connect to MS SQL Server 2000 on
Windows and execute stored procedures with output parameters within a
transaction? If so, how?
I'm trying to do something like this in the PHP application:
begin transaction
execute a stored procedure, receiving an identity ba
At 07:02 AM 9/27/2006, Tony Marston wrote:
If you want a web application framework that your students can play with may
I suggest http://www.radicore.org This is already being used as a training
aid by a university in the far east, so it must have some merit.
--
Tony Marston
http://www.tonymar
Faisal Sahar wrote:
> hi to everyone,
>
>i want to create a hotel reservation system. how can i keep track of dates
> .
> suppose i have booked a room from 12/10/2006 till 14/10/2006 ( two night )
> how can i make a system that will check for room availability and if it will
> find a
> ro
hi to everyone,
i want to create a hotel reservation system. how can i keep track of dates .
suppose i have booked a room from 12/10/2006 till 14/10/2006 ( two night )
how can i make a system that will check for room availability and if it will
find a
room available from specified date til
Steve Walker wrote:
[client 80.58.205.38] PHP Fatal error: Call to undefined function:
cleanupbynode() in
/var/www/vhosts/demos.oneworldmarket.co.uk/httpdocs/gems/kernel/classes/ezco
ntentobjecttreenode.php on line 2684
could be that the function cleanupbynode() is defined in the wrong place (i
Hi there,
I have a number of errors coming from our dedicated box and was hoping
someone could shed some light on what might be happening. These errors could
be independent or inter-related.
We see the errors when running content management systems on the server, I
posted to their forum
http://ez
Hi,
Thanks for supporting, because of the approaching to the problem, I don't want
to change generate once echo once style.
And I found solution like this,
I split variable into an array and generate loop for printing, mostly fix the
problem.
And more interesting, some times problem repeates
Warning, this email's a bit long
> You have a User table and a Product table, then a
> linking table that
> joins users with products that they have bought.
Hey David,Curt,Richard!
Thanks for replying.
Looks like I will really have to brush up on my Sql,
been using "lazy sql" for
Thanks.
Is any open source project using your framework? I couldn't find this
information on your website.
""Tony Marston"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> If you want a web application framework that your students can play with
may
> I suggest http://www.radicore.o
If you want a web application framework that your students can play with may
I suggest http://www.radicore.org This is already being used as a training
aid by a university in the far east, so it must have some merit.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
""Pinocch
Hi George,
That worked :-)
Many thanks for setting me on the straight and narrow.
Dave
George Pitcher wrote:
Dave,
Why not put your ext path into your include path :
include_path = "c:\php\pear;c:\php;c:\php\ext"
That might solve the problem. Just a bit of lateral thinking.
George
-
I am in charge of outlining a PHP/mySQL course (intro and advanced) for an
education institute. I would like to include in the course program an
in-depth study of an existing open-source project, allowing the students to
be confronted, from an early stage, to a real-world environment. My problem
is
Thanks for that George,
I managed to isolate the problem
PEAR had slapped its own include_path at the bottom of my php.ini,
removing it cleared up the extension_dir problem.
BUT now if i use the include_path var the extension_dir fails and
phpinfo displays my php.ini from include_path do
Jay Blanchard wrote:
I have to read a directory (on a windows machine) from another box (a
linux machine) and I thought that I could set the handle to the IP
address of the windows box, but that does not work. Do I have to open a
socket or is there another way?
the directory must be explicitly
Michelle Konzack wrote:
> Am 2006-09-25 08:33:52, schrieb Ray Hauge:
>
>> It's not the best in the world, but it works.
>>
>> http://xchm.sourceforge.net/index.html
>>
>> But since the documentation is online and always updated that way, I
>> prefer to just use the website.
>
> Me too, but IF
Hi List,
Sorry to bore most of you with this one but i cannot get extensions to
load using latest php5, apache 2.0xxx
I have std php running and it tells me that my php.ini is being read
from c:\php\php.ini. This is correct.
But what ever i change "extension_dir" to it always says "c:\php5"
66 matches
Mail list logo