Okay, so since www.php.net and de.php.net are unreachable, I hit
us.php.net. Worked. Went to downloads, clicked on the Complete Source
link and to my surprise it went back to trying to contact www.php.net.
Well, that don't do me any good.
Anyone have any suggestions for
check lgwm.org
goto reading comprehension section and then double-click or select any word
on this page and see what happens!
Yes it can be done what you're thinking of.
Alex Shi [EMAIL PROTECTED] wrote in message
005d01c140b6$67c19550$0105050a@pony">news:005d01c140b6$67c19550$0105050a@pony...
On Wed, 19 Sep 2001 16:02, Ashley M. Kirchner wrote:
Okay, so since www.php.net and de.php.net are unreachable, I hit
us.php.net. Worked. Went to downloads, clicked on the Complete
Source link and to my surprise it went back to trying to contact
www.php.net. Well, that don't do me any
Try http://www.zend.com/
If not-
http://24.5.29.77:10080/mirror/php-4.0.6.tar.gz
please note- my bandwidth is limited, if zend.com has it, it will be a MUCH faster
download.
On Wed, 19 Sep 2001 00:32:27 -0600
Ashley M. Kirchner [EMAIL PROTECTED] wrote:
Okay, so since www.php.net
www.php.net is back (with a few pieces missing, but the downloads work)
On Wed, 19 Sep 2001, Michael A. Peters wrote:
Try http://www.zend.com/
If not-
http://24.5.29.77:10080/mirror/php-4.0.6.tar.gz
please note- my bandwidth is limited, if zend.com has it, it will be a MUCH faster
Hi!
same is working on windows but on Lynux giving the following
problem..
Warning: Failed opening 'admin.php' for inclusion (include_path='/www/inc')
in /www/imac/authentication.php on line 46
--
if ($row-user_type=='A')
{
On Monday 17 September 2001 06:01, Nikola Veber wrote:
Hi !
I have a form
form target = ?php echo $PHP_SELF ?; METHOD = get
Is there a way to open PHP_SELF in the same window, not in the new one ?
It should be
form action = ?php echo $PHP_SELF; ? METHOD = get
target is used as the name of
Hi, someone knows where I can find documentation for QTDom functions in PHP?
Tanks
Federico Ragazzoni
--
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:
Hi there,
I have downloaded the windows version of GD (php_gd.dll) as I wish to
use it's various image functions. I have edited my PHP.INI file in
C:\WINNT and uncommented the line:
extension=php_gd.dll
Where is a suitable location for this .dll file? And what should I set
this PHP.INI line
Hi,
Is there a way to make a function 'private' in a php class?
I'm guessing there isn't since I haven't been able to find reference to
it in the php docs, but if this is the case, is there some way I can
emulate private scoping?
thanks,
James.
--
PHP General Mailing List
Can anybody tell me how to get the IP address of the remote machine looking
at the web page. I have two versions of PHP 4 On the box with version 4.0.1
I can use $HTTP_SERVER_VARS[REMOTE_ADDR], but on the other server running
4.0.0 this don't work. Is there another way of doing this as it's not
Hello all
I am looking for a PHP example or tutorial that shows how it is possible to
return one particular record (is that the correct terminology for an XML
file?) from an XML file. For example, consider this very simple XML file:
?xml version=1.0?
library
book
In article 005d01c140b6$67c19550$0105050a@pony,
[EMAIL PROTECTED] (Alex Shi) wrote:
Suppose we have a page and on it a button link to a backend
script. When click the button, at the server side the scritp will
be called. My question is, how can we program the script that
just let to do
this is working for me $REMOTE_ADDR
Aniceto Lopez
www.laMundial.net
download and spread our music
--
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
Hi all,
I was wondering how you can set multiple values into a single cookie.
Thanks in advance,
Also could you reply straight to me as well, as I'm on the digest list.
Cheers
Sam Rose
So sprach »James Gregory« am 2001-09-19 um 19:27:27 -0400 :
Is there a way to make a function 'private' in a php class?
In PHP 4.0.x - no.
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
Homepage: http://www.digitalprojects.com |
On Wednesday 19 September 2001 11:37, Andrew Semark wrote:
$addr = getenv('REMOTE_ADDR');
Can anybody tell me how to get the IP address of the remote machine looking
at the web page. I have two versions of PHP 4 On the box with version
4.0.1 I can use $HTTP_SERVER_VARS[REMOTE_ADDR], but on
So sprach »Rasmus Lerdorf« am 2001-09-18 um 10:26:15 -0700 :
open_basedir has been around for years. It is not a new 4.0.7 feature.
Uhm, what does open_basedir do? I can't find it in the manual?
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
So sprach »Sam« am 2001-09-19 um 11:08:24 +0100 :
I was wondering how you can set multiple values into a single cookie.
Well, per se a cookie contains only one value. But you can either set
multiple cookies or you could try to put everything in an array and
store that array in the cookie.
In thinking this through, would you recommend a function within the array to
create a menu? I could pass a submenu id in the query string and if it is
there
build that menu. Here is the original message for thoughts.
I want to be
able to pull up all the items for navigation on the left menu,
hi
copy the php_gd.dll into the extentions sub-directory where you installed
php (you should already have a load of other .dlls in there too)
change the extension_dir in php.ini to point to that sub-directory.
for example :
extension_dir = D:\Apache\php4\extensions\
that should do it.
A better version would be:
if (getenv(HTTP_X_FORWARDED_FOR)) {
$ip=getenv(HTTP_X_FORWARDED_FOR);
} else {
$ip=getenv(REMOTE_ADDR);
}
This checks for proxy forwarding as well, if you just use REMOTE_ADDR you
might end up with a proxy, not the real IP.
Cheers
Jon
Hi,
I have two table:
policies:
id == auto increment, primary key
policy
topics
id == auto increment, primary key
topic
polid == linked from policies
In the policies table I have 72 records in the topics 325. What I am
trying to do is to display all the 72 record for the policies
Hi Girish,
I installed PHP within D:\PHP. This folder currently has two sub-directories
'sessiondata' and 'uploadtemp'. There does not appear to be an extensions
sub-directory with a load of other dlls in there too. Anyway I created an
'extensions' sub-directory and placed the php_gd.dll into
Hi,
i want to expire the session if user sits 15 minutes idle without doing
anything.
Then how can i set the time for session??
Thanks in advance
Regards
-Balaji
On Wednesday 19 September 2001 13:13, Jon Haworth wrote:
A better version would be:
if (getenv(HTTP_X_FORWARDED_FOR)) {
$ip=getenv(HTTP_X_FORWARDED_FOR);
} else {
$ip=getenv(REMOTE_ADDR);
}
This checks for proxy forwarding as well, if you just use
REMOTE_ADDR you might end
hi,
could someone please tell me why this doesn't work? i thought that
string functions could be used in select statements? i dunno...
SELECT User, SendDate FROM my_form
WHERE substr(SendDate, 0, 2)=19;
and i've tried the damn thing with brackets around all different parts.
thanks much,
Hi,
I have a php page that accepts post values (ie;
./page.php?var1=0var4=5).
Now there can be posted values between var(1) and var(10) and i want to
check if they exist and also utilise them. Is there a way of accessing
these values in a loop ie;-
for($i=1;$i=10;$i++){
// do things
Hi,
i was trying to figure this out myself. But since the php-manual is down...
I want to create a string with todays date and month in the format day/month
(19/9).
If i do:
$date_time_array = getdate (time());
$date = $date_time_array[ mday];
$month = $date_time_array[ mon];
I get the day
Well, presumably you could split $ip into an array based on whatever the
delimiter is. I just use this snippet for our intranet where everything
comes through exactly one proxy.
Cheers
Jon
-Original Message-
From: Tamas Arpad [mailto:[EMAIL PROTECTED]]
Sent: 19 September 2001 12:54
To:
Why not just do
$today = date(j/m);
?
Cheers
Jon
-Original Message-
From: Daniel Alsén [mailto:[EMAIL PROTECTED]]
Sent: 19 September 2001 12:55
To: php
Subject: [PHP] Combining strings?
Hi,
i was trying to figure this out myself. But since the php-manual is down...
I want to
Hi
I've never seen an install that has only those two directories :) Anyway,
try doing a search on your machine for files that match php_*.dll .It might
help you track down where all the extensions have been installed.
Regards
Girish
- Original Message -
From: Neil Freeman [EMAIL
Hi
$newstring = $date . / . $month;
Girish
- Original Message -
From: Daniel Alsén [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
Sent: Wednesday, September 19, 2001 12:54 PM
Subject: [PHP] Combining strings?
Hi,
i was trying to figure this out myself. But since the php-manual is
Light bulb appears, maybe. I have been using the 755kb PHP program which
according to php.net doesn't include external extensions. Are you by any chance
using the 4Mb complete package of PHP as this could well be where my problem
lies. I will try and download this package in the meantime and let
On Tue, Sep 18, 2001 at 05:24:37PM -0400, Salty Marine wrote:
How do I tell the mail function that the message content is HTML?
RTFM:
http://www.php.net/manual/en/function.mail.php
/* If you want to send html mail, uncomment the following line */
$headers .= Content-Type: text/html;
Thanks guys!
--
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]
Hi
I'm sure the full everything-and-the-kitchen-sink package will sort out
the problem :)
Regards
Girish
- Original Message -
From: Neil Freeman [EMAIL PROTECTED]
To: Girish Nath [EMAIL PROTECTED]
Cc: PHP General [EMAIL PROTECTED]
Sent: Wednesday, September 19, 2001 1:14 PM
Subject:
On Wed, Sep 19, 2001 at 12:57:07PM +0100, L Melville wrote:
Hi,
I have a php page that accepts post values (ie;
./page.php?var1=0var4=5).
Now there can be posted values between var(1) and var(10) and i want to
check if they exist and also utilise them. Is there a way of accessing
On 19-Sep-2001 Tom Churm wrote:
hi,
could someone please tell me why this doesn't work? i thought that
string functions could be used in select statements? i dunno...
SELECT User, SendDate FROM my_form
WHERE substr(SendDate, 0, 2)=19;
and i've tried the damn thing with brackets
I am a huge fan of php but i am kinda scared by c# i really like it's
ability to make functions and variable not accessible and therefore force
the user to use a function instead of accessing it indirectly. I am talking
here about
class talk {
private function bla() {
}
}
$t = new talk();
hi, don:
thanks a lot for the tip. and thanks even more for echoing the poor tone
i used in my post--i will try to avoid writing such posts in the future.
after looking at the documentation (many connection problems today), i
was able to write this, like i wanted:
SELECT User, SendDate FROM
Could please tell me how PHP is gonna react against the release of MS C#?
Stupid enough C# looks interresting..
Warm regards,
Emile Bosch
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
This would certainly be a nice feature to have, especially if you've
done any development with Java or C++ in the past.
Many PHP class authors adopt a convention that variables or functions
that start or end in an underscore (_) should be treated as private
and used at your own risk, i.e. they
thanks tim, but do you know wheter they are gonna implement such a feature
cuz that's somethgin that the language actually must have to become really
professional or somethign, i wish i could do cprogramming myself cuz then i
would have implemented it a long time ago :-)
Seen ur site by the way,
uhm i think XMLSLT sabletron thingie is the solution, it makes it possible
to get records as u so call it from an XML file. It works pretty good as far
as i know..!
Good luck!
Emile Bosch
Stefen Lars [EMAIL PROTECTED] schreef in berichtnieuws
[EMAIL PROTECTED]
Hello all
I am looking for a
Is it possible to connect with odbc_connect with an connectstring instead of
an DSN?
Warm regards,
Emile Bosch
--
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,
So sprach »Felix« am 2001-09-19 um 09:07:04 -0500 :
That was taken from the manual: Chapter 3 [configuration file]
Ah, okay, I thought it would be a function :) So, no wonder I didn't
find it in the functions list *G*
Thanks!
Alexander Skwar
--
How to quote: http://learn.to/quote (german)
[EMAIL PROTECTED] wrote:
Thank you for subscribing to the Salty Marine's eMail eMuster newsletter,
This can't be good... ;)
--
___ ____ _
Chris Hobbs / \ \/ / | | |/ ___\| __ \
Head Geek| (___ \ \ / /| | | | (___ | | | |
Hello all,
bugs.php.net is down, and I want to know if there is a current bug in
xmltree
in the current cvs.
Anyone know?
Sean
--
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
What do you mean decide who gets to go? You is proper english
when addressing an entire group. Can anyone say PHPCon 2001?
=P
Sheridan Saint-Michel
Website Administrator
FoxJet, an ITW Company
www.foxjet.com
- Original Message -
From: Jason Bell [EMAIL PROTECTED]
To: [EMAIL
On Wed, Sep 19, 2001 at 03:24:31PM +0200, Emile Bosch wrote:
thanks tim, but do you know wheter they are gonna implement such a feature
cuz that's somethgin that the language actually must have to become really
professional or somethign.
The language is already quite professional. Yes a
begin 666 BigProb.jpg
M_]C_X `02D9)1@`!`0```0`!``#_VP!#``X*PP+0X,PP0#PX1%2,7%1,3
M%2L?(1HC,RTV-3(M,3 X/U%%.#Q-/3 Q1F!'35166UQ;-T1C:F-8:E%96U?_
MVP!#`0\0$!42%2D7%RE7.C$Z5U=75U=75U=75U=75U=75U=75U=75U=75U=7
M5U=75U=75U=75U=75U=75U=75U=75U?_P `1 $N`JX#`2(``A$!`Q$!_\0`
http://yourwebsite.com/webpage.html#anchor?variable=1234
Rebecca Donley wrote:
Hi all,
Several days ago I asked for help with this problem and you gave me
information on the output control functions, which was much appreciated and
solved some of my problems. However, I can't seem to find
Private variables will be included in Zend 2.0 (99% likely)
From what I've seen private functions will not be included.
Protected (ala Java/C#) variables and functions aren't being considered yet.
-Original Message-
From: Jason Stechschulte [mailto:[EMAIL PROTECTED]]
Sent: 19
Private methods and variables are necessary for any serious language
that supports class libraries, IMHO. There are currently some manual
methods (i.e. naming conventions) of accomplishing this, but for the
best results it should be enforced by the compiler/interpreter.
Some might also say that
thanks for the info! :-)
Neil Kimber [EMAIL PROTECTED] schreef in berichtnieuws
[EMAIL PROTECTED]
Private variables will be included in Zend 2.0 (99% likely)
From what I've seen private functions will not be included.
Protected (ala Java/C#) variables and functions aren't being considered
This is a known bug in both IE and Netscape. You can read more about it
here
http://www.webreference.com/dhtml/diner/seethru/
Sheridan Saint-Michel
Website Administrator
FoxJet, an ITW Company
www.foxjet.com
- Original Message -
From: Coenraad Steenkamp [EMAIL PROTECTED]
To: [EMAIL
Hello!
I have a problem with my php script. I am creating a report in PDF based on
data in the Oracle9i database. To access Oracle I use OCI and to create PDF
files I use ClibPDF 2.02.
The problem is with the ammount of data - there are currently some 2000
records and are expected to be some
On Wednesday 19 September 2001 15:11, Emile Bosch wrote:
Could please tell me how PHP is gonna react against the release of MS
C#? Stupid enough C# looks interresting..
Not at all I'd guess.
C# is MS's reaction to Java, which has been around for quite some years
now. And there's nothing new /
A combonation of IP restriction and basic authentication over SSL, while not
ideal, would probably be better than most alternatives I can think of.
Josh Hoover
KnowledgeStorm, Inc.
[EMAIL PROTECTED]
Searching for a new IT solution for your company? Need to improve your
product marketing?
Visit
I believe there is a beta dotnet extension that allows you to call MS.NET
class libraries directly by Sam Ruby. Check http://lxr.php.net
So its extend and embrace :-)
Regards, John
Emile Bosch [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Could please tell me
Yes it is. See http://php.weblogs.com/odbc
Bye, John
Emile Bosch [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Is it possible to connect with odbc_connect with an connectstring instead
of
an DSN?
Warm regards,
Emile Bosch
--
PHP General Mailing
Hi,
I'm creating a PHP/MySQL photo gallery app and I'm having problem with my
edit page. I want the user to be able to change any of the fields in the
record. In this case there are two text fields, and two file fields where
they can browse to replace the images that are currently in the
Hi!
Where are can read some information (not examples scripts) about chat
technologies?
--
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]
- Original Message -
From: Tim [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 19, 2001 9:35 AM
Subject: Re: [PHP] Protecting variables and functions? Like C#
Private methods and variables are necessary for any serious language
that supports class libraries, IMHO.
So sprach »Christian Reiniger« am 2001-09-19 um 16:58:30 +0200 :
now. And there's nothing new / innovative in C#
Well, it's from M$ which will make quite some people like it, I suppose.
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:
How do I store the phpinfo() data into a variable so I can mail it to
myself?
Thanks
Randy
-Original Message-
From: ZeNDeR-X [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 19, 2001 8:59 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Odp: Returning a specific 'record' from an XML file
There actually isn't much technology in a chat room. It is a fairly simple
program.
Basically you have a webpage which checks Someplace retrieves all
the messages from Someplace and prints them, then provides a place
for the user to enter stuff into Someplace.
Someplace can be any number of
So sprach »Power Programmer« am 2001-09-19 um 12:23:48 -0700 :
How do I store the phpinfo() data into a variable so I can mail it to
myself?
use output buffering
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:
thank you! !! =)
John Lim [EMAIL PROTECTED] schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Yes it is. See http://php.weblogs.com/odbc
Bye, John
Emile Bosch [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Is it possible to connect with
Then how can i set the time for session??
See the php.ini file, for session.gc_maxlifetime setting:
session.gc_maxlifetime= 1440; after this number of seconds, stored
; data will be seen as 'garbage' and
; cleaned
I need some help with parsing text. very simple. I have a text string like
News, Bla, Blabla and i want to get the single words out of the string.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
split() function will do what you require.
$string = News, Bla, Blabla;
$textarray = split(, , $string);
for more info see http://us.php.net/manual/en/function.split.php (the main
php.net site seems to be down)
good luck
a.
- Original Message -
From: Jonas K [EMAIL PROTECTED]
To: [EMAIL
I would suggest keeping one single image field, 'full size', and having the
thumbnails use the same name as the full image, with a prefix (ie, large
image: image1.jpg; thumbnail: tmb_image1.jpg). this way you would give a.
less work to your user and b. avoid unnecessary clutter. and on your
How can I call on openssl scripts written server to be called for in php?
The idea is to generate certs with open ssl and php!
--
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
My friend. I'm not quite sure I understand you correctly. Are you asking
_us_ to do _your_ work for you? Do you want us to give you a complete script
on a silver platter? This is a place where people like to see that you've
done a little bit of preliminary work, and ask specific questions.
Hi,
I have problem with GD lib in PHP. I try compile PHP with Gdlib on OpenBSD
2.9. I download gd-1.8.4, freetype-2.0.4, libpng-1.2.0 and jpeg-6b. With
compile gd i have some problems, but I thought it was OK. But during
compilation php-4.0.6 has happened mistake. This:
/bin/sh
Oh, I'm sorry, I thought you were having users choose from already uploaded
files, not uploading their own. To answer this question, you can either
a. code the image resizing script, creating the thumbnail dynamically and
leaving one field to users, to upload the large image.
or
b. change your
A very good point.
Niklas
-Original Message-
From: Anton Stroganov [mailto:[EMAIL PROTECTED]]
Sent: 19. syyskuuta 2001 21:00
To: Wee Chua
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP Email Handler
My friend. I'm not quite sure I understand you correctly. Are you asking
_us_ to do
i am saving data in the session
lets say every page relates to specific session data, like:
page 1 sets sess_x=1,
page 2 sets sess_x=2
but if i use the history.back or the browsers back-button i can go from page
2 back to page 1 WITHOUT updating the session
so what i finally have is page 2 where
Hello Adrian,
no short and simple solution
select * from policies
while(policies){
select count(*) from topics
if(records) echo link
else echo nolink
}
Wednesday, September 19, 2001, 12:11:05 PM, you wrote:
ADC Hi,
ADC I have two table:
ADC policies:
id == auto increment, primary
i'm trying to get a chunk of code to look 5 times then print
something..then look 5 time more
I really want to loop 5 times (making 5 cells) then print /trtrthen
loop 5 more times for 5 cells...until the count is reachedlike if i
have 22 things i want to have 4 rows of five and one
I've got a complicated little thing going on here.
I have page INDEX.HTM with a 2 column table.
I want the entire page to remain the same, except column 1. In column 1 I
have an include() which contains a javascript scrolling menu where on click
of an option it calls up the selected page.
As it
Okay, from the manual I have
$a $b - Shift the bits of $a $b steps to the left
When I run the code
?php
$num = 0001000;
echo Number is $numBR;
$num = $num 1;
echo Shifted Number is $num;
?
I get the output
Number is 0001000
Shifted Number is 2000
What am I missing?!?
Sheridan Saint-Michel
Liam,
Assuming that you control the content that you are going to be feeding
into your column 1, I would set your page up such that it accepted a
variable passed in as part of the index.php url.
I would then establish separate files on the server for anything that
you would want as a choice of
Okay, from the manual I have
$a $b - Shift the bits of $a $b steps to the left
When I run the code
?php
$num = 0001000;
echo Number is $numBR;
$num = $num 1;
echo Shifted Number is $num;
?
I get the output
Number is 0001000
Shifted Number is 2000
What am I missing?!?
I run a web application that opens a socket using cURL and sends data to a
payment gateway and then receives confirmations, etc... Sometimes, a visitor
clicks multiple times and I have the program check to see if a transaction
is already in process, and if so, it redirects them to a page where
Unfortunately I just started teaching myself PHP like last weekend, and so
far I only have include() and require() down pat. =)
What in the php.net Manual is the concept of default function called? I see
URL's all the time that end in something like index.php?pg=1 and I was
hoping to learn what
Okay, from the manual I have
$a $b - Shift the bits of $a $b steps to the left
When I run the code
?php
$num = 0001000;
echo Number is $numBR;
$num = $num 1;
echo Shifted Number is $num;
?
I get the output
Number is 0001000
Shifted Number is 2000
What am I missing?!?
Use:
On Wed, 19 Sep 2001, Christian Reiniger wrote:
Not at all I'd guess.
C# is MS's reaction to Java, which has been around for quite some years
now. And there's nothing new / innovative in C#
Indeed, its their reaction against the lawsuit which MS lost. So, if they
cannot have Java, they do thei
I'm compiling PHP and have a request from one of my developers for MSSQL
support in mod_php (4.0.6). However, I don't see a configure option for
MSSQL. Is there a *secret* configure option or are the MSSQL functions
built in by default?
+---+
| +-+ Digitally
Hi
i want to print the date in french
i use the function setlocale
(http://www.php.net/manual/en/function.setlocale.php)
and then i use the function strftime
(http://www.php.net/manual/en/function.strftime.php)
but, on my slackware 8 distribution, compiled with php 4.0.6 apache 1.3.20
it doesn't
If you need the data to be secure, you could probably just encrypt it with
mcrypt, if you want to make sure it wasn't forged, you want to have A sign
the data, then have B check it. If I were you, I would look at GNU Privacy
Guard. You can just use some backticks and you're set. If you have
SSL would be useless. It has no facilities for authentication, which is what
we need here. Basically, SSL encrypts communications between two computers-
it doesn't care which two and is therefore vulnerable to man-in-the-middle
attacks.
On Wednesday 19 September 2001 08:22, you wrote:
I already tried that before posting the question.
?php
$num = 8;
$num = decbin($num);
echo Number is $numBR;
$num = $num 1;
echo Shifted Number is $num;
?
Gives me the output:
Number is 1000
Shifted Number is 2000
Sheridan Saint-Michel
Website Administrator
FoxJet, an ITW Company
i want to expire the session if user sits 15 minutes idle without doing
anything.
On each page view, you could write a variable to the session file, so the
last modified time is updated. Then run the session deletion script from:
http://database.sourceforge.net/scripts/session.sh
every
Hi;
I have a question regarding includes and writing
library modules in PHP.
In one of the replies to my previous e-mail,I was told
that PHP parses/compiles pages everytime a new request
comes in. So, does this mean we have to minimize the
amount of code per page (which also means to minimize
?php
$num = 8;
$num = decbin($num);
echo Number is $numBR;
$num = $num 1;
echo Shifted Number is $num;
?
But you are using it wrong. decbin() returns a string with a binary
pattern in it. You can't shift a string. You shift numbers. If you
already know the decimal value of the number
Modulus will come in handy here, here's an example use :
table
tr
?php
$result = mysql_query(SELECT foo FROM bar);
$i = 0;
while ($row = mysql_fetch_array($result,MYSQL_ASSOC)) {
echo \ttd. $row['foo'] ./td\n;
if (($i++ % 5) === 4) {
echo /tr\ntr\n;
1 - 100 of 136 matches
Mail list logo