$REQUEST_URI gets me home/dir/index.php
but I need to get the domain name.
Can't seem to find it anywhere, what's the environment variable for the
domain name again? Thanks!
Peter
~~
http://liga1.com building multiple language/culture websites
http://poorb
Hi,
I want to write a script that takes a mysql dump file and pumps it into the
database.
I got the dump in a variable and then did
$res = mysql_query($dumpvariable);
but that doesn't work? I know how to do it on the command line, I just want
to do it in a php script...
thanks for any hints!
Pet
Also, when I uncomment stuff, the line that seems to be giving the problems is:
$response = $client->send($msg);
When I comment that no more errors. (but nothing else either ofcourse)
Peter
~~
http://liga1.com building multiple language/culture websites
htt
Hi,
I was playing with the xml-rcp example given at o'reilly
http://www.oreillynet.com/pub/a/rss/2000/11/14/meerkat_xmlrpc.html
which uses Edd Dumbill's PHP XML-RPC modules
But when I run the example mentioned in the oreilly article (on Apache on
win NT), I get a popup saying error in php.exe: a
Also,
I am trying to find a way to get this to work:
within the directory I'm in,
1/5/2/3
should be rewritten to
index.php?a=1&b=5&c=2&d=3
I'm sure lots of people have done this before, but the Apache examples
don't seem to include this. Where can I find a working example?
Thanks!
Peter
>Hi,
Hi,
i installed Apache, PHP and mySQL on winNT.
I am trying to get htaccess files to work.
I created a .htaccess file in a directory with this line in it:
errordocument 404 /404.php
I changed the httpd.conf file for apache and restarted apache like this:
# AllowOverride None
AllowOverride All
B
more probs:
I shut down my machine and restarted, now apache won't run properly.
Typing localhost gives server error: The server encountered an internal
error or misconfiguration and was unable to complete your request.
There is nothing in the server error logs.
...
I don't know where to start
Hi,
I installed php4 and apache on Win NT, it all works.
Except that I get this error:
open(/tmp\sess_fdf19ffc4a1192dd55183d067fc765fd, O_RDWR) failed: m (2) in
So it can't save those session variables. Do I need to change permissions?
Or set up a folder? If so where / how?
Also: I can't seem
I copied the php_pdf.dll file from the apache/cgi-bin/php/.. directory to
the windows/winnt/system32 directory (it was just a hunch) and behold, it
worked brilliantly!!
Thanks!
Now I just have to figure out how to:
1- get mysql to work
2- get virtual domains to worl
Peter
>hello, i'm
Hi,
thanks for the tips.
>first check to see if you actually have those DLLs in your
> computer. use Start | Find Files
>or whatever you want to use.
php_pdf.dll (the first error - the other errors seem to have stopped all by
themselves) is actually in the /extensions/ subdir of php.
Ok, I have Apache running, and PHP running.
However, when I look at http://localhost/test.php it works (e.g. phpinfo()
shows all the info), but I get 3 popups:
"Unable to load dynamic library 'php_pdf.dll' - The specified module could
not be found."
I click OK
"The dynamic link library isqlt0
Apologies if this is off topic, and apologies for double posting to the
install list! I'm just completely stuck...
for home development I want to install apache and phph and mysql on win NT 4.
It's my first time.
I was trying to find the apache install for win but I can't seem to find it
here:
Hi,
I think I finally found a cms that does most of what I want it to:
ezpublish ( http://developer.ez.no/article/archive/4/ )
I'm trying to install it, I'm on a apache server, and having some problems.
Where can I find help to install this? I've checked the entire website,
there's no
Hi,
since there doesn't seem to be a mailing list for ezpublish (a cms in php),
I created one:
http://groups.yahoo.com/group/php-ezpublish
Feel free to join up, I basically created it because it seems a very
powerful but complex system.
Peter
~~
http://lig
Hi,
I think I finally found a cms that does most of what I want it to:
ezpublish (http://developer.ez.no/article/archive/4/)
I'm trying to install it, I'm on a apache server, a few questions:
1. how do I install Imagemagick? Seems I need to recompile PHP and do
--with-imagick=DIR, is that corre
Hi,
I'm working on another content management system, coz I can't find what I
need out there.
Some features:
- multiple languages for everything
- multiple templates (so you can have a english-simple template version or
a french-old style template version of the same page, all cached)
- easy to
How do I rewrite 1 line in a file? I got the filename and the linenumber. i
was playing around with fwrite but to find the line I had to do all sorts
of gymnastics, I'm sure there must be a more elegant way...
thanks for any hints!
Peter
~~
http://liga1.co
say you include a function in a page, and then you call that function.
Is there a way (without actually passing through the parameters) for that
function to know which page and which line called it?
That would be VERY cool!
Peter
~~
http://liga1.com: buildi
I just tried out
http://sourceforge.net/projects/phpmyedit/
it's like Paul's dbadmin script for generating admin, but seems bettter
(has paging, ...).
Peter
~~
http://liga1.com: building multiple language/culture websites
--
PHP General Mailing List (htt
Hi,
I want to make a recursive function generating a hierarchy using a class.
The following code works fine when I don't wrap the function around it,
but when I do it fails. I can't figure out why...
I'm thinking I may need to make some vars global, or maybe you can't use
objects inside function
What's with all the spam on this list anyway? Is there no moderation at all?
I'm working on some i18n issues, and I'll have some questions / answers
soon, but this list is way too spammy for now.
Also: since it's so low traffic, can we set it to reply to the list by default?
Peter
Haha neve
I've looked into bug tracking software at hotscripts: mantis
http://mantisbt.sourceforge.net/mantis/main_page.php3
is promising but has too many bugs itself still (I fixed three in the past
20 minutes of playing with it, it's still in beta, but I can't afford the
estimated x days of debugging it
Hi,
does there exist a web based mailing list administrator in PHP (Tying in
with some open source mailing list software)?
Ideally, something like egroups (now groups.yahoo.com). I just want to be
able to easily administrate (or have other people administrate) mailing
lists. I have access to my
Hi,
I'd like to do:
$function = "build_result()";
$result = $$function;
but it doesn't seem to work.
The reason why I think I need it is that I have a generic function, but
within it I have to call another function depending on who called it. I
could build a switch within the generic function de
"Ok the next part of this message is an article I thought would be
generally interesting so I'm not hesitating to post it entirely. It was
forwarded to me so I'm not sure of the source."
here:
http://www.zend.com/zend/cs/newbold.php
Peter
~
http://liga1.com ,a weblog on:
-
I read this: "The i18n J version of PHP is an increasingly popular choice
for developers [in Japan] because of its overall performance, speed of
development, and character set capability features."" (tru an email, don't
have the source)
Is there a i18n version of PHP?
Also any resources on how
I'm trying to get cachedfasttemplates to work.
I chmodded the entire directory and everything in it 775 (using -R), I
still get
Warning: fopen("./menu.cache","w") - Permission denied in
../includes/classes/fasttemplate/cachedfasttemplate.class.php on line 73
Any ideas at all? I've been stuck on
http://liga1.com/
new weblog on localisation, internationalisation, globalisation and
accessibility issues.
Any feedback welcome, and feel free to participate, post articles, ...
Peter
--
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi,
help: shouldn't this increase the number every time you reload the page?
session_start();
$funky_session_var ++;
session_register($funky_session_var);
print $funky_session_var;
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
29 matches
Mail list logo