Hi again,
Is it possible to catch all parser errors (notices), and as that happens
redirecting to a 'sorry-page-not-available-at-this-moment' page, whilst
storing the error (or notice) message somewhere else (e.g. emailing it to
the developer).
thanks
Thomas
--
PHP General Mailing List (http:/
Thanks, will do ;-) (as of this mail)
-Original Message-
From: Jochem Maas [mailto:[EMAIL PROTECTED]
Sent: 06 May 2005 03:08 PM
To: Thomas Hochstetter
Cc: [php] PHP General List
Subject: Re: [PHP] Array of objects
Thomas Hochstetter wrote:
> Hi Jochem,
>
> Thanks for that.
Hi there,
I
need help with arrays. What I want to do is to have an array of the following
structure:
$mod=array(
‘name’=>new NameObject());
Then
later in the page I want to go $Site = $mod[$_GET[‘module’]] (or something
like that) to instantiate a new object.
Hi there,
I am sure there has been a discussion about this previously, I couldn't find
much through google though . anyway. I know I must use mysqli, and that is
also not the problem. The problem is with things like phpmyadmin and bxcms.
I am not going through all the code to fix the mysql connec
Hi again,
I have always been wondering how this is done properly:
Here is an example:
[snip]
class A {
function name( $a, $b, $c) {
$tmp = array();
$tmp[a] = $a;
.
array_push( $GLOBALS['XMLStack'], $tmp );
}
function parse() {
.. some definitions .
$pa
Hi there,
I am (again) trying to download a file from off the server and force it to
use the download dialog box. I have been trying pclzip.lib for compression
and used my own headers (as depicted below). This version did zip nicely
and the files were intact in the tmp folder. But once I used th
Hi there,
Still sitting on this problem of not being able to dynamically zip a bunch
of files together, to output them as a Save Dialog box for downloading. I am
using the rather old pclzip classes for the zipping part (still wrestle with
the server admin to get Archive_xxx stuff from PEAR instal
Hi there,
I am not sure if that is a common request, so I will post it here without
checking the archives . ;-)
I have a page which has its details from the $_POST array (ID, etc). On it
there is a small link about people, this is done via href link in html. This
link takes you to another page
Hi there,
I was thinking about this a lot today and was wondering if there are any
people here on this list that have experimented with this:
I hope you know what Cocoon does. If I can just sum up what I am concerned
about:
* Separation of concerns (i.e. Design, Content and Logic are
CO
Hi again,
After a clever question follows a dumb one: :-(
I am trying to pack a few resources from off the server, zip them together
(at this stage still storing in a tmp folder and afterwards deleting it
again) and make the freshly created zip file available to the user via a
'Save File' promp
Hey,
I am having users sign in on a index.php which directs them to the members
page (same: index.php). There i have links that open small windows via js.
These have session_start() in them to continue the same session variable.
Then there i would have something like:
[snip]
$tusr = $_SESSION['f
Hi guys,
Has anybody come across the same problem:
i am using the $_SESSION array to retrieve info of users. At times, however,
it just retrieves the wrong info, i.e. info from another user. how is that?
thanks in advance
Thomas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
The register globals is on with the live server, and off at home (my version
is 4.3.2, the other is 4.1.2). does that matter?
Thanks for the other tip, shall try that ...
Thomas
- Original Message -
From: "Thomas Hochstetter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECT
Hi guys.
I have two questions for you today:
1. Weired login problem
I am developinig a site for a conference where i have a login page for
members. This page is called index.php and includes different types of modules,
according to the type of user logged on. The problem is now following:
i have
[snip]
- PHP sends request headers (with POST data) to $url
- $url sends response back to calling script
- PHP works with the response
[/snip]
Look at fsockopen, with which you can send POST headers, or just fopen. You
sit this in a try/ catch sort of script and you should be able to get stuff
bac
[snip]
- PHP sends request headers (with POST data) to $url
- $url sends response back to calling script
- PHP works with the response
[/snip]
Look at fsockopen, with which you can send POST headers, or just fopen. You
sit this in a try/ catch sort of script and you should be able to get stuff
bac
Hi there.
I have been trying to log some data to an xml file. Whta my problem is now
is that the tag needs to be either replaced (overwritten) or i need to
get the data in before EOF-1. I have spend some time on the manual, but
could not find out hoe exactly i should get the last row and then mov
Hey guys.
There is question that has been bothering me for a while now ... and i
wonder whether there are any takes/ insights on that.
I would really like to integrate xml, DOM and XSL more in my projects. What
has kept me from doing this, so far, is just that the live servers often did
not make
Hi there.
I got a question from someone why the following (from the manual) will not
bring the desired output:
Is this a php.ini setting?
Thomas
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!
--
PHP General M
Hi guys.
Sorry, i know that was discussed earlier this month ... i just looked for
the posting again in the archives ... i could only find the question post ...
but there was an answer.
So, how do you setup the server again to have php4 run on the :80 port and
php5 on :8080 (apache server). Does
Hi there.
Is there any php book that discusses general design issues for cms's and
webservices in php?
Also, what is your take on xml? Is it worthwhile waiting for v5 to be
released before buying a xml-php book?
thanks
Thomas
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Jetzt ei
Hi there.
How can i preserve var's of session 's' over more than one window without
loosing them?
Thomas
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
Hi again.
I am having a problem with session variables spanning over different
windows.
What I am doing is to supply links in an admin interface that open satellite
windows, opened via JS. The window scripts check for a variable to be
present ($_SESSION[]). I am doing this so that the scripts
Thanks guys.
I will have a look at the array[] convention. Meanwhile I did my own
thing by naming them all different and parsing the $QUERY_STRING for
them. It is a mess!
So thanks again!
Cheers
Thomas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
Hi guys,
This might just be off the topic, but here it goes anyway:
How can one multi select check boxes and pass them through in php,
without getting mixed up with variables (email multi select style).
Thomas
Hi guys,
I wrote a generic getsql() function for my project's class. However, I
only manage to retrieve a single row. What it should really do is:
Read all rows into the array (with multiple results).
The code is below:
function getsql($sql,$conn,$dbase,&$arr)
{
if($conn)
Hi guys.
I want to call this generic echo function within a class, but have
trouble referencing the output function with $this-> .
Any suggestions? Maybe there is a better solution to this?
This is within a class:
[snip]
# generic WALK functions
function walkit($array)
{
Hi.
I have parsed the txt file and put it on my site . it's kinda ugly and
messy, but maybe it helps someone.
http://www.thomash.co.za/docs/errmsg.php
T
Thanks guys ... always a pleasure.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi.
[3rd try] ... where can i get mysql_error codes from? The ones that
mysql_errno returns.
Thanks
Thomas
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
Hi guys,
I am writing a counter that checks where the hit comes from, and if it
comes from the same site, it will not count .
I have a question related to performance:
In the script (as yet) I have to open the txt file twice at this stage,
because I first need to read from it and then write to it
It really depends, mostly it is external ... to accommodate small
variations I have some style attributes around.
T
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: 11 June 2003 06:30 PM
To: Thomas Hochstetter; [EMAIL PROTECTED]
Subject: RE: [PHP] fastest parsing
Hi,
I have a question concerning the parsing of scripts. The question is what
will be parsed the quickest: much inline php (dirty) code, or let the code
generate the html on the fly?
I frequently use css ALOT! Does that make any difference to php (apart from
making the file quite messy)?
Any othe
Hi guys,
sorry that i am asking this rather non-php question here. I know how anoying
it is to get these unrelated mails ... it might just have to do with the
apache ... or whatever:
[problem]
if i declare in an external stylesheet the scrollbar-track-color to be
whatever, it does not show. even if
34 matches
Mail list logo