hi,
infact i'm un
able to obtain a copy of my hosting company's php.ini
thanx
_
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
--
PHP General Mailing List (http://www.p
I suggest paying a visit to www.webhostingtalk.com and search the forums... theres
tons of information on the large, and small hosts that might help.
Jason Reid
[EMAIL PROTECTED]
--
AC Host Canada
www.achost.ca
"OrangeHairedBoy" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMA
Lewis,
First I would look at breaking out the tags:
// User: JohnDoe; age=32; nickname="Billy 'the' Kid"; haircolor=orange;
$string = 'User: JohnDoe; age=32; nickname="Billy \'the\' Kid";
haircolor=orange;';
$stringArray = preg_split('/;/', $string, -1, PREG_SPLIT_NO_EMPTY);
Then sp
(B"Khalid El-Kary" <[EMAIL PROTECTED]> wrote:
(B> hi,
(B> infact i'm un
(B> able to obtain a copy of my hosting company's php.ini
(B
(BThen, perhaps, try running phpinfo() and compare.
(B
(BI think it might even have something to do with "register_globals".
(B
(B- E
(B
(B
(B--
(BPH
Hello,
I could use some help.
I have two framed pages, upperframe.html and lowerframe.html. In upper frame.html:
echo "";
echo "IDSubjectOpenClose";
while($row = MySQL_fetch_array($result)) {
echo "";
echo "{$row['id']}"; ??
echo "{$row['subject']}";
echo "{$row['open']}";
ech
Adrian,
one thing you can do is point the tag to a target of the lower frame and
in the lower frame you can look for the tableID and get the information from
the database.
echo "{$row['id']}";
then you could do something like:
if ($tableID) {
$query = mysql_query("SELECT......WHERE tab
Hi!
When I am laoding php as module:
LoadModule php4_module c:/php/sapi/php4apache2.dll
I get the following error:
Apache.exe: module "c:\php4build\snap\sapi\apache2filter\sapi_apache2.c" is not
compatible with this version of Apache (found 20020628, need 20020903).
Please contact the vendor for
Hello People! I am still struggling to get PHP up and running. I have used
Installshield and all the defaults suggested. I am using Dreamweaver which
in turn uses IIS at LocalHost. I use the suggested code :-
Running under win2000 and IIS.
PHP Test 3
"; ?>
I receive the following error :-
In short - looks as if your version of Apache 2 is out of date.
You're using a version from 28th June, the PHP dll was built against a
version from 3rd September.
Danny.
- Original Message -
From: "Horst Gassner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 16, 20
Actually, GD2 can be compiled (after a patch) to read/write GIFs with LZW
compression (the LZW algorithm is the root of the legal iffyness), but
(AFAIK) you're only legally allowed to enable it if you live outside the US
& Canada. AFAIK only FreeBSD's ports system does this atm.
- Original Me
hi,
the script infact never used register_globals because it's a class that has
nothing to do with the direct script input, but there's an idea that came to
my mind, maybe the company compiled its own PHP? may this change anything?
generally is Linux different from windows in String functions? e
Aaron,
Thanks for the advise, but I'm got a problem. If I first split it up by /;/,
how do I catch it if there's a semi-colon inside a string?
Lewis
"Aaron" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Lewis,
>
> First I would look at breaking out the tags
Hello,
(B
(B"Khalid El-Kary" <[EMAIL PROTECTED]> wrote:
(B
(B> hi,
(B> the script infact never used register_globals because it's a
(B> class that has nothing to do with the direct script input, but
(B> there's an idea that came to my mind, maybe the company
(B> compiled its own PHP? may th
Just a note to keep in the back of your mind. Unless I'm mistaken MapQuest
prints out road miles to a location. The formula prints out direct (or as
the crow flies) miles. There will almost always be differences between the
two.
Fred Steinkopf
- Original Message -
From: "Aaron Gould" <[E
I am havein troubles gettin my form variables to work.
The "register_globals" in php.ini is set to its default of "off".
code:
Form Series - Example One
asdasdasddassad
the dosent print anything in the action of the form
and the
echo $_POST["answered"]; on the first run gives
Because it isn't? Instead of echoing $PHP_SELF, echo
$_SERVER['PHP_SELF']. With the $_POST problem, it's complaining that
you're using a variable that isn't defined. Use?
if(array_key_exists('formfieldnamegoeshere',$_POST)){
print $_POST['formfieldnamegoeshere'];
}
?>
Chris Jackson wrote:
I
At 17:36 16.11.2002, Chris Jackson said:
[snip]
>I am havein troubles gettin my form variables to work.
>The "register_globals" in php.ini is set to its default of "off".
>
>the dosent print anything in the action of the form
That's because register_global
Session-vars won't work on my pages either.
Tried your suggested code, but get the following errors in my browser:
Page 1:
Warning: open(/tmp\sess_22b746f8ee84cf7aadb8da0b37ce9d2a, O_RDWR) failed: m
(2) in c:\apache group\apache\htdocs\system\kode\test.php on line 2
Page 2:
Warning: open(/tmp\se
My header looks just like this:
HTTP/1.0 200 OK
Date: Sat, 16 Nov 2002 16:45:29 GMT
Server: Apache/1.3.20 (Win32) PHP/4.0.6
Cache-Control: max-age=3600
Expires: Sat, 16 Nov 2002 17:45:29 GMT
X-Powered-By: PHP/4.0.6
Content-Type: text
On Sunday 17 November 2002 00:36, Chris Jackson wrote:
> I am havein troubles gettin my form variables to work.
> The "register_globals" in php.ini is set to its default of "off".
[snip]
> the dosent print anything in the action of the
> form and the
Because register globals is disabled you ha
At 18:04 16.11.2002, Lars Espelid said:
[snip]
>Session-vars won't work on my pages either.
>Tried your suggested code, but get the following errors in my browser:
>
>Page 1:
>Warning: open(/tmp\sess_22b746f8ee84cf7aadb8da0b37ce9d2a, O_RDWR) failed: m
>(2) in
Jason Reid wrote:
I suggest paying a visit to www.webhostingtalk.com and search the forums... theres tons of information on the large, and small hosts that might help.
I use www.phpwebhosting.com and have been happy with them so far. $10 a
month, but they are generous (and flexible, at leas
php-general Digest 16 Nov 2002 18:12:11 - Issue 1708
Topics (messages 124702 through 124732):
Re: Javascript + PHP
124702 by: Jason Wong
Forms and Sessions not working
124703 by: Chris Jackson
124707 by: Jason Wong
POSIX and PCRE help
124704 by: OrangeHaired
I'm wanting to make a simple PHP script that converts Celsius
to Farenheit, Farenheit to Celsius, Farenheit to Kelvin, and Celsius to Kelvin.
I have the formula but it requires fractions. How can I use frations in PHP to
multiply or divide? If you can't, how could I substitute doing so? 5/9 (
You gotta be kidding me, no? When did you learn decimals? I think I started
by 3rd or 4th grade ...
-Original Message-
From: Stephen [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 16, 2002 1:36 PM
To: PHP List
Subject: [PHP] Fractions
I'm wanting to make a simple PHP scri
Supposing you want to display the numbers as decimal values:
$celsius = ($farenheit - 32) * 5 / 9;
Unless, of course, I did not understand your question properly.
Marco
--
php|architect - The magazine for PHP Professionals
The first monthly worldwide magazine dedicated to PHP progr
Well, seeing as you're in the 7th or 8th grade (at least according to your
Website) - my sincere apologies ...
Just use 5.0/9.0 in your formula.
Mark C.
-Original Message-
From: Stephen [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 16, 2002 1:36 PM
To: PHP List
Subject: [P
thanks - yes I do understand the code you placed.
OK - can I take the JSP variable with a post or a get? are these just
general http variables?
Jeff
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> php => javascript
> 1st way:
>
> var var_nam
anybody??? still haven't gotten this figure out.
Jeff
"Jeff Bluemel" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> OK - I got the rasmail codes from Zend.com's code library. it is working
> perfectly for my application except for one problem. the email I a
Only writing is an issue. PHP 4.3's bundled GD2 library supports
gif-reads. And the patent actually expires in 2003 so we'll be able to
roll in gif-writes next year.
-Rasmus
On Sat, 16 Nov 2002, Danny Shepherd wrote:
> Actually, GD2 can be compiled (after a patch) to read/write GIFs with LZW
>
Hey you may want to try
in page2.php :
session_start();
echo('{$_SESSION['abc']}');
Lee
"Anjali Kaur" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> i want to access some variables generated in one page
> in all the other pages, so i thought of using
> $_SES
Hi,
If your register_globals is off then you will need to use
$_GETand $_POST to get the data from the form.
echo $_POST['Name'];
Lee
"Chris Jackson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all:
> Im new to php and i have an isue.
>
> php4.2.3 wind
OK...
I'm using base64_encode to encode a file on the linux side. however,
outlook express does not seem to unencode the file properly. I'm wondering
how to work around this problem.
Jeff
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
webmaster [EMAIL PROTECTED] on 11/15/02 3:47 PM wrote:
> I'm trying to enable output buffering to speed up the load time of some
> of our php web pages. I've consulted the manual and enabled the
> following:
The manual lacks description for this topic. Take a look at this article at
Developer Sh
Hello,
On 11/16/2002 04:53 PM, Jeff Bluemel wrote:
anybody??? still haven't gotten this figure out.
You may want to try this class and mail me back if it does not work:
http://www.phpclasses.org/mimemessage
--
Regards,
Manuel Lemos
Jeff
"Jeff Bluemel" <[EMAIL PROTECTED]> wrote in messa
Hi,
I'm using php 4.2.3 with courier-imap, when I run the function
imap_fetchstructure the return for 'type' and 'subtype' variables are always
text/plain even when the content type says multipart/mixed, text/html, etc...
The same happends with the 'parts' array, empty all the time.
I tried dif
Dear all
I'm trying to create a search function that can check the current day in a calendar
against a mysql database where there is a startdate and enddate and if the date is
there then colour code the cell in the calendar.
I have tried to use the following command
$eventQuery = "SELECT title
Hello,
I've managed to get a series of javascripts to work exactly as I wanted.
They check all and uncheck all checkboxes with a single click of a control checkbox.
Unfortunately, the information has to be sent to php. As soon as I add the []
brackets to
an input name, the javascript no longer
9/5 and 5/9 would be a repeating deicmal. I find fractions would be easier to multiply
then a repeating deicmal. That's why I asked how to use fractions...
- Original Message -
From: Mark Charette
To: Stephen ; PHP List
Sent: Saturday, November 16, 2002 1:44 PM
Subject: RE: [P
hi,
i was asking if there should be difference in functionality of PH string
functions (not mb_) between the two following configurations:
the company: PHP 4.2.1, Apache 1.3.20, linux
me: PHP 4.2.3, Apache 1.3.24, windows
my confthe company's conf
thread safety Enabled Disabled
allow_
I'm looking for a good class for forms that will work with
register_globals off. I was planning to modify Manuel Lemos's class,
but it turned out to be too big of a task. Any ideas?
--
The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be pr
Hi Keith:
Unfortunately, the information has to be sent to php. As soon as I
add the [] brackets to
an input name, the javascript no longer functions. I'll look up a
javascript mailing list next,
but I figured there must be some other way to get php to recieve the
data and convert it
to an a
This is how i deal with dates...
$date = date in the database.
$today = strtotime( gmdate( "Y-m-d" ) );
$spd= 60 * 60 * 24; // seconds per day
$fdate = strtotime( substr( $date, 0, 10 ) );
$future = ( $fdate - $today ) / $spd;
do the comparision with $future and it
try using pear...
On Sat, 2002-11-16 at 22:53, Leif K-Brooks wrote:
> I'm looking for a good class for forms that will work with
> register_globals off. I was planning to modify Manuel Lemos's class,
> but it turned out to be too big of a task. Any ideas?
>
> --
> The above message is encr
Hello,
On 11/16/2002 08:53 PM, Leif K-Brooks wrote:
I'm looking for a good class for forms that will work with
register_globals off. I was planning to modify Manuel Lemos's class,
but it turned out to be too big of a task. Any ideas?
If you wait a few more days, I'll upload the new version
Hi
Besides the coding I've done in PHP I've been on a Java project for
several weeks now. I'm wondering if anyone knows of a good listserve for
Java coding related questions like this one.
Thanks
n Gacki
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi people
I have a problem installing some extensions on a windows XP machine
(Apache 2.0.40 and PHP 4.2.3/MySql 3.23.52). I now have most of the
extensions i need
installed, although there are a few ones wich i dont get to work? Any
idea`s? ;extension=php_mcrypt.dll doesnt work and stil produce
can someone help out a nubIe here - im trying to insert a Date into a MySql
table and im having error messages - can you take a look at
http://66.139.147.233/thispage.php submit a guest and comment to see
error.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
Put the brackets for php...
Now, to loop through the elements in JavaScript, you're going to have to
do something like this
var test = false;
for ( i = 0; i < document.forms[0].elements['myname[]'].length; i++ )
//code for whatever you want to do here
//if you want to check if at least o
I need to make a search engine for my site. Instead of making
a table with all the words of my content of my reviews, I need to make it
simple. How could you search a table of articles (let's say game_reviews) by
comparing keywords the user types in, to the text of the article? All the
tutor
Hello,
Extreme newbie here (halfway through my first book :) ). I need to open a
file, read the whole file into a variable, manipulate it, and then echo it
to the screen. I'm doing it right from my book and it's not working.
Here's what I have now:
It writes "Resource id #1" at the top of the
Well, if you're using a database, say MySQL, you can look at FREETEXT
indexes and queries. If you want to index your web pages, you should be
looking at a search engine that works with your web server. For example,
ht:dig (http://www.htdig.org/) works with Apache.
Marco
--
php|arch
I don't have control of my server, it's hosted. All my content is in a MySQL
database and is outputed through a php page that selects the information
from an id variable passed through the URL...
- Original Message -
From: "Marco Tabini" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED
Ok, then you can use FULLTEXT queries.
Take a look here:
http://www.mysql.com/doc/en/Fulltext_Search.html
Marco
On Sat, 2002-11-16 at 22:49, Stephen wrote:
> I don't have control of my server, it's hosted. All my content is in a MySQL
> database and is outputed through a php page that selects
What is the most secure way to store mysql-username / mysql-password
data in xxx.inc.php files so that only one hosting-client can read
it with phps' file, include, require function?
--
Jochen Kaechelin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Thanks for the reply... it took me a little bit to get this worked out, but
it is working perfectly now. I appreciate the assistance.
Jeff
"Manuel Lemos" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
>
> On 11/16/2002 04:53 PM, Jeff Bluemel wrote:
> >
Hello,
"Troy May" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Extreme newbie here (halfway through my first book :) ). I need to open a
> file, read the whole file into a variable, manipulate it, and then echo it
> to the screen. I'm doing it right from my book and it's not working.
> Here's what I
This appears to be a register globals problem
replace "switch($select)" with "switch($_GET['select'])".
For information on register globals and why it has been turned off in later
releases see this pagee:
http://www.php.net/manual/en/security.registerglobals.php
There is nothing syntactical
Hello,
(B
(B"Khalid El-Kary" <[EMAIL PROTECTED]> wrote:
(B> hi,
(B> i was asking if there should be difference in functionality of PH string
(B> functions (not mb_) between the two following configurations:
(B>
(B> the company: PHP 4.2.1, Apache 1.3.20, linux
(B> me: PHP 4.2.3, Apache 1.3.2
On Sunday 17 November 2002 10:49, Chris Jackson wrote:
> can someone help out a nubIe here - im trying to insert a Date into a MySql
> table and im having error messages - can you take a look at
> http://66.139.147.233/thispage.php submit a guest and comment to see
> error.
Why don't you copy
On Sunday 17 November 2002 06:27, Khalid El-Kary wrote:
> hi,
> i was asking if there should be difference in functionality of PH string
> functions (not mb_) between the two following configurations:
>
> the company: PHP 4.2.1, Apache 1.3.20, linux
> me: PHP 4.2.3, Apache 1.3.24, windows
> magic_
php-general Digest 17 Nov 2002 06:13:47 - Issue 1709
Topics (messages 124733 through 124770):
Fractions
124733 by: Stephen
124734 by: Mark Charette
124735 by: Marco Tabini
124736 by: Mark Charette
124748 by: Stephen
Re: can I retrieve jsp varibable wi
On Sunday 17 November 2002 03:09, Stephen wrote:
> 9/5 and 5/9 would be a repeating deicmal. I find fractions would be easier
> to multiply then a repeating deicmal.
But php doesn't care one bit (and neither should you) whether you use
echo ( (5/9) * (80-32) );
OR echo ( 0.6 * (80-32)
On Sunday 17 November 2002 04:10, Ray Healy \(Data Net Services\) wrote:
> Dear all
>
> I'm trying to create a search function that can check the current day in a
> calendar against a mysql database where there is a startdate and enddate
> and if the date is there then colour code the cell in the c
How is serialization of references handled? Example:
class foo
{
var $abc;
function bar()
{
echo $this->abc;
}
}
$obj = array( &new foo(), &new foo() );
$baz = serialize($obj);
/* ... dancing monkey for entertainment while time passes ... */
$obj = unserialize($baz);
Will re
Hello list, I'm hoping someone can shed some light on a problem I'm
having with the header() function...
I'm building a script to spool MP3 files to Winamp/xmms using the HTTP
protocol. And it works fine, except I want to suppress the normal
"HTTP/1.1 200 OK" header sent by PHP/Apache
Not that I've ever used them but wouldn't Sockets be a good place to start?
Cheers
Brendon
-Original Message-
From: Morgan Hughes [mailto:[EMAIL PROTECTED]]
Sent: Sunday, November 17, 2002 4:40 PM
To: PHP General List
Subject: [PHP] Unusual HTTP header control
Hello list, I'm hoping
On Sun, 17 Nov 2002, Brendon G wrote:
> Not that I've ever used them but wouldn't Sockets be a good place to start?
> Cheers
> Brendon
Possibly, but the rest of the script works well... And I've got more
experience feeding files back with PHP, and letting PHP do the heavy
lifting for me...
Hi,
on 17/11/02 7:58 AM, Keith Spiller ([EMAIL PROTECTED]) wrote:
> Does anyone have an idea how I can make the php script gather all the multiple
> &browser=lynx&browser=mosaic&browser=explorer
> instead of only the last entry?
That URL is like writing:
And expecting that $foo contains both
Hi,
on 17/11/02 1:45 PM, Troy May ([EMAIL PROTECTED]) wrote:
>
> echo $header; ?>
>
> It writes "Resource id #1" at the top of the page. What is that?! :)
You're missing some code -- instead, try this example from the fread() page
in the manual:
Cheers,
Justin French
-
70 matches
Mail list logo