Where the heck is my problem? No matter what the value for *_color is
always 1!!!
$example_data = array(
array("Mar-99",100,2000,5945.33,1234,10),
array("Feb-99",908,3454,47648.90,4321,50),
array("Jan-99",542,8000,13365.52,6012,60)
);
$high = 47648.90;
if(!isset($num))
{
$num = 1;
}
whi
-Will it be secure?
-What will happen in case browser crashes setting the flag,
I guess , in sessions, sessions will be terminated.
-Bibhas
Sichta Daniel wrote:
>
> Hi,
>
> You can validate user on login page and sets the flag in database table.
> Then on each page you have to check that flag
how should I pass the logged in user to other pages ?
In the database at the same time there might be several user
logged in ?
Thanks,
Bibhas
Sichta Daniel wrote:
>
> Hi,
>
> You can validate user on login page and sets the flag in database table.
> Then on each page you have to check that flag
Why not use sessions, store a $loggedin value in a session or cookie
And check that at the top of each page.. no session = no access
Hope this helps
-
Chris Kay
Techex Communications
Website: www.techex.com.au Email: [EMAIL PROTECTED]
T
my problem is that when I use sessions in the restricted pages
the session_start() seem to reset the form ( when other filled in data
is lost) when go back to the form using
Back in the browser.
So I wanted to avoid session_start
How are the good php sites designed ?
regds,
Bibhas
Chris Kay
At 03:37 26.06.2003, John Wulff said:
[snip]
>I've got an array in the following format:
>Array ( [Jan-1999] => 36.04,140.35,319.53,324.07 [Feb-1999] =>
>1.78,71.78,320.58,141.97 )
>
>I need it in the following format:
>$example_data = array(
>array("Feb-
Hi All,
I found out how to do it already. Thanks for the help.
mysql_error() was the key..
Cheers,
Mun Heng, Ow
H/M Engineering
Western Digital M'sia
DID : 03-7870 5168
-Original Message-
From: Ow Mun Heng
Sent: Wednesday, June 25, 2003 10:03 AM
To: [EMAIL PROTECTED]
Subject:
Sorry I didn't read the first post about not wanting to use sessions,
what about cookies?
What about making a hash of the username and password and place it in
the url
EG: /main.php?u=chris&p=AJKHSA765JAFG443320
Something like that
Check the hash against the database each page
$db = mysql_que
ARGGG bad day for coding & reading
Replace
if ( mysql_num_rows($db) ) {
with
if ( mysql_num_rows($db)==1 ) {
now I am going home before I cause any more damage :)
-
Chris Kay
Techex Communications
Website: www.techex.com.au
Bibhas,
I've seen many references to the phpBB application on this list in the past and had a
look at it in detail some weeks ago. It's a fairly large application but the way they
deal with sessions is instructive.
If I've understood it correctly they don't use the session management features
I've installed PHP from source and MySQL 4.0.9 from rpm on my RH 9 machine.
When I try and connect from php using mysql_connect() I get the
following error:
Warning: mysql_connect(): Can't connect to local MySQL server through
socket '/tmp/mysql.sock' (2)
The server is up and running and I can
One more thing, make sure the application is running on its own server
meaning don't use a shared hosting enviroment that allows others to gain
access to your directories. In this case even placing the file outside of
docroot doesnot secure it in anyway since any other user can access it
with t
First of all, I have nearly no idea as to how to interpret binary data.
But Im attempting to parse binary data for file metadata information
(like mp3 files).
Concerning unpack(), I can across this link from the notes in the manual ->
http://fooassociates.com/phpfer/html/rn45re877.html
This has s
Hello,
Jean-Christian IMbeault <[EMAIL PROTECTED]> wrote:
> I've installed PHP from source and MySQL 4.0.9 from rpm on my RH 9
> machine.
>
> When I try and connect from php using mysql_connect() I get the
> following error:
>
> Warning: mysql_connect(): Can't connect to local MySQL server thr
You never set *_color back to 0 at any point, so the first time through
the loop it gets set to 1 and stays there.
Replace you lines like:
; if($a_percent > $num) { $a_color = 1; }
with:
$a_color = $a_percent > $num;
On Thu, 26 Jun 2003, John Wulff wrote:
; Where the heck is
On Thursday 26 June 2003 15:53, Jean-Christian IMbeault wrote:
> I've installed PHP from source and MySQL 4.0.9 from rpm on my RH 9 machine.
>
> When I try and connect from php using mysql_connect() I get the
> following error:
>
> Warning: mysql_connect(): Can't connect to local MySQL server throu
hi, Nadim Attari£¡
Well it doesn't... I have to send it as a mail to [EMAIL PROTECTED], then it
works... If I click on the thread and try to "Reply to Group", it doesn't work !!!
We always send the mail to [EMAIL PROTECTED], and not using "reply to group"
function,I thi
>>> 1) The site will have to take very high traffic and possibly thousands
of transactions per hour
>>> -> Which is the best free db to use (I am guessing MySQL)
>>> -> Which is the best paid database (Other than MySQL)
transactions ???
Go for one which offers "commit/rollback" ...
===
I started to implement cvs connection protocole with php with a socket
connection. As it is poorly documented can anybody tip me in that task???
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
i am serching for a good program (PHP) that i can use for
a hotel and apartments booking and billing system.
do you know some? thank you very much in advance,
Giulio
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> -Original Message-
> From: Glenn [mailto:[EMAIL PROTECTED]
> Sent: 25 June 2003 14:58
[]
> Here is what's weired.
>
> I use these lines to get the specifics:
> $StartHour = substr("$StartTime", 0, 2);
> $StartMinute = substr("$StartTime", 3, 2);
> $EndHour = substr("$EndTime", 0,
Hi,
from the array i asume that you are trying to make a tree structure like this
Data_Array
{
Mar-99
{
0,
0,
5945,
33,
0
}
}
Second you said that you want to make variables out
I'm not a security expert at all, but...
The short answer to your question is that if you have to ask how to make
your code secure, then chances are, you probably shouldn't be attempting it
at all... but then again, we all have to learn somewhere...
Do a google search, and read thousands of artic
> -Original Message-
> From: Lso . [mailto:[EMAIL PROTECTED]
> Sent: 25 June 2003 18:32
>
> ok i see why i didnt work but i dont know why.
>
> can anyone tell me why this works:
>
>
>
> but this doesn't:
>
> echo "";
Because by default htmlentities will convert double quotes but n
> -Original Message-
> From: Haseeb [mailto:[EMAIL PROTECTED]
> Sent: 26 June 2001 22:56
>
> ps. sprry for beaking thread but i am not subscribed to any
> news server.using outlook exp and don't know how to configure it.
At least configure your system's clock, please -- it's currently 2
> We always send the mail to [EMAIL PROTECTED], and not
using "reply to group" function,I think there's no easy way to do this.If
you really have problems with PHP,sending mail is not the important
thing,the more important thing is to get a good reply!Sorry,it's my own
opinion:)
- Yea for
You might want to consider removing the leading zeroes, this post is there
in the php manual and has been useful to me.
-xxx-
jchen3625 AT yahoo DOT com (25-Aug-2002 03:33)
beware, arguments with leading zeros are treated as zeros.
that is,
"mktime(0,0,0,10,09,
Ooops! Make that:
\n";
echo "local = ", date("Y-m-d H:i:s", $timestamp), "\n";
?>
> -Original Message-
> From: Ford, Mike [LSS]
> Sent: 26 June 2003 10:53
>
> UNIX timestamps are *always* GMT -- it's the routines that
> process them that do timezone (and DST) conversion. To prove
Hi,
I'm working of a PHP-MySQL-planning system for a newspaper. I want to add
dates and number for each issue. I have to following code, where
$current_date is a unix timestamp.
If $current_date is a Saturday or Sunday, I want to quit the current
execution of the loop and contiune with the nex
Anders,
Are you missing a '|' in the if condition?
Michael Egan
-Original Message-
From: anders thoresson [mailto:[EMAIL PROTECTED]
Sent: 26 June 2003 12:01
To: [EMAIL PROTECTED]
Subject: [PHP] need help breaking out of loop.[Scanned]
Hi,
I'm working of a PHP-MySQL-planning system f
Ok, lets see if I can sum this up. I have a number of scripts that my
clients (on a virtual host) can include into their PHP scripts to use my
software. While my scripts need clear access to all functions (exec, eval,
unlink, etc) I would like to stop my clients from having access to some of
the
Are you incrementing number_of_days anywhere within the loop?
It looks like you have an infinite loop running. If you want to be able to
move to the next date, increment you date variable.
-Naintara
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
t]On Behalf Of ander
On Thu, 26 Jun 2003 13:00:45 +0200, you wrote:
> What am I missing?
At first glance
>while ($i <= $number_of_days)
> {
> $issue_date = strftime("%Y-%m-%d", $current_date);
> $issue_month = date("m", $current_date);
> $issue_day = date("d", $current
Hi,
I asked the same question two days ago, but i have not received an answer
that could really help me on my way... So i'll try again, this time with
the help of a little PHP code, and soms explanations
while($myrow = mysql_fetch_row($result)) # as long as there are texts in
the database
{
On Thursday 26 June 2003 19:25, Dore van Hoorn wrote:
[snip]
> # i would like a function that pushes this word into a second array.
> # before pushing, it has to check whether or not the same word is already
> in the array.
> # if it is: do not push word into array, but add "1" to the number of
>
There may be faster ways, for instance using the regular expression
function that returns an array of hits, and make the regexp look for
'words' in it with the \b option.
But i will stick to your example code.
My suggestions are not tested.
while($myrow = mysql_fetch_row($result)) # as long as t
Hi,
I have an account on shared server and am trying to
write a logfile (a dump of an email which i use mail()
to send) to a logfile in my home dir. This logfile
will grow with all emails send by my app and will thus
give me an archive of sorts.
However, because php is executed through apache as
if (!isset($words[$word]
$words[$word]=0;
else
$words[$word]++;
}
change the 0 to 1 of course. Anyway the function Jason suggested is
probably faster.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
This is a reply to an e-mail that you wrote on Thu, 26 Jun 2003 at 12:26,
lines prefixed by '>' were originally written by you.
> # i would like a similar function that removes interpuntuation like
> "." etc.
> # all i want remaining in the array are the separate words, all in
> lower
> ca
Hello,
This is a reply to an e-mail that you wrote on Thu, 26 Jun 2003 at 12:36,
lines prefixed by '>' were originally written by you.
> foreach($words as $thisword){
> if(in_array($thisword, $array)){
> $array[$thisword]++;
> } else {
> $array[$thisword]=1;
> }
Just
On Thursday 26 June 2003 18:46, Naintara Jain wrote:
> You might want to consider removing the leading zeroes, this post is there
> in the php manual and has been useful to me.
>
> -xxx-
> jchen3625 AT yahoo DOT com (25-Aug-2002 03:33)
>
> beware, arguments with
hi dore,
Dore Van Hoorn wrote:
> # i would like a similar function that removes interpuntuation like
> "." etc. # all i want remaining in the array are the separate words,
> all in lower
> case
maybe you can replace your unwanted chars with preg_replace()
i.e.: $textStripped = preg_replace("/[.:;
Very simple, there's a function designed just for this.
check out the manual for array_count_values()
array_count_values() returns an array using the values of the input array as
keys and their frequency in input as values.
EXAMPLE:
$array = array (1, "hello", 1, "world", "hello");
print_r(array_
On Thu, 26 Jun 2003 13:25:39 +0200, you wrote:
># i would like a similar function that removes interpuntuation like "." etc.
># all i want remaining in the array are the separate words, all in lower
>case
How do you define a word? Is a hyphen part of a word? Do you want to strip
out numbers? Make
Upload empty file with ftp and change its permission (chmod o+w log.file).
frank reeves wrote:
Hi,
I have an account on shared server and am trying to
write a logfile (a dump of an email which i use mail()
to send) to a logfile in my home dir. This logfile
will grow with all emails send by my ap
Hello,
[EMAIL PROTECTED] (Dennis browne) wrote:
> I want to display Japanese text on my site and am having many problems.
>
> I am using Linux Redhat 8, PHP 4.2.
>
> Basically what I have is a file page.php with the following code:
>
> page.php:
>
>
>
>
>
> Home:
> include("lng_page_ja.ph
From: "frank reeves" <[EMAIL PROTECTED]>
> I have an account on shared server and am trying to
> write a logfile (a dump of an email which i use mail()
> to send) to a logfile in my home dir. This logfile
> will grow with all emails send by my app and will thus
> give me an archive of sorts.
>
> H
The following line of code doesn't work for me:
$previous_issue_unixdate = mktime(0, 0, 0, $previous_issue_month,
$previous_issue_day, $previous_issue_year, 0);
$previous_issue_month is set to 06, _issue_day is 30 and _issue_year to
2003. Still $previous_issue_unixdate is emtpy.
--
anders thor
Hi,
I want to begin to use some of bug tracking systems. I think it can help me
with developing more robust applications and make an easier communication
with my clients. I have tried to use Bugzilla, but It was a little bit
complicated system.
Please help me to choose some
Regards
Martin
Another option might be to create a directory in your web space to hold
your file and open up just that directory as 777.
Steve
At 08:17 AM 6/26/2003 -0400, you wrote:
From: "frank reeves" <[EMAIL PROTECTED]>
> I have an account on shared server and am trying to
> write a logfile (a dump of an e
[snip]
Please help me to choose some
[/snip]
Google for bug tracking system
http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=bug+tracking+syst
em
HTH
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> PiBIb3cgY2FuIEkgZ2V0IHRoZSBtb250aCBuYW1lIGZyb20gYSBkYXRlPyBJZiB5b3UgY291bGQg
> cG9zdCB3aXRoIGFuIGV4YW1wbGUNCj4gaSdsbCBiZSBncmF0ZWZ1bGwNCg0KVHdvIGxpbmtzIHRv
> IGhlbHAgeW91Li4uDQpodHRwOi8vd3d3LnBocC5uZXQvbWFudWFsL2VuL2Z1bmN0aW9uLmdldGRh
> d
What has always worked for me was to make sure MySQL is running, and if so
then go delete the mysql.sock file and restart MySQL, not sure why but the
first couple of times I have seen that error, usually goes away after one or
two restarts.
From: Jean-Christian IMbeault <[EMAIL PROTECTED]>
To:
Hello Justin or Anybody else
> Store an MD5 of the password, that way you're comparing the two hashes,
not
> two passwords... even if someone stumbles into your database, they'll
only
> see the MD5'd password. A further step would be encryption, on which
you
> will have to do a LOT of reading.
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
> I have the following code:
>
>
> $sql = "UPDATE class_sub SET desc = '$catdesc', sub_cat = '$subcatname'
> WHERE id='$catid'";
> echo $sql;
> $sql_result = mysql_query($sql);
> if (!$sql_result)
> {
> echo "Couldn't update
The one we use is oneorzero helpdesk which is a project at sourceforge.net
Andreas Cahen wrote:
Hello List :)
Is there any usefull ticketing system (Hotline/Support/etc.) written in
PHP?
I have found some on hotscripts.com, but I don't know which one is
really got or not..
Any suggestions?
Che
As a suggestion can you simply redisplay your form on the error page and
such avoid having to use the back button? This would also allow you to
actually display the error at the place the error occurs.
Another thing you might want to try is using a cache header that allows
the browser to cache t
Hi,
> Why rely on some access restriction when you don't have to? You
> include code
> using a filesystem path. There is no need for it to reside under
> document root.
> Yes, you can make it so that certain things are not served
> directly by the Web
> server, but why take the extra risk? You gai
Hi,
> The only reason that I was so adamant about it was I had a 'heated'
> discussion with a business associate who's server was compromised - and he
> was, lets say, insistant that the fact that there were database
> passwords in
> a php file inside the webroot was the reason it was insecure. I
Hm, good answer ;)
Can you recommend one of them? Do you have experience with some of these
systems?
I don't want to try them all
Martin
"Jay Blanchard" <[EMAIL PROTECTED]> píse v diskusním
príspevku news:[EMAIL PROTECTED]
[snip]
Please help me to choose some
[/snip]
Google for bug trac
On Thu, 26 Jun 2003 06:10:48 -0500, Daryl Meese wrote:
>A quick thought -- It would be nice if we had a "authorization code" in the
What about "Safe Mode"? It looks like it can be configured
> http://us3.php.net/manual/en/features.safe-mode.php#ini.safe-mode
Between safe_mode_include_dir and
[snip]
Hm, good answer ;)
Can you recommend one of them? Do you have experience with some of these
systems?
I don't want to try them all
[snip]
Please help me to choose some
[/snip]
Google for bug tracking system
http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=bug+tracking+syst
em
can try gnatsweb. It is very widely used, and less complicated/featured
than bugzilla,
Bibhas
Martin Balcar wrote:
>
> Hi,
> I want to begin to use some of bug tracking systems. I think it can help me
> with developing more robust applications and make an easier communication
> with my clients.
I am building a Windows 2000/PHP production server. I have only ever used
LINUX for production and windows for developer machines.
Is it better to install PHP using the PHP installer or using the Zip file
version?
Should you install PHP as CGI or ISAPI?
I am looking for the pros and cons, someone
> The following line of code doesn't work for me:
> $previous_issue_unixdate = mktime(0, 0, 0, $previous_issue_month,
> $previous_issue_day, $previous_issue_year, 0);
> $previous_issue_month is set to 06, _issue_day is 30 and _issue_year to
> 2003. Still $previous_issue_unixdate is emtpy.
> ande
My fault...
I would run it on Apache, mySQL using PHP technology
And the system should be simple.
I admire Bugzilla project, but it seems to be very complicated ;(
Martin
"Jay Blanchard" <[EMAIL PROTECTED]> píse v diskusním
príspevku news:[EMAIL PROTECTED]
[snip]
Hm, good answer ;)
Can you
> Is it better to install PHP using the PHP installer or using the Zip file
> version?
Go for the PHP Installer. It's straight forward to install...
Do download the Zip file also, in case u need any extensions (DLL)
Nadim Attari
http://www.alienworkers.com
--
PHP General Mailing List (http://
In additon to the previous comment about resetting $*_color, you're
multiplying the decimal value by 100 to get a percentage. But then
you're comparing it to 1, not 100.
EWither don't multiply it by 100, or check to see if it's > 100. Or
do you really want $*_color to be set if it's greater than
Hello,
I performed some tests using the backticks operator
and the system() call.
This is my.php :
uh
I am
";
$k = sprintf( `dir $fldr` );
$k = str_replace ("<", "<", $k );
$k = str_replace (">", ">", $k );
$k = str_replace ("\n", "", $k );
echo "\$k = $k";
?>
this is
I want to give the visitor a possibility to create plenty of new user
accounts by letting the him paste the userinfo from a tab-, comma- or
semicolonseparated file to a textarea (form.php). Then some checking needs
to be done (check_users.php) before the final result is written to the db
(add_users
|Hello Justin or Anybody else
|
|> Store an MD5 of the password, that way you're comparing the two hashes,
|not
|> two passwords... even if someone stumbles into your database, they'll
|only
|> see the MD5'd password. A further step would be encryption, on which
|you
|> will have to do a LOT of re
On Thursday 26 June 2003 16:22, Jeff Harris wrote:
> http://www.php.net/md5
>
> Set the column type of password to be a char(32). Then, pass the password
> through md5 to mysql to store it. To verify it, pass the password through
> md5 then compare it to what's in the database.
Or, to avoid proble
$handle = popen("cvs --help", "r");
while(!feof($handle)) {
echo fgets($handle, 3);
}
pclose($handle);
i get a valid handle but no output ! popen failed only with cvs command
(cvs.exe), if anybody could help me :-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
what webserver are you using? If it's IIS, then use the installer... If
it's Apache, teh installer doesn;t work, you have to do it manualy.
- Anthony
"Mark McCulligh" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I am building a Windows 2000/PHP production server. I have only eve
you could use a $_SESSION variable instead of file
> $filename = "addusers.txt";
> if (isset($users)) {
> $temp = $_POST['users'];
> $handle = fopen("$filename", "w+");
> fwrite($handle, $temp);
>
> $users = file("$filename");
> if (ereg("\t", $users[0]) == true) $separator = "\t"; // om texten är
What I tend to do is to download the installer and run it as this sets
up all the configuration (eg IIS)
I then download the zip file (Which contains a load of extra files eg
PEAR) and copy the whole unzipped directory to overwite the c:\php dir
contents created by the installer.
This might b
At 17:36 26-6-03, you wrote:
you could use a $_SESSION variable instead of file
or when the data come in, you can put them into an array and pass on the
array through a hidden form field. before putting it in the hidden field
serialize the array
and in the receiving page unserialize it.
http://n
Hello,
I'm having a really strange output problem that I can't figure out.
The problem is that a few characters appear prepended and appended to
the body of the server response. I'm running PHP 4.3.0 and 4.3.2 on
Mac OS X (tibook and xserve) and Red Hat 7.1 with 4.3.2 as well, with
Apache 1.
The three might be the "Content-length" header, not sure
though, thats just a guess since your outputting 3 characters.
On Thu, 2003-06-26 at 11:44, John Luxford wrote:
> Hello,
>
> I'm having a really strange output problem that I can't figure out.
> The problem is that a few characters appe
This problem can comes from your php.ini, at the section :
; Automatically add files before or after any PHP document.
auto_prepend_file =
auto_append_file =
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
depend on which web server :
for apache : use php as a module
for IIS (very bad id) : use php as a ISAPI
In either case don't use php as a CGI, this won't allow persistant
connection (very usefull for mysql)
Hope that helped !
k
--
PHP General Mailing List (http://www.php.net/)
To unsubs
>From my understanding you can get PHP with CGI to do persistant connection
if you install fastcgi.
Link about PHP and FastCGI:
http://php.weblogs.com/fastcgi_with_php_and_iis
Mark.
"Php Dot Net" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> depend on which web server :
>
> for
> -Original Message-
> From: Mark [mailto:[EMAIL PROTECTED]
> Sent: 26 June 2003 15:16
> To: John Wulff; [EMAIL PROTECTED]
> Subject: Re: [PHP] Impossible bug!
>
>
> In additon to the previous comment about resetting $*_color, you're
> multiplying the decimal value by 100 to get a percent
I downloaded PHP 5-dev from snaps last night but it is giving me an error
when I try to install it. The error is: The dynamic link library libxml2.dll
could not be found in the specified path.
I have been downloading and installing PHP 5 from snaps for some time and
haven't had any problem instal
Hi folks
First, thanks to Jim for the greeat tree-menu, we are just editing it.
Ok, we are doing the tutorial for the Intranet of our University. There is
just a lot of information and we want to give the user all the ways to find
the information he's looking for. Hence, we need a great search en
> -Original Message-
> From: John Luxford [mailto:[EMAIL PROTECTED]
> Sent: 26 June 2003 16:44
>
> I'm having a really strange output problem that I can't figure out.
> The problem is that a few characters appear prepended and appended to
> the body of the server response. I'm running
[snip]
First, thanks to Jim for the greeat tree-menu, we are just editing it.
Ok, we are doing the tutorial for the Intranet of our University. There
is
just a lot of information and we want to give the user all the ways to
find
the information he's looking for. Hence, we need a great search engine
The Gallery I recommended can be edited so the thumbnails don't display and
you can make the links appear instead. Shouldn't be tough, the info is
already there. Just replace the tag with the text.
before:
after:
http://www.domain/images/cars/bmw/pic1.gif
J
-Original Message-
From: ch
Try cleaning it up ...
switch( trim( strtoupper( $type ) ) );
I had this happen to me - the $type echoed OK, but would not get caught in
the "case". The above fixed it.
Miles Thompson
At 02:18 PM 6/18/2003 +0100, cg wrote:
I am testing a var in a switch statement,
switch($type)
{
cas
What Sybase are you using Sybase ASE (Adaptive Server Enterprise) or Sybase
Anywhere.
Is your PHP server on Windows or Linux.
What you will need is the Sybase client first off. PHP links to the sql.ini
files (in windows).
Then you will need to edit your php.ini and uncomment the Sybase extension
Hi Mike,
Thanks for the info. The problem is that I'm trying to output an M3U
file to stream a series of MP3s, and some players won't properly parse
the output due to the first line containing that chunk info. Is there
a way to turn it on and off that you know of?
Thanks again,
Lux
On Thur
On Jun 26, 2003, "David Elìas Sánchez Vásquez" claimed that:
|
|Hi folks
|
|First, thanks to Jim for the greeat tree-menu, we are just editing it.
|Ok, we are doing the tutorial for the Intranet of our University. There is
|just a lot of information and we want to give the user all the ways to fin
Do you have Sybase ASE on windows or Sybase Anywhere. I didn't know that
Sybase make a windows version of ASE.
We use Sybase ASE on HP UNIX here at work and I have PHP on both Windows
2000 and Sun linked to it.
Mark.
- Original Message -
From: "Michael A Smith" <[EMAIL PROTECTED]>
To: "M
> if(isset($_POST['users'])
> {
> $_SESSION['temp_users'] = $_POST['users'];
> }
> if (ereg("\t", $_SESSION['temp_users'][0]) == true) $separator = "\t";
> ...etc
>
> hope it helps
> Pete
>
Will take a look at function.serialize too. Thank you guys
--
PHP General Mailing List (http://www.ph
I have a string something like ->
<[TIT2]> ABC <[TPE1]> GHI <[TALB]> XYZ
Im applying a regex as such ->
// Title/Songname/Content
preg_match('/<\[TIT2\]>(.*?)(<\[)?/', $foo, $match);
$title = trim( $match[1] );
The above regex doesn't work. At the end of the pattern Im using (<\[)?
The pattern may
On Thu, 26 Jun 2003 10:40:46 +1000, you wrote:
>Is the pdf module being loaded on the linux machine?
>What is the error message (if any) that's displayed at the "create handle"
>bit ?
>
>Martin
It just stops dead. The body color is still there on the screen but
there is no more output to the sc
Hi!
Noticed something interesting. I was helping to debug someone's
programming problem and found that if there is to many 'else if' in the if
and else statement then it doesn't work. Have anyone encoutered this
problem and know of a workaround to it?
Thanks,
Scott
--
PHP General Mailin
Hi,
>Noticed something interesting. I was helping to debug someone's
> programming problem and found that if there is to many 'else if' in the if
> and else statement then it doesn't work. Have anyone encoutered this
> problem and know of a workaround to it?
That sounds kinda bizzar
[snip]
Noticed something interesting. I was helping to debug someone's
programming problem and found that if there is to many 'else if' in the
if
and else statement then it doesn't work. Have anyone encoutered this
problem and know of a workaround to it?
[/snip]
I'd have to see the code
Jay
--
You need to copy dlls\*.dll to winnt\system32 too.
Edin
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 26, 2003 6:26 PM
Subject: [PHP] PHP 5 won't install
> I downloaded PHP 5-dev from snaps last night but it is giving me an error
> when I tr
1 - 100 of 144 matches
Mail list logo