Is there any way to force case...like if I have a string and want it to appear
in all lowercase (or uppercase, God forbid)?
Thanks,
Rory
---
providing the finest in midget technology
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additi
Thank you
rm
--- Keyur Kalaria <[EMAIL PROTECTED]> wrote:
> it is
>
> http://marc.theaimsgroup.com/
>
> regards
> keyur
>
>
__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
--
PHP General M
Hello everybody,
I am working on a banner exchange site and a site rating script.
Can anyone suggest me how to avoid the fraud rating and fraud banner clicks.
What all things we need to take care for the same etc.
Thanks in advance.
Keyur
--
PHP General Mailing List (http://www.php.net/)
To
Does anyone know (or have) of a good example of how to create search results
like a Yahoo or MSN search?
for example:
Say I do a search for "cars" and there are 10,000 records in my table that
match "car"... I would like to show the results in blocks of (say) 25 at a
time, therefore I will need
All you need is a regular expression, provided by ereg function or preg
functions.
You'd have the regex look for
Then just adjust the result as you want it to appear.
You'll need to either search around for code that already does this, or be
willing to learn regular expressions (which you sho
The way I do it is to stick all those global variables into an include file,
which I usually named something like global.php.
Just do that and require() the file at the top of all your scripts which
need it. Keep things like page color, text color, font, etc in the global
file.
If you ever need
it is
http://marc.theaimsgroup.com/
regards
keyur
- Original Message -
From: "rm" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, April 14, 2001 11:23 AM
Subject: [PHP] Need a URL
> My hard drive died, lost my bookmarks. Can someone
> post the url of the site that
My hard drive died, lost my bookmarks. Can someone
post the url of the site that archives this list...it
was marc something or otherneed to find a piece of
code I know was posted to this listthank
rm
__
Do You Yahoo!?
Get email at your own
actually just test this... don't need slashes... it works GREAT!
thanks.
""Jason Caldwell"" <[EMAIL PROTECTED]> wrote in message
9b8it7$npq$[EMAIL PROTECTED]">news:9b8it7$npq$[EMAIL PROTECTED]...
> oh... that rocks!
>
> would i have to still add the slashes?
>
> /n, /" -- etc?
>
> "Les Neste" <
I have been able to find out how to read a file and replace certain matches,
but I want to be able to take a web page stored in a string and change the
tags and add www.mysite.com?page= before the actual link value so
the new url would read www.mysite.com?page=original_url. Can I do this and
i
oh... that rocks!
would i have to still add the slashes?
/n, /" -- etc?
"Les Neste" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Cool. Does that work with echo too, do you know?
>
> At 06:19 PM 4/13/2001 -0700, DanO wrote:
> >try this:
> >
> > >print << >
"Les Neste" <[EMAIL PROTECTED]> wrote:
> Cool. Does that work with echo too, do you know?
Yes, echo can use here-docs! Is it really that *hard* to take 1 minute to
test for yourself? ;-)
And you can use whatever marker (the 'STOP' above and below) you choose.
Just make sure you don't indent t
php-general Digest 14 Apr 2001 03:17:42 - Issue 626
Topics (messages 48447 through 48507):
Re: Calling Functions without all the arguments
48447 by: Hardy Merrill
48449 by: Chris Aitken
48450 by: Rasmus Lerdorf
48454 by: Chris Aitken
Compile Problems
I have a question about sorting multidimensional arrays. Here is my problem:
I have an 2-d array:
$joke[1][rating]=10;
$joke[2][rating]=20;
$joke[3][rating]=15;
I would like to sort the jokes into an array based on the rating from highest
to lowest. The end result would be something like t
rch, NZ - http://pdunford.godzone.net.nz/
And my God will meet all your needs according to his glorious
riches in Christ Jesus.
-- Philippians 4:19
http://www.heartlight.org/cgi-shl/todaysverse.cgi?day=20010413
===
Creat
elling
the web server to redirect to another web page.
--
===
Patrick Dunford, Christchurch, NZ - http://pdunford.godzone.net.nz/
And my God will meet all your needs according to his glorious
riches in Christ Jesus.
-- Philippians 4:19
http://w
""phpman"" <[EMAIL PROTECTED]> wrote:
> All the docs i've looked at for parsing XML takes a file as input. What's
> the proceedure for
> opening a socket connection and doing XML transmissions via TCP/IP. Do I
> need to do
> socket calls through PHP to open an XML connection (manually send all the
""FredrikAT"" <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I'm starting a news site, and I have one problem.
> (not with php or mysql, workin' fine!):
>
> 1. I want my authors to be able to make the text bold, italic ++,
> but I can't find anything that works.
> 2. The best sollution must be something sim
""kenny.hibs"" <[EMAIL PROTECTED]> wrote:
> My isp uses php3 and some of my scripts have the function 'foreach'
> which is php4.
> Is there are way to fix this
Sure.
If your code says:
foreach($array as $element) { // this is a numerically-indexed array
...
}
do:
while(list(,$element) = e
Cool. Does that work with echo too, do you know?
At 06:19 PM 4/13/2001 -0700, DanO wrote:
>try this:
>
>print <<
>
>jldsfajlf;dsajfl;dkfl;dsa
>
>
>EOP;
>?>
>
>AFAIK it is the easiest way to do multi-line printing!
>
>DanO
>
>
>""Jason Caldwell"" <[EMAIL PROTECTED]> wrote in message
>9b868e$2ca$[
try this:
jldsfajlf;dsajfl;dkfl;dsa
EOP;
?>
AFAIK it is the easiest way to do multi-line printing!
DanO
""Jason Caldwell"" <[EMAIL PROTECTED]> wrote in message
9b868e$2ca$[EMAIL PROTECTED]">news:9b868e$2ca$[EMAIL PROTECTED]...
> Is there a utility that I can use that will take a bunch of H
Small additional info about "expression" and "language construct".
Expression is anything that have value.
Therefore, if language construct returns value => valid expression.
Following code works:
($val) ? include('abc.php') : include('def.php');
Following code does NOT work:
($val) ? echo(
Is there a utility that I can use that will take a bunch of HTML and
encapsulate it in the PRINT command?
i.e.
PRINT("{html stuff}\n");
??
I have a ton of HTML pages that I want to make dynamic, but dread having to
type the PRINT command in front of every line of html, and let alone having
at
wez Fri Apr 13 17:38:46 2001 EDT
Modified files:
/php4 NEWS
Log:
Added news about gd and openssl changes.
Index: php4/NEWS
diff -u php4/NEWS:1.629 php4/NEWS:1.630
--- php4/NEWS:1.629 Mon Apr 9 08:44:23 2001
+++ php4/NEWS Fri Apr 13 17:38:45
Heya Guys, This question is primarily directed at the PHP Core development
team.
Is there any plans for the CORE PHP CREW (Zeev, Andrei, Sasha, etc...)
coming Down Under to a conference or some such so us Aussie's can have a
chance to say 'hi'?
Thanx
---
Ma
wez Fri Apr 13 17:15:26 2001 EDT
Modified files:
/php4/ext/gdconfig.m4
Log:
When using freetype2, turn off libttf and turn on native gd ttf.
Index: php4/ext/gd/config.m4
diff -u php4/ext/gd/config.m4:1.55 php4/ext/gd/config.m4:1.56
--- php4/ext/g
My isp uses php3 and some of my scripts have the function 'foreach'
which is php4.
Is there are way to fix this
kenny
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrato
derick Fri Apr 13 16:52:15 2001 EDT
Modified files:
/php4 TODO-4.1.txt
Log:
- Added the note about function names
Index: php4/TODO-4.1.txt
diff -u php4/TODO-4.1.txt:1.1 php4/TODO-4.1.txt:1.2
--- php4/TODO-4.1.txt:1.1 Fri Apr 13 13:47:12 2001
+++
ssb Fri Apr 13 16:33:50 2001 EDT
Added files:
/php4 ChangeLog.1999.gz ChangeLog.2000.gz
Modified files:
/php4 ChangeLog
Log:
* separated and compressed changelogs from 1999 and 2000
Index: php4/ChangeLog
diff -u php4
"Morgan Curley" <[EMAIL PROTECTED]> wrote:
> why mot [sic] just
> $foo = new Foo( $db->fetchRow(DB_FETCHMODE_ASSOC) );
> ?>
>
> If you have to leave this part of the project for any length of time,
> coming back to the above would be much less confusing. ( i think so anyway
:)
Good ide
Hi!
I'm starting a news site, and I have one problem.
(not with php or mysql, workin' fine!):
1. I want my authors to be able to make the text bold, italic ++,
but I can't find anything that works.
2. The best sollution must be something similar to hotmails...
I've looked around for ages, but I
I've been away from the Threads for a while so excuse me if this has been
mentioned.
But when I logged onto WWW.PHP.NET I noticed that the date in the
Upper-Right hand corner
is way incorrect. It reckons that today is "Tuesday April 3rd!".
I checked out my local mirror AU.PHP.NET and it was also
nevermind
""phpman"" <[EMAIL PROTECTED]> wrote in message
9b78hr$uvb$[EMAIL PROTECTED]">news:9b78hr$uvb$[EMAIL PROTECTED]...
> Thanks,
>
> another quick question. That works and I can access the variables still
but
> this
> for ($x=0;$x<$s;$x++) {
> $tmp = $HTTP_SESSION_VARS[$x];
> echo("tmp=$tmp
All the docs i've looked at for parsing XML takes a file as input. What's
the proceedure for
opening a socket connection and doing XML transmissions via TCP/IP. Do I
need to do
socket calls through PHP to open an XML connection (manually send all the
HTTP headers
and such?). Is there a built in fu
why mot just
fetchRow(DB_FETCHMODE_ASSOC) );
?>
If you have to leave this part of the project for any length of time,
coming back to the above would be much less confusing. ( i think so anyway :)
morgan
At 03:12 PM 4/13/2001 -0500, you wrote:
>Can you cast an array to an object of your choosin
I'm used to building pages that contain links that have variables
passed on the URL (somepage.php?var1=1&var2=2...) and I'm now looking
into building a site that will have quite a bit of these that will have
to 'live' from page to page, occasionally getting reset, or changed by
new page. I'
hello,
I'm trying to compile on RedHat 6.1 (latest changes applied). I can
compile with mysql support and using the apxs and it compiles fine and it
runs. This works for both 3.0.16 and 4.0.4pl1. As soon as I try to
compile in --with-imap. it comiles fine, but when I run it I get an
undefine
In article <9b6c4v$m41$[EMAIL PROTECTED]> you write:
>Correction, MySQL is not returning floor, since it returns 2 for round(1.5). - I
>didn't see it.
>MySQL should not return 2 for round(2.5), but it should return 3. I think it's
>MySQL bug.
>
>How about ask in MySQL mailing list?
I don't think
Hello generals,
I work since version 3.0.3 with PHP and had until today no
problems with it. In this week, three Interpreter have adjusted
her service to three same computers, with Win98 and OmniHTTPd,
one after the other.
I have tested all versions of PHP4,
no one works more, also the newest not
In article <01041321314700.01991@localhost>,
[EMAIL PROTECTED] (Jordan Elver) wrote:
> Hi,
> I've got a multi page form and I'm using sessions to keep track of all the
> variables between the pages. SO I fill in page one of the form and add the
> variables to a session. Then I can go on compl
ssb Fri Apr 13 13:47:13 2001 EDT
Added files:
/php4 TODO-4.1.txt
Log:
here's a preliminary list of stuff for 4.1
Index: php4/TODO-4.1.txt
+++ php4/TODO-4.1.txt
* define PEAR_INSTALL_DIR, PHP_EXTENSION_DIR, PHP_BINDIR and more
in main/main.c
Does anyone have any knowledge of pulling
info from Reynolds and Reynolds "era" systems using
php ? I'm working on a rebuild of a carlot website
and I'm just confusedif anyone has any info at
all, I will be grateful.
Jerry Lake- [EMAIL PROTECTED]
Web Designer
Europa Communication
Hi,
I've got a multi page form and I'm using sessions to keep track of all the
variables between the pages. SO I fill in page one of the form and add the
variables to a session. Then I can go on completeing the rest etc.
My problem is that I want my users to be able to go back to the pages th
Is there a way to execute a system command and get both stdout and stderr
into separate variables (without storing either one of them into a temp
file)?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECT
Can you cast an array to an object of your choosing? If so, will the keys of
the array match up with the attributes of your object?
Say I have a class like this:
class Foo {
var $foo;
var $bar;
function Foo($foo = '', $bar = '') {
...
}
...
}
Then I have an array like:
help! I'm trying to install java support for php
here is the java section from php.ini
[java]
java.class.path=/usr/lib/php/extensions/php_java.jar
java.home=/apps/java
java.library.path=/usr/lib/php/extensions
java.library=/usr/lib/php/extensions/libphp_java.so
extension=libphp_java.so
here are
Hi!
How do I convert the javascript array into the PHP array?
Thanks,
Scott
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Apache on NT is a service, check on control panel/services to see if it is
running,
beyond that i would need more details ...
- Original Message -
From: "Peter Van Dijck" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 13, 2001 11:46 AM
Subject: Re: [PHP] install question:
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] ("Mike Yuen") wrote:
> ///
> // PROBLEM IS HERE CUserName doesn't show up
> $eventrows = 0;
> $query =
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
I have this calendar and it's supposed to print out the word "Activity" if
there is an event booked on that day.
Everything works great except the query isn't finding the username. I did a
print "$CUserName is CUserName" and it works great - so I know I started my
session and it's accessible b
thies Fri Apr 13 11:23:08 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4/ext/standard string.c
Log:
@- Fixed crash in pathinfo()
Index: php4/ext/standard/string.c
diff -u php4/ext/standard/string.c:1.193 php4/ext/standard/string.c:1.193.2.1
--- php4/ex
thies Fri Apr 13 11:22:14 2001 EDT
Modified files:
/php4/ext/standard string.c
Log:
@- Fixed crash in pathinfo()
Index: php4/ext/standard/string.c
diff -u php4/ext/standard/string.c:1.193 php4/ext/standard/string.c:1.194
--- php4/ext/standard/string.c:1.1
>Except that I get this error:
>open(/tmp\sess_fdf19ffc4a1192dd55183d067fc765fd, O_RDWR) failed: m (2) in
Looks like your session.save_path is set incorrectly - set it to a sensible
windows path (eg C:\php\session or similar)
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.
> Is there any way not to write those line into the uploaded file?
It's a bug in 4.0.4pl1 on (AFAIK) RH7 and Apache. Will be fixed in 4.0.5.
You can't avoid them, but use something like the following to strip them
out:
/* void fix_broken_header(reference file)
* Incorporates fix for problem wit
As far as mysql on windows goes i think you can just use the DOS command
line to type mysql
as wellas use their MySqlManager.exe. But if you are used to unix stick with
the DOS command line and make sure you are in the mysql/bin directory and it
should be the same interface
- Original Message
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
SF> I have not been able to put the php variable back into javascript variable
SF> for javascript scripting. I doubt if it would work if I assign the php
SF> variable to the html variable then have the javascript pick it up.
You don't have "HTML variables"... you have form's fields with a VALU
When I use the form post or get method and when submitted, goes to the
next page. I can get the data in PHP by adding the "$" to the javascript /
html variable.
I have not been able to put the php variable back into javascript variable
for javascript scripting. I doubt if it would work if I
Some potentially useful links :
Zend API Documentation :
-
http://www.zend.com/zend/api.php
Extending PHP :
-
hi!
I've php4.0.4pl1 and apache1.3.14 installed and I got a problem after the
file is uploaded, using the copy function. The uploaded file was
automatically added 2 lines in the beggining of the file, tellling the
content-type of the file.
Is there any way not to write those line into the uploade
Loop through $HTTP_POST_VARS
Jerry Lake- [EMAIL PROTECTED]
Web Designer
Europa Communications - http://www.europa.com
Pacifier Online - http://www.pacifier.com
-Original Message-
From: Brandon Orther [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 12, 2001 4:28 PM
To: P
Thanks,
another quick question. That works and I can access the variables still but
this
for ($x=0;$x<$s;$x++) {
$tmp = $HTTP_SESSION_VARS[$x];
echo("tmp=$tmp\n");
}
outputs
tmp=
Why? How do I cycle through each session var and get its name and
value?
""Keyur Kalaria"" <[EMAIL PROTECT
I agree.
Why do the newsgroup forward some of the messages to this guy? Attack?
- Richard
""Chris Anderson"" <[EMAIL PROTECTED]> wrote in message
005701c0c42d$2b6e5f80$c61012d1@null">news:005701c0c42d$2b6e5f80$c61012d1@null...
I am so tired of receivng multiple error emails when I post
--
Check out www.eaccounts.net. Im using them for my sites. They support
basically everything and anything they dont have they are willing to add.
The best part is they charge based on an actual usage instead of charging
you for things you dont use because its part of a 'package'.
Jeff Pearson
> --
On Friday 13 April 2001 16:03, you wrote:
> Does it act as a "normal" array like:
> $array = array(one => "Number One", two => "Number Two");
>
> How would I go about to make this loop work (if I use the above array
> it works):
>
> while(list($key, $val) = each($HTTP_SESSION_VARS))
>
> echo "$ke
Hello,
Someone posted this a couple of days ago, might help you.
$headertxt = "Content-Disposition: attachment; filename=\"".$filename."\"";
header("Content-Type: application/force-download");header($headertxt);
py
At 09:51 AM 4/13/01 -0400, you wrote:
>I have a large script set that allows pe
Hey Dave,
you can try the following:
num = sizeof($HTTP_SESSION_VARS);
regards
keyur
- Original Message -
From: "phpman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 13, 2001 8:40 PM
Subject: [PHP] how to get num of sessions vars?
> I thought this would work..
>
I am so tired of receivng multiple error emails when I post
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
I thought this would work..
$num = count($HTTP_SESSION_VARS);
..but it doesn't. I can access the session vars themselves, so I know
they're there. Help.
-Dave
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
I have a large script set that allows people I host to manage their files on my server
until they have a FTP account setup. Unfortunately the only way they can save an
uploaded file is to r-click on the link in the managers listing and choose "Save link
target". This obviously doesn't work for
On Fri, 13 Apr 2001, Rasmus Lerdorf wrote:
>If a function has not been defined to take optional arguments, then you
>*must* provide these arguments when you call the function. The fact that
>previous versions of PHP incorrectly let you do this was at best an
>undocumented misfeature, but more li
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.
On Thu, 12 Apr 2001, Dennis Gearon wrote:
> I've been looking through the book, and so far, I can't find the command
> for 'show tables' in Oracle 8i. Anyone know it? It should be
> programmatically available, I would think, as an SQL command.
select * from tab;
Adi Wibowo -
I assume you mean PHP 4.0.4pl1
I would go grab a recent snapshot from http://snaps.php.net and see if
that solves the problem. If it doesn't, let us know and we can try to
track it down. If it does then it is obviously an issue that has been
fixed and you can either just stick with the snapshot
If a function has not been defined to take optional arguments, then you
*must* provide these arguments when you call the function. The fact that
previous versions of PHP incorrectly let you do this was at best an
undocumented misfeature, but more likely a bug.
And yes, having optional arguments
On Fri, 13 Apr 2001, Hardy Merrill wrote:
>I found the same problem - when we upgraded to PHP4, function calls
>that used to work and NOT provide all the parameters, started failing.
>
>The way I fixed it was to give each parameter a default value *IN*
>the function definition, like:
>
>function
thies Fri Apr 13 07:43:40 2001 EDT
Modified files:
/php4/ext/oci8 oci8.c php_oci8.h
Log:
@ - OCI8 now supports binding of collections
@ (Patch by Andy Sautins <[EMAIL PROTECTED]>)
Index: php4/ext/oci8/oci8.c
diff -u php4/ext/oci8/oci8.c:1.114 ph
Configuration:
Red Hat Linux 7.0
PHP 4.0 PL1
iODBC 3.0.4
Sablotron 0.5.1
Apache 1.3.19
We are attempting to compile PHP with iodbc, Java, and XML/Sablotron support
as a static module for Apache 1.3.19. Depending upon the combination of
options, the module fails to build or builds and dies with t
Chris Aitken [[EMAIL PROTECTED]] wrote:
> On Fri, 13 Apr 2001, Chris Aitken wrote:
>
> >---
> >
> >Warning: Missing argument 2 for stripe() in /location/to/included/file.php on line
>257
> >Warning: Missing argument 3 for stripe() in /location/to/included/file
php-general Digest 13 Apr 2001 14:15:39 - Issue 625
Topics (messages 48388 through 48446):
MySQL Results NULL Error
48388 by: Chris Anderson
Fetch_row
48389 by: Mike P
48417 by: Steve Edberg
48418 by: John Keith
Re: is_null
48390 by: CC Zona
On Fri, 13 Apr 2001, Chris Aitken wrote:
>---
>
>Warning: Missing argument 2 for stripe() in /location/to/included/file.php on line 257
>Warning: Missing argument 3 for stripe() in /location/to/included/file.php on line 257
>
>--
// Get the webpage into a string
$html = join ("", file ("http://www.altavista.com"));
// Using eregi
eregi("(.*)", $html, $tag_contents);
// Using preg_match (faster than eregi)
// The i in the end means that it is a case insensitive match
preg_match("/(.*)<\/title>/i", $html, $tag_contents);
I use this function
function title($filename,$dir)
{
$loc = "path/to/dir/where/file/is";
if(is_file("$loc/$filename"))
{
$open=fopen("$loc/$filename","r");
while(!feof($open))
{
$line=fgets($open,255);
Does it act as a "normal" array like:
$array = array(one => "Number One", two => "Number Two");
How would I go about to make this loop work (if I use the above array it
works):
while(list($key, $val) = each($HTTP_SESSION_VARS))
echo "$key - $val";
}
Regards,
// Tobias Talltorp
"Rasmus Lerdor
Could anyone tell me how to extract a string from between a pair of HTML
tags?
Specifically, I would like to extract the page title from between the
and tags. I have read the regular expression docs and I'm
still a bit stuck.
Can anyone help?
Thanks in advance,
Chris Empson
[EMAIL PROTE
Hi All,
Ive just run into some bizarre problem. I upgraded to a more recent
version of PHP and have run into some bizarre problem.
We were running version 4.0bsomething on a FreeBSD box with Apache and ive
just installed 4.0.3pl1 and ive managed to get pretty much everything
working, except for
Why don't you define all of those in seperate text files and include the
correct text file according to the users' preference.
You can take a look at how Mantis (it's a ligthning fast and small Bug
Tracking tool) does this at http://mantisbt.sourceforge.net
Oktay
-Original Message-
Fro
There is already such an array. It is $HTTP_SESSION_VARS
-Rasmus
On Fri, 13 Apr 2001, Tobias Talltorp wrote:
> I know this question has been up here before, but all the searches I did
> turned up with to many or no hits, so I couldn´t find anything.
>
> I want to get all the variables from a s
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
I know this question has been up here before, but all the searches I did
turned up with to many or no hits, so I couldn´t find anything.
I want to get all the variables from a session and get them into an array
like this:
$sessionvar[userid]
$sessionvar[user]
$sessionvar[email]
...
I think I re
Hi,
I'll spare you from the stuff with stupid question and answers
http://httpd.apache.org/dist/httpd/binaries/win32/ is the address
to the win32 binary. get 1.3.19 cause some more einvironment variables
are supported. To set the wholee thing up I can recommend this:
http://www.devshed.com/Se
wez Fri Apr 13 05:00:12 2001 EDT
Modified files:
/php4/ext/gdconfig.m4 gd.c php_gd.h
Log:
Added GD 2.0.1 support.
Index: php4/ext/gd/config.m4
diff -u php4/ext/gd/config.m4:1.54 php4/ext/gd/config.m4:1.55
--- php4/ext/gd/config.m4:1.54 Tue Mar
I have a web site for online ads.
I want to translate my web site in at least 3 languages.
The main problem is that I don't know which solution I should use...
I have one solution but I think it will slow down my web site...
The solution is:
put all the words (or phrases) in a database and just
Lee Howard writes:
> Using MySQL 3.23.32 on RedHat Linux 7.0...
>
> MySQL's ROUND function rounds 5 up when the preceding digit is odd and down
> when the preceding digit is even.
>
> mysql> select round(1.5);
> ++
> | round(1.5) |
> ++
> | 2 |
> ++
>
There was an article in the January 2001 issue of Webtechniques
(http://www.webtechniques.com) titled "Extending PHP" where Sterling Hughes
builds a module for converting between Roman and Arabic numerals.
/BoK
>"Carlos Serrão" <[EMAIL PROTECTED]> wrote in message
>[EMAIL PROTECTED]">news:[EMAIL
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:
On Friday 13 April 2001 04:36, you wrote:
> It's easy once you get the hang of it.
>
> I use:
>
> // Format of MySQL DATETIME timestamp.
> $time = date("Y-m-d H:i:s");
>
> $time is ready for insertion into MySQL. To get the time out though
> you'll need to use the unix timestamp function in mysql.
1 - 100 of 111 matches
Mail list logo