Hi Torgny & All,
Thanks for all the responses & suggestions.
Thanks
TNP
Professional Services
ZUSTEK INDIA
-Original Message-
From: Torgny Bjers [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 16, 2005 6:51 PM
To
OK this the little function i made to solve this..
[CODE]
function countNested($array){
foreach($array as $value){
if(is_array($value))
$total=$this->countNested($value)+$total;
}else{
$total=$total+1;
}
}
[snip]
I suspect that the problem is with file permissions. I recall that since
Metabase uses include to load class files, the script will not exit when
it fails to include a PHP class file. Assuming that is the case, make
sure that all Metabase class files are readable by your Web server user.
Cabbar Duzayak wrote:
Hi all,
I have a requirement for initiating tasks from my site that requires
long processing times, i.e. uploading/downloading some files to remote
nodes. And, to avoid timeouts and hence to be able to provide instant
responses to the user (user does not need to get the res
Hi all,
I have a requirement for initiating tasks from my site that requires
long processing times, i.e. uploading/downloading some files to remote
nodes. And, to avoid timeouts and hence to be able to provide instant
responses to the user (user does not need to get the result right
away), I was t
On 8/16/2005 9:59:30 PM, Scott Noyes ([EMAIL PROTECTED]) wrote:
> It's not clear to me how strict you want to be regarding the
> formatting. Are you trying to keep scenes together on each line, or
> just dump everything and let it wrap where it needs to? Perhaps you
> could handcode a sample and
have you tried their forums at moodle.org ?
- Clint
Hi,
Before I post some of the install script for
Moodle I thought that I would ask how
$CFG gets instantiated in the install.php script.
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I need to access both MySQL and SQL server 2000 in a PHP script on RHEL
3. In phpinfo(), I noticed 'supported databases' shows 'MySQL ODBC
PostgreSQL Microsoft SQL Server FrontBase Oracle 8 (oci8)'. And
'Configure Command' has '--with-unixODBC=shared' included. Do I need to
install a
Hello all,
I am new to this list and I have searched the archives to no avail. I
am having a peculiar problem when upgrading to PHP 5: My downloads
are now limited to the first 1.9 MB of the file in question, with the
download either terminating at 1.9 MB or seemingly continuously stuck
i
It's not clear to me how strict you want to be regarding the
formatting. Are you trying to keep scenes together on each line, or
just dump everything and let it wrap where it needs to? Perhaps you
could handcode a sample and post a link. I'd also guess that you
could make good use of CSS, specif
Hi,
My database has a table called movies which has data like this:
flick_name ,flick_cover, part_url
flick_name is the name of the movie, the movie is cut into several pieces
for faster downloads
part_url is the full path to each of the pieces
eg:
home movie 1 ,a.gif, http://movieserver.com/s
Hi,
Another shameless plug...
Lampshade makes form processing really easy. You define a $form array in
your PHP file, you lay out the form in your form file, and go. It
error-checks and submits for you. Non-commercial use is free, and
there's an example application in the starter kit so you c
* [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> Does anyone have any recomendations for a GOOD PHP Form Processor software?
>
> Kind of in a bind and don't want to reinvent the wheel if I don't have to.
>
> Sorry for thr O/T.
Not OT at all. Many people like PEAR's HTML_QuickForm. I didn't like it
much
[EMAIL PROTECTED] wrote:
Does anyone have any recomendations for a GOOD PHP Form Processor software?
Kind of in a bind and don't want to reinvent the wheel if I don't have to.
Sorry for thr O/T.
This doesn't seem off-topic to me. You might want to look at HTML_Quickform:
http://pear.php.net/
Hey all,
Does anyone have any recomendations for a GOOD PHP Form Processor software?
Kind of in a bind and don't want to reinvent the wheel if I don't have to.
Sorry for thr O/T.
TIA!
A
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hah.. I should have mentioned this as well, but my brain is absorbed in...
sockets... and xml.. and sending headers manually via fputs.. nothing
relative to this discussion at all.. hah..
\r\n";
$_FULL_XML_REQUEST = "\r\n";
$_FULL_XML_REQUEST .= "\r\n";
$_FULL_XML_REQUEST .= $_XML_DAT
T.N.Prasad wrote:
HI All,
Our company servers are being upgraded from 4.2.3 to 4.3.2.
Is there any special care that I should take (as far as my scripts are
concerned)?
Plz help me. I'm new to PHP.
Thanks
TNP
Professional Services
ZUSTEK INDIA
__
Burhan Khalid wrote:
Tim Burgan wrote:
Can I extend this..
On a live server I have PHP 4.1. If I upgrade to PHP 5, is something
likely to stop working?
99% yes. Especially if you really mean 4.1.0 -- that's quite old.
I'd say 90% no :)
Evert
--
PHP General Mailing List (http://www.php
Or use sockets...
http://us3.php.net/manual/en/function.fsockopen.php
Just don't send any HTTP headers.
kgt
[EMAIL PROTECTED] wrote:
BTW: I made a mistake last time. Apparently with CLI there are headers. You can use
"php -q" to suppress headers when using PHP via CLI. Odd. Not sure I
Hi, I have in a php page one ($variable = 85), I woud like to change the
value from this variable online, without any data base, for example ussing
a form where I can put the new value and it change the value of the
$variable.
--
Este mensaje ha sido analizado por MailScanner
en busca de virus y
BTW: I made a mistake last time. Apparently with CLI there are headers. You
can use "php -q" to suppress headers when using PHP via CLI. Odd. Not sure I
had to do that when I wrote a few CLI scripts before. Oh well, something to
play with another day (don't have time to check it right now).
On Tue, 2005-08-16 at 17:59 +0200, Torgny Bjers wrote:
> Tim Boring wrote:
>
> >I'm having a problem with php-cli and php_mod reading my php.ini file.
> >I've compiled php from source, during which process I set
> >"--with-config-file=/etc". Once the compile completed, I then copied
> >php.ini-re
Tim Boring wrote:
>I'm having a problem with php-cli and php_mod reading my php.ini file.
>I've compiled php from source, during which process I set
>"--with-config-file=/etc". Once the compile completed, I then copied
>php.ini-recommened to /etc/php.ini.
>
>After restarting Apache, I run phpinfo
Its simply a Boolean to indicate whether or not a query should be ran and
displayed, and further more its for a small intranet.
Register_globals is the directive I meant to say. But your right about
globals. Some applications haven't made that change yet... So unless I want
to rewrite them (whic
On 8/16/05, Ing. Josué Aranda <[EMAIL PROTECTED]> wrote:
>
> The number of the branches is not always the same.. (it depends on the
> query).. when i use count($array, COUNT_RECURSIVE) for nested arrays..
> it give to me the total including the nodes in the branches ( in this
> case 28).. now here
Tim Boring wrote:
I'm having a problem with php-cli and php_mod reading my php.ini file.
I've compiled php from source, during which process I set
"--with-config-file=/etc". Once the compile completed, I then copied
php.ini-recommened to /etc/php.ini.
After restarting Apache, I run phpinfo() an
George Pitcher wrote:
John,
Thanks for the input. I just knew I hadn't covered everything. My server is
currently set up as NT4/IIS. I suppose I could look to switching to Apache
though.
Cheers
George
I really don't know the Windows world, but there _may_ be a way to set
up include paths g
Ing. Josué Aranda wrote:
>Hi to everyone..
>
>now i have a little problem counting an nested array. Im using it to
>fill a Java TreeView... it looks like this:
>
>[snip]
>
>The number of the branches is not always the same.. (it depends on the
>query).. when i use count($array, COUNT_RECURSIVE) fo
I knew my description was a bit mangled; I was trying to keep it short.
Sorry. Take two:
A "remote server" is sending event records to "my server" using HTTP POST
requests to http://my.server.com/storeit.php, let's say. The remote server
expects acknowledgement by way of a response to its request.
Hi to everyone..
now i have a little problem counting an nested array. Im using it to
fill a Java TreeView... it looks like this:
[1] => Array
(
[1] => Array
(
[1] => Array
(
[1] => LEC
I'm having a problem with php-cli and php_mod reading my php.ini file.
I've compiled php from source, during which process I set
"--with-config-file=/etc". Once the compile completed, I then copied
php.ini-recommened to /etc/php.ini.
After restarting Apache, I run phpinfo() and "Configuration Fil
So their page POSTs to a PHP page that you've created? I'm not seeing where
headers come into play there, they're on output, not input. Maybe I just
stayed up too late last night, but I'm having trouble wrapping my brain around
the problem.
One thing I did notice was you mentioned switches fo
Mark,
Thanks, I'll follow that up as well. I don't have to do this straight away.
Cheers
George
> -Original Message-
> From: Mark Rees [mailto:[EMAIL PROTECTED]
> Sent: 16 August 2005 3:33 pm
> To: php-general@lists.php.net
> Subject: Re: [PHP] Advice sought on PHP site maintenance
>
>
I am coding a PHP page to deal with a badly implemented automated status
update script on a remote server (that I do not control) which fails if my
response to it's POST request has HTTP headers. Go figure. So the question
is "How do I NOT send HTTP headers in my response?" or "How can my script
su
""George Pitcher"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> John,
>
> Thanks for the input. I just knew I hadn't covered everything. My server
is
> currently set up as NT4/IIS. I suppose I could look to switching to Apache
> though.
Far be it from me to discrouage you from swi
Daniel Baughman wrote:
I have register globals enabled, or set to “On”. Isn’t this suppose to
take all of the $_POST variables and $_GET variables and make initialize
them by name?
register_globals should do that. but not "register globals",
regardless is a shitty setting.
Tim Burgan wrote:
Can I extend this..
On a live server I have PHP 4.1. If I upgrade to PHP 5, is something
likely to stop working?
99% yes. Especially if you really mean 4.1.0 -- that's quite old.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/uns
I have register globals enabled, or set to On. Isnt this suppose to
take all of the $_POST variables and $_GET variables and make initialize
them by name?
i.e. $_POST[runquery] will be accessible via simply $runquery
??
Dan Baughman
IT Technician
Professional Bull Rid
John,
Thanks for the input. I just knew I hadn't covered everything. My server is
currently set up as NT4/IIS. I suppose I could look to switching to Apache
though.
Cheers
George
> -Original Message-
> From: John Nichel [mailto:[EMAIL PROTECTED]
> Sent: 16 August 2005 2:25 pm
> To: php-
Can I extend this..
On a live server I have PHP 4.1. If I upgrade to PHP 5, is something
likely to stop working?
I've been putting off upgrading for months because of the unknown of
something going wrong.
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:
George Pitcher wrote:
Hi,
I manage several sites for my company. Some are running our own service to
about 80 customers and others are running a service for some (5 and growing)
of our customers. Its the latter one that I need advice on.
I have an application where each customer has a website o
T.N.Prasad wrote:
>HI All,
>
>Our company servers are being upgraded from 4.2.3 to 4.3.2.
>
>Is there any special care that I should take (as far as my scripts are
>concerned)?
>
>Plz help me. I'm new to PHP.
>
Hello,
You don't have to worry at all.
Nothing have changed between those version
T.N.Prasad wrote:
HI All,
Our company servers are being upgraded from 4.2.3 to 4.3.2.
Is there any special care that I should take (as far as my scripts are
concerned)?
Plz help me. I'm new to PHP.
In theory, no. However, theory can get you into trouble. Check the
change log, and if p
Wong HoWang wrote:
Dear all,
When I try to encode non-english char. such as big5 to UTF-8 with
utf8_encode(), it always generate a wrong result, which is not readable.
What can I do?
Please help!
http://us2.php.net/iconv
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTEC
> -Original Message-
> From: T.N.Prasad [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 16, 2005 9:00 AM
> To: php-general@lists.php.net
> Subject: [PHP] Upgrading PHP 4.2.3 to PHP 4.3.2
> Importance: High
>
>
> HI All,
>
> Our company servers are being upgraded from 4.2.3 to 4.3.2.
>
Here it is..
i found the problem.. 1) all the menu objects->arrChildren have an array ,
if there are on submenus.. then the array is empty .. the function was
trying to recurse through empty arrays. 2) the recursive call needed to
pass the arrChildren to recurse correctly
"display_menu($value->arr
HI All,
Our company servers are being upgraded from 4.2.3 to 4.3.2.
Is there any special care that I should take (as far as my scripts are
concerned)?
Plz help me. I'm new to PHP.
Thanks
TNP
Professional Services
ZUSTEK INDIA
__
Hi,
I manage several sites for my company. Some are running our own service to
about 80 customers and others are running a service for some (5 and growing)
of our customers. Its the latter one that I need advice on.
I have an application where each customer has a website on our service. The
funct
I've looked at the documentation but was able to find this. If anyone
can point
me to the right page, it would be much appreciated. In any case, where
do you
define where PHP looks for the appropriate DLLs? For example, if a DLL
(say,
ntwdblib.dll) is in both the "\PHP\dll" directory and the
"\w
Dotan Cohen wrote:
And, the thing is, within this javascript_dump.php, HTTP_REFERER shows
nothing, because it gives you the referer of the html page (page1)
that contains this
On 8/6/05, Cabbar Duzayak <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a web page (say page1) which refers to a php within javascript tag as:
>
> src="http://mysite.com/javascript_dump.php";>
>
> As you can see, this calls a ph
l0t3k wrote:
not only encoding support, but internationalized date/time/number formatting
support (including spellout), collation, breakiteration and transliteration.
in many respects we'll be on par with Java I18N support. To see what will be
available, see
http://icu.sourceforge.net/usergui
Hello,
on 08/16/2005 12:01 AM Pablo Gosse said the following:
Thanks, Manuel. I tried what you suggested but it didn't work. The
server this project is housed on is an IIS server running PHP 4.4.0.
I installed the metabase package on a linux server, and was able to
connect to a postgres datab
thanks everyone, the problem was the url i needed to use. now the problem is
solved :)
--
"El único error real es aquel en el que no hemos aprendido nada."
55 matches
Mail list logo