I actually just hacked one up. This hooks into a Gallery
(gallery.sourceforge.org) album directory and picks out files with the
string, "sized", in their filenames. It then creates an array such that
the more recent pictures get more entries in the array which means when I
pick a random image I a
I was wondering is there a way to generate image random with php?
I need it...I am new to php, all i can do is only basic of php.
I also using MySQL for the database system.
Is there a site who explaining about this?
or someone know how to make the script?
Thank's
--Zeus--
Mutimedia staf of N
Hey folks,
I'm running Win2K Adv. Server( s.p.2) \ IBM HTTP Server 1.3.19( Read
Apache ) . did everything correctly (at least I think so :) , but when I
try open *.php or *.php3 files, in my browser( IE 5.5 ) I can see ONLY plain
text.
Here is my httpd.conf content:
# PHP Config
LoadModule p
php-windows Digest 21 Mar 2002 23:56:18 - Issue 1057
Topics (messages 12699 through 12723):
Re: PHP String
12699 by: Scott St. John
12702 by: W-Mark Kubacki
12706 by: Symeon Charalabides
is_integer()
12700 by: Claudio Fedel
Re: Templates Modul
12701
Is there a way of getting a timestamp that Access will accept? I used the
date() function to get the current date and tried to stick it into a field
with the Date/Time data type (and a Long Date format) and got a type
mismatch error.
If I'm not being clear enough, just tell me. I tend to be quite
Not sure if this will help you or not, but here are a few words of wisdom
that helped me get past problems in the Sablotron extension.
If you wish to use files that are not in your php root, you have to add the
string: "file://" before each of your filenames. This will keep Sablotron
happy in bo
> -Original Message-
> From: Symeon Charalabides [mailto:[EMAIL PROTECTED]]
> >
> > if($column){
> >
> > header("Location: http://website/next.php";);
> >
> > print "hello?";
> >
> > exit;
> >
> > }
> Any 'header' command is only executed before any output is
> sent to the browser.
Your webserver (Apache) needs to be told what to do with the .php files.
You did add the proper lines to httpd.conf file, correct?
On Thu, 21 Mar 2002, sjub wrote:
> I've installed PHP on my win2k machien running latest Apache the manual way,
> but when i want to try my test php file, IE want
I've installed PHP on my win2k machien running latest Apache the manual way,
but when i want to try my test php file, IE wants to download it and not to
open it.
I've restarted mt apache, so that's not the problem.
Maybe the problem is that i've assigned *.php to open with notepad.
Has somebody
On Thu, 21 Mar 2002, Ben wrote:
> why does php_xslt.dll expect the files to be in PHP root? how can i change
> this to be able to pick up files from the document root itself?
>
It sounds to me like you have a diffirent problem than the one that I had on my
server, but I think that the same so
Are you getting an error that the headers have already been sent? Also
try this:
header ('Location: http://website/next.php');
^ ^
---single quotes---
On Thu, 21 Mar 2002, Ljungan wrote:
> That was exactly what a meant! =) But you see,
I think that it may not work if you're using the php module in the CGI mode.
I don't think web servers accept header information in this case?... My
suggestion is to use the refresh tag?
Ross
-Original Message-
From: Ljungan [mailto:[EMAIL PROTECTED]]
Sent: 21 March 2002 20:30
To: [EMA
> That was exactly what a meant! =) But you see, I have one problem, nothing
> happens when execute the code What do I do wrong? Here is a code
> example:
>
> if($column){
>
> header("Location: http://website/next.php";);
>
> print "hello?";
>
> exit;
>
> }
>
> The "print"line prints jus
That was exactly what a meant! =) But you see, I have one problem, nothing
happens when execute the code What do I do wrong? Here is a code
example:
if($column){
header("Location: http://website/next.php";);
print "hello?";
exit;
}
The "print"line prints just fine (even if it shouldn't,
Yep!
"Ljungan" <[EMAIL PROTECTED]> skrev i meddelandet
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> what do I do if I want to direct people from my website to another? Im
sure
> its very simple but I cant find out how... please help me!
> /JEns
>
>
--
PHP Windows Mailing List (http://www.php
Hi,
My problem is: if I have an array (e.g. 1, 2, 3, 4, 5, 6, 7, 8, 9), how I can "shake"
the array and get randomized order of the same array (e.g. 5, 8, 1, 9, 3, 4, 7, 2, 6)?
Thanks for any help!
Afan
http://www.othersite.com";); ?>
"Ljungan" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> what do I do if I want to direct people from my website to another? Im
sure
> its very simple but I cant find out how... please help me!
> /JEns
>
>
--
PHP Windows Mai
In the same browser window:
http://www.php.net";>Click here for the PHP site
In a new browser window:
http://www.php.net"; target="new">Click here to open a new
window
-Scott
On Thu, 21 Mar 2002, Ljungan wrote:
> what do I do if I want to direct people from my webs
what do I do if I want to direct people from my website to another? Im sure
its very simple but I cant find out how... please help me!
/JEns
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You might want to try PHP Edit
Its a good development/editing environment
offering highlighting, line numbers and so on :)
Warren Vail wrote:
>
> I am limited to editing as well (no debug) and, after trying several tools,
> have settled on ConTEXT (http://www.fixedsys.com/context), which provi
Thanx for the help Guys, things are working fine again finally :)
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> > My question is that when a script calls the $PHP_SELF string I receive the
> > wellknown 404 message from my webserver.
> >
Hmm, maybe you're calling it from inside a function? In that case, you need to
register $PHP_SELF as a global variable to get the value.
Then again, you'd get the usual
Hi,
I'm really fed iup with it now, I've tried everyting now. Apache can't find
the module and I'm sure it is where I say it is.
I'm forced to use the cgi-program. But I want to use the apache-module. Does
anyone know how to handle?
Maarten Zuidland
please also reply to my email: [EMAIL PROTECT
> -Original Message-
> From: Marirose Martin [mailto:[EMAIL PROTECTED]]
>
> Bonjour, je suis sous windows et j'aimerai me servir des
> fonctions php pour payflow. Partout ils disent que php doit
> etre compiler avec l'option pour payflow, s'auriez vous où ve
> pourrait me procurer un
Bonjour, je suis sous windows et j'aimerai me servir des fonctions php pour payflow.
Partout ils disent que php doit etre compiler avec l'option pour payflow, s'auriez
vous où ve pourrait me procurer une tel version de php?
merci d'avance
Marirose
[EMAIL PROTECTED]
Hello!
Since PHP 4.1.0 $PHP_SELF is called $_SERVER['PHP_SELF']
unless you've explicitly acivated the register_globals
variable in the php.ini. (I bet you haven't.)
Change everything in your code accordingly.
Every variable is found at the array of variables called
like the methods' name. If you
Here are some, but there is *much* more out there.
Just use your favourite search engine.
PHPlib
http://phplib.netuse.de/
FastTemplate/Cached
http://www.thewebmasters.net/php/
FastTemplate Clone
http://freshmeat.net/projects/rfasttemplate/
Tutorials
http://www.phpbuilder.com/columns/sascha19990
Hi there,
I have to check if a variable in querystring is integer or not. I tried
is_integer($varname) but it doesn't return anything.. The value of variable
in querystring is 3
any idea?
I'll take a guess, you are calling PHP_SELF and it will check to see what
the php script name is that you are running, nothing else. I would think
you would have to get the server variables to get the entire url.
I have used PHP_SELF often and don't get 404 errors, matter of fact it's
never f
php-windows Digest 21 Mar 2002 11:34:28 - Issue 1056
Topics (messages 12697 through 12698):
PHP String
12697 by: C vd Veen
issue with PHP_XSLT?
12698 by: Ben
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-ma
hi,
i got a problem. i installed sablotron (expat etc) and it seems to be
working. my directory structures are like this:
webroot = c:\apache\htdocs
phproot = c:\apache\php
i try putting my xsl files (1.xsl, 1.xml) into HTDOCS but it doesnt work and
tries to look for the files in my PHP
31 matches
Mail list logo