on the net.
Bas
I know of no better place to ask. This may not be strictly a PHP issue,
but...
I am busting my hump trying to format rather large input pages with CSS
and trying to avoid tables; but it looks to me like I am wasting my time
as positioning with CSS seems an impossibly tortuous exer
using the prefix like /home/user/temp/php, and later moving to another
location, work correctly? If not, what problems can I expect?
-- Bas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I want to use a ?: statement. If not true de default function argument have to
be used. How to do this
What do i have to pass instead of null to get default print?
Tnx,
Bas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Just change your code to:
$result = mysql_query("SELECT * FROM $tablename WHERE id= $id")or
die("ther was an error
tablename:= $tablename
row id:= $id");
if ($myrow = mysql_fetch_array($result)) {
echo "\n";
do {
printf("
Artist
Title
Picture
"Paul Ferrie" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello again guys
>
>This week i have been on here and made a few posts regarding a small
> admin site app
> http://thor.ancilenetworks.co.uk/~pferrie/vinrev/adm/myadmin.html
>
> Most of it is now working thank god, bu
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Bas wrote:
>
> > How do i execute a program and leave it running and while it is running
the
> > php-script is still continued and outputs HTML when the other program is
> > still
How do i execute a program and leave it running and while it is running the
php-script is still continued and outputs HTML when the other program is
still running.
I need that is works on windows.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.p
Possibillity to create articles(with using a password)
Ability for every user to reply to articles
Module based(PHP File Links included)
And a install script.
"Ryan A" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Whats it about?
> Can you give me a list of features?
>
> Cheers,
>
It's avaiable on:
http://members.home.nl/famde.jong/portalBT-0.0.1.zip
If you have any comments, post a reply.
If you find it is very easy, it is. That is why it is version 0.0.1
Okay, it is not that good, but please try it... There is even an install
script in it!!
--
PHP General Mailing Lis
['value'] . ""
}
}
// echo "";
if (empty($templatefile)) {
echo tpl2html($title, $images, $completetext);
} else {
echo tpl2html($title, $images, $completetext, $templatefile);
}
?>
---
simple.tpl
---
<%title%>
<%title%>
<%text%>
Images:
<%images%>
---
And test.btm
---
Welcome to BTML page v1!
Welcome to my BTML page!!! This is an experimentally version of HTML!!!
Bye!!!
Bye
---
Hope that you like it and please tell me wat you think of it,
Bas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
OKAY, I WANT TO REPLACE IN THE TABLENAME THE TEXT BAS_ WITH DUMMY_
SUCH LIKE THAT "CREATE TABLE BAS_DATA" BECOMES "CREATE TABLE DUMMY_DATA"
I AM NOT THAT DUMB... I JUST WANT TO REPLACE 1 TABLE PREFIX BY ANOTHER!!!
"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
[snip
TABLE hugo_table (
)";
And do the same for INSERT INTO... How do i do this?
[/snip]
Top of the morning to you Bas!
I have a couple of questions for you.
1. Have you read any of the manual?
2. Are you subscribed to the MySQL list?
All queries are run in the same way. If you have permiss
I want to replace something like this:
$sql = "CREATE TABLE bas_table (
)";
With this:
"CREATE TABLE hugo_table (
)";
And do the same for INSERT INTO... How do i do this?
Regards,
Bas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
Now sorry... I already know to use fopen... I want a script that parses all
lines from a file... Just like a loop that with every time it is executed,
it echos a line from the file... (this is just a example... else i was using
file_get_contents and nl2br...)
"Jay Blanchard" <[EMAIL PROTECTED]> wro
How can i read all files line by line? I am running windows. I know that
there is then a \r\n but i don't know how to extract them... Can you help
me?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Any help appreciated.
Regards,
Bas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
A textarea.
"Daniel Guerrier" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> When you make a file using data from what source?
> --- Bas <[EMAIL PROTECTED]> wrote:
> > Any help appreciated.
> >
> > Regards,
> >
> > Bas
&g
Any help appreciated.
Regards,
Bas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
name is no longer available". Check out this resource, if that does not
> help, google for the error string.
>
> http://www.experts-exchange.com/Web/Web_Servers/Apache/Q_20671124.html
>
> Bas wrote:
>
> > I have checked the error log and the only real error i can see is that
&g
I have checked the error log and the only real error i can see is that
C:\pub\favicon.ino does not exist... I have added this and now i need that
you test again... Thanks, Bas
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Sometimes the pages l
And, e-mail me the results(on [EMAIL PROTECTED])
Of the website... Likethe error and so
"Bas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On web, i mean from my pc and on pc i use both
> "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in mess
Web address is:
http://212.120.120.108:3/forumBT/
for phpBB
(DUTCH!!!)
If you need any translation, i will help you.
"Bas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On web, i mean from my pc and on pc i use both
> "Marek Kilimajer" <
both)?
>
> From the web - do you mean you view the pages from the web or that the
> pages are served from another server on the web?
>
> Bas wrote:
>
> > Internally is on my pc and externally is from the web.
> > "Marek Kilimajer" <[EMAIL PROTECTED]> w
Is it free?
"John Black" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Greetings everyone,
> We have just launched a new product called codeSECURE and would like you
to
> check it out.
>
> codeSECURE is a PHP obfuscator.
>
> Basically codeSecure is a small collection of scripts to "
Internally is on my pc and externally is from the web.
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi, first you should explain the meanings of "internaly" and "externaly"
> in this case.
>
> Bas wrote:
>
I am running Windows XP, Apache/2.0.44 and php 4.3.3.
I seem that internally all my PHP scripts work. But, externally, phpBB 2.0.6
does not work...
Sorry for the double message...
And my e-mail has changed... don't spam!!!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
And also... the interjinn website wont open...
"Robert Cummings" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Fri, 2003-10-17 at 13:39, Bas wrote:
> > Do you mean non-commercial? i plan to use it at home to test some
websites
> > and showing them
ot;Those who say it cannot be done
> should not interfere with the person doing it."
>
> wishy washy | www.amazon.com/o/registry/EGDXEBBWTYUU
>
>
> - Original Message -
> From: "Bas" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Fri
Do you mean non-commercial? i plan to use it at home to test some websites
and showing them to my friends
"Robert Cummings" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Fri, 2003-10-17 at 13:31, Bas wrote:
> >
> > I want to try that InterJinn o
ng my post
> would have sufficed, but you appear to be making a statement :/
>
> Cheers,
> Rob.
>
> On Fri, 2003-10-17 at 13:04, Bas wrote:
> > Yes sorry, but i don't use such things like your interjin...
> > "Robert Cummings" <[EMAIL PROTECTED]>
Okay, here is what i want:
* Login system
* No mysql
* Sessions
* Easy adjustable register page(copy generic files to dir of user)
"Eugene Lee" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Fri, Oct 17, 2003 at 07:04:27PM +0200, Bas wrote:
> : &qu
Okay, what are the very very basic functions to make a session?
"Eugene Lee" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Fri, Oct 17, 2003 at 07:04:27PM +0200, Bas wrote:
> : "Robert Cummings" <[EMAIL PROTECTED]> wrote:
> :
Yes sorry, but i don't use such things like your interjin...
"Robert Cummings" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Fri, 2003-10-17 at 12:57, Bas wrote:
> > I want a login system with sessions and without mysql.
> >
> > I have
I want a login system with sessions and without mysql.
I have tried to make one but that one is without sessions(i don't know
anything about sessions) and with mysql...
Regards,
Bas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
#x27;) {
$newcontent = $_POST['file'];
echo "$filename";
$file = fopen("../".$filename, "w+");
$result = fwrite($file, $newcontent);
echo "Resultaat".$result;
echo "Open";
fclose($file);
}
echo "Copyright Bas&quo
How can i print out all of the files in a directory?
I want some output as this:
index.php
login.php
image1.gif
image2.jpg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
That tags? It should not be used anyway...
"Comex" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> <[EMAIL PROTECTED]>
> Comex:
> > <[EMAIL PROTECTED]>
> > Bas:
> >> Yes, thanx. I always wanted to make a version where you can us
Yes, thanx. I always wanted to make a version where you can use multiple
tags of one type. And, what do you find of it? Please rate it 1 to 10
"Comex" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> function parseTags($file) {
> /* readfile... here */
> $filedata = file_get_conte
for spelling errors)
"Bas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> It is freely avialable!!!
>
> Here is the sourcecode:
>
> 2 files are used to parse:
>
> read-tags.php
> ---
> // Tag Parser v1.11
> // v1.0 First release(not wo
of HTML!!!
Bye!!!
noimage.gif
---
Run it with: btml.php?name=filename.btm
Example: btml.php?name=test.btm
For improvements e-mail me(also if you are planning on inprovements) or
reply if you have a inprovement ready.
Regards,
Bas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yes! It works!!! This is also an good beginner-HTML.
If you have improvements then i like it from you to post them in an reply or
email me.
Regards,
Bas
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> * Thus wrote Bas ([EMAIL PROTECTED]):
>
This error is not so stupid as a deleted closing ".
Okay, for all of you who missed my code here is it again:
read-tags.php
---
\s*([^<]*)\s*!is";
preg_match_all($tag_match, $filedata, $matches);
for ($i=0; $i< count($matches[0]); $i++) {
$tagname = $matches[1][$i];
$tags[$tagname] =
Now I get the output:
(in html, if you get a mail, you get the real output.)
Welcome!
Welcome!
Notice: Undefined index: text in C:\pub\include\btml.php on
line 13
"Pavel Jartsev" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Bas wrote:
> &g
I am trying to make an BTML-parser.
(BTML-Some Markup Language invented by Me)
I have 3 files:
read-tags.php:
---
\s*([^<]*)\s*!is";
preg_match_all($tag_match, $filedata, $matches);
for ($i=0; $i< count($matches[0]); $i++) {
$tagname = $matches[1][$i];
$tags[$tagname] = $matches[2][$
This works!!! I am a newbie to PHP and i8 knop really nothing about Regular
Expressions!!! Thanks!!!
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> * Thus wrote Bas ([EMAIL PROTECTED]):
> >
> > ---
> > And with this, it needs the
placeFunc(match)
> {
> // match[0] --- the whole tag from to
> // match[1] --- the contents of the tag
> //I am my self !!! in the example
>
>
> return WHATEVER_YOU_WANT_TO_REPLACE_THE_TAG;
> }
>
> I didnt make sure this script will w
I have found that this script doesn't work:
read_tag.php
---
";
$tagdata = stristr($filedata, $tagrealname);
$posofend = strpos($tagdata, "");
$length = strlen($tagdata);
$lengthoftag = strlen($tagrealname);
$lengthofend = strlen("");
$lengthofstr = $length - $posofend - $lengthoftag;
$returndat
$data = @gzinflate(stripslahes($data));
Op maandag 16 juni 2003 18:03, schreef u:
> Hi,
>
> I am trying to insert compressed data into a database.
>
> Inserting it in seems to work file:
>
> $data = addslashes(gzdeflate($data, 9));
>
>
> For the most part it works on reteiving the data but somet
testtable.php:
--
open();
$TABLE->close();
$TABLE->open();
$TABLE->open();
?>
--
Op maandag 16 juni 2003 15:10, schreef u:
> Bas,
>
> The __LINE__ constant will return the line number of the script from which
> the call is made. This should be enough to isolate any error.
Hi,
Running the code below, shows an errror in line 2 as expected.
How do i get the linenumber of the function call? 3 here.
Best regards,
Bas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$letter='';
$while($row=mysql_fetch_array($result))
{
if($letter!=$row[name][0])
{
echo $row[name][0].'';
$letter=$row[name][0];
}
echo $row[name].'';
}
Op maandag 09 juni 2003 12:41, schreef u:
> I am dispalying data from mysql database using the codes below:
>
> $while($row=mysql_fetch_array($
function secondstohours($seconds)
{
/* [EMAIL PROTECTED] */
$sec=$seconds%3600;
return (($seconds-$sec)/3600).':'.($sec/60).':'.($sec%60);
}
echo secondstohours(7500);
Op dinsdag 03 juni 2003 14:38, schreef u:
> Hello everybody,
> I have a value 178607, which is stored as
getting the
same.
Someone who had the same problems and/or can help me?
Thanks in advance.
Bas Verhoeven
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Example
>
> 1.000,00
> 1000.00
> 1,000.00
>
> I would like to convert those to a single format
> 1000.00
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
not tested
> Basically, have the form action call itself hince the recursion.
> Any suggestion/examples?
method="POST">
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi I'm building an parser for my own project called vibrant.
i need a file to be parsed, but I can't seem to get the right expression
please please help;
$src = "
1
2
3
";
preg_match_all( "/(<(vibrant+)[^>]*>)(.*)(<\/vibrant>)/i", $src,
$matches );
print_r($matches);
what i nee
> What I was looking for was finding out what was the index of thet
> value, lets say I have a array with some values like (23, 56, 45, 47)
> and i don't know where the walue I'm looking for is indexed in the array
> and I want to find out what the indexnumber is, how would that be
> possable
$v
> Hi I'm runing a PHP Version 4.0.4pl1 on Solaris 8 X86 on apache, and I'm
> trying to search an array
>From the manual: array_search (PHP 4 >= 4.0.5)
send earlier to this list:
Re: [PHP] Array - Match
From: Bas Jobsen <[EMAIL PROTECTED]>
To: "N. Pa
, efgh <[EMAIL PROTECTED]>";
$tos=split_addresses($to);
echo $tos[1];
?>
echos efgh <[EMAIL PROTECTED]> ?? Whats the problem? Maybe you output to a browser
and don't see <[EMAIL PROTECTED]> cause its between <>
Op zondag 08 september 2002 10:17, schreef N. Pari Purna Chand:
> I have a string
= 4.0.5 && < 4.2.0
if(is_null(($b=array_search($sub,$subs echo 'not found!';
else echo 'found! In $sub['.$b.']';
//or for PHP 4 >= 4.2.0
if(($b=array_search($sub,$subs))) echo 'found! In $sub['.$b.']';
else echo 'not found!';
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubs
$string3 = str_replace($string1,'',$string2); ???
Op woensdag 04 september 2002 17:04, schreef Richard Fox:
> Hi
>
> Given
>
> string1 = /home/web/
> string2 = /home/web/www/index.php
>
> How can I elegantly do an exclusive or of string1 with string2, that is, I
> want to end up with
>
> strin
> Any insight appreciated. In a best case if someone can add in the required
> '&'s to the following code that would be great.
' ;
error_reporting ( E_ALL ) ;
class Foo {
var $bars = array() ;
function AddBar($id,$text)
Op dinsdag 03 september 2002 13:01, schreef Javier Montserat:
> really simple one -
>
> does someone have a bit of code that will variously display 'good morning',
> 'good afternoon', 'good evening' based on the current time?
>
> good morning from london,
>
> Javier
>
>
>
>
Hello,
What's your php version?
Take at look at:
http://www.php.net/manual/en/function.wordwrap.php
and
http://www.php.net/manual/en/function.strip-tags.php
b.e.
$str='http://www2.snm-hgkz.ch/~rieger/notepool/addnote.php';
echo wordwrap(strip_tags($str),8,'',1);
i you can't use wordwrap(), try:
Op dinsdag 03 september 2002 10:46, schreef u:
> hi there i was wondering if there was a way to limit the ammount of items
> in a loop to execute sleep then execute the rest of the items to prevent
> server load ?
for($i=0;...)
{
if($i>0&&$i%100==0)sleep(10);
}
--
PHP General Mailing List
> PHP page, nothing fancy. .In SSI, I just use the "#exec cgi=" line--is
$test = `path_to_your_cgi 2>&1`;
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$lista=array(1,2,3,4,5,6,7,8,9);
$listb=array(4,6,8);
$listc=array_intersect($lista,$listb);
$listd=array_diff($lista,$listb);
Op maandag 26 augustus 2002 01:48, schreef Rasmus Lerdorf:
> array_intersect() will give you listC directly. Just feed it list A and
> B. Then you can take a copy of l
> $sql = "select count(*) from table_name WHERE .";
> $result = mysql_query($sql) or die(mysql_error);
> $row = mysql_fetch_row($result);
> $rowCount=$row[0];
or
$sql = "select count(*) from table_name WHERE .";
$result = mysql_query($sql) or die(mysql_error);
$rowCount=mysql_result($resu
> If the variable provnum contains text such as: hello & there
urlencode($provnum);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
eregi_replace(']+>','',$string);
Op donderdag 22 augustus 2002 14:42, schreef Roman Duriancik:
> How to create pattern for function eregi_replace to
> replace in html document every html tag for empty string.
>
> Thanks
>
>
> roman
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
Do:
FILE A:
Op woensdag 21 augustus 2002 16:39, schreef Henry:
> Hi All,
>
> I would like to exit from an include file and continue in the calling
> script!
>
> As an example
>
> FILE A:
>
> if (empty($_POST['search_criteria'))
> {
> echo "You must provide search criteria";
>
> // exit
$test=array('a'=>1,'b'=>2,'c'=>3);
foreach ($test as $key=>$value)
{
if ($value==2) unset($test[$key]);
}
or
$test=array('a'=>1,'b'=>2,'c'=>3);
$i=0;
foreach ($test as $key=>$value)
{
if ($value==2) array_splice($test,$i,1);
$i++;
}
Op woensdag 21 augustus 2002 12:17, schr
echo `PATH_TO_PERLSCRIPT.CGI 2>&1`;
Op dinsdag 20 augustus 2002 09:47, schreef Peter Janett:
> I'm converting over some .shtml files that call an external Perl script
> with the following format:
>
>
> I'm not sure what php function to use, as I'm returning the results of a
> Perl script, not re
preg_match("/.*]+>(.*).*/",
$contents,$story);
echo $story[1];
preg_match always return a array. The first element ($array[0])contains your
complete regexp. The next ($array[1])one the first match between () etc.
Don't use ! but /
Op zondag 18 augustus 2002 01:27, schreef Jason Soza:
> I se
if (ereg("((\.)(php|inc))$",$o0o) && !ereg("\/\.\.", $o0o)){
Op zaterdag 17 augustus 2002 23:53, schreef eriol:
> I checked the manual and it's comments as well as google, but didn't find
> the simple answer i'm wanting..
>
> I have the following line in a "show php source code" page:
>
>
> i
> Can anybody tell me why I get a "Parse error: parse error,
> unexpected '}' in /usr/local/apache/htdocs/logbook/Functions.inc on line
begin and end your include files with
bllaalla
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
In your database design you need the following
every username/pass comb is unique.
so a query like ... WHERE username='$testvalue' AND password='$testvalue2'
Have to give you one row for a good user/passcombination ALWAYS. And 0 rows
for a wrong combination.
If NOT your design doesn;t fit you
Op donderdag 15 augustus 2002 01:03, schreef u:
> So, if somebody gets an ftp account somehow, he will be able to get session
> vars via a system() command?
You holds him in its own dir by the chroot setting of you ftpserver.
> via a system();
you mean if they upload a php file?
prevent that wit
> string filename
The name of the file. b.e test.html or $_SERVER['DOCUMENT_ROOT'].'test.html'
> int use_include_path
Optional 1 true or 0 (or nothing) false the file above is in my default
include path.
Manual: you can use the optional second parameter and set it to "1", if you
want to search f
Hi,
do
--
echo $data[0]*$data[1]);
return ($data[0]*$data[1]);
--
i think its empty.
In the first place, i thought it was maybe impossible to call a
class-functions in your constructor. (Cause the class function don't exists
at the moment you call your constructor).
But the code below showed i
Op woensdag 14 augustus 2002 20:57, schreef Adam Williams:
> Does anyone know why it is not working with $_POST but works fine with
> $_GET?
I don't know, but maybe you has to put "" around POST, method="POST". It
works then with GET, cause that's default.
Maybe something else is wrong, so met
> How can I echo the name of the of the second array (subArray)? The name
for value
array('1','2'.'3'),
'c'=>array('6','5'.'4'),
'd'=>array('8','9'.'10'),
);
$r=next($test);
echo $r[0].' or :'."\n";
foreach
To Match: Tue, Jul 29, 2003
> $pregmatchstring="/([\s])*(Renewal\DDate|Registered\sthrough|Expires|Record
>\sExp ires|Domain\sExpires|Expiry\sDate)([\D\s]*)(.*)/i";
You can change the last part of $pregmatchstring in:
Expiry\sDate)([\D\s]*|\w{3},\s\w{3}\s\d{2},\s\d{4})(.*)/i";
You can f
start your file with :
error_reporting(E_ALL);
Op woensdag 14 augustus 2002 20:09, schreef Georgie Casey:
> rite,
>
> without access to the php.ini file, how can i get php to print all errors
> on my web server. it runs linux
> --
> Regards,
> Georgie Casey
> [EMAIL PROTECTED]
>
> ***
Op woensdag 14 augustus 2002 20:00, schreef Harry.de:
> does anybody now a way in php to read out,
> how many files are in a directory
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$TEST= new TEST;
$a=3;
$b=4;
$TEST->Show();
works, fine
better to use $GLOBALS['a'] instead of global $a
Op woensdag 14 augustus 2002 15:27, schreef Tim Stoop:
> Hi there,
>
> I'm forgetting something, but I can't seem to get to it... Consider the
> following Class.
>
> class Test
> {
>
Op woensdag 14 augustus 2002 13:04, schreef electroteque:
> hi there i was wondering how i could fopen a directory and then sort the
> files by date modified is there a way ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://www.php.net/manual/en/function.strip-tags.php
Op woensdag 14 augustus 2002 02:24, schreef Roger Thomas:
> i presented my visitor to fill up some description about themselves via
> HTML's textarea FORM element.
>
> how do i block them from entering unwanted HTML tags into the textarea
> fiel
Op dinsdag 13 augustus 2002 23:25, schreef Mike Davis:
> I need to read a directory full of PDF files, and get the file date of the
> most recent.
> Can someone get me started?
$latime)
{
$lasttime=filemtime($file);
$lastfile=$file;
}
}
}
echo $lastfile.'
Op dinsdag 13 augustus 2002 20:50, schreef Alexander Ross:
> If I have a string variable that is already of the form
> ('item','item2','item3') [including the parens and quotes in the string],
> is there an easy way to change that variable into an array??
> Array($var) doesn't work. Thanks
--
http://www.php.net/manual/en/function.str-replace.php
In PHP 4.0.5 and later, every parameter to str_replace() can be an array.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
YOU use $parsed_date[2] in stead of $parsed_end_date[2]
Op maandag 12 augustus 2002 00:01, schreef jc:
> The following bit of code completely baffles me as to why it doesn't work.
> I am doing a very simple validation where I check to see if the "end date"
> field of an inputted record is an olde
echo ('test'==0);
gives 1 why?
Thanks,
Bas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Op zondag 11 augustus 2002 16:42, schreef Kristoffer Strom:
> Got a problem when echo:ing a variable containing alot of text.
> When echoing it backslashes ("\") every apostrophe ("'") and quote (").
> This I don't like.
> And I can't use HTMLSPECIALCHARS or HTMLENTITIES since the text has alot of
> http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> if ($Result) {
if(mysql_num_rows($Result)>0)
Op zondag 11 augustus 2002 16:32, schreef Sascha Braun:
> $Query = "SELECT * FROM basket_db WHERE session_id = '$PHPSESSID'";
> $Result = mysql_query($Query, $connect);
> if ($Result) {
> while ($arrResult = mysql_fetch_array($Result, MYSQL_ASSOC
print "link" ;
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Op donderdag 08 augustus 2002 23:22, schreef Ashley M. Kirchner:
> DELETES another field and resubmits. At this point, that variable
> was already registered, and deleting the value from the form has no
> effect. The old value is still there and gets submitted. I need
> to check
> That same script also gets a value ($step) from another one. Now I
> need to figure out which $var_list# to use based on this $step value. Any
> suggestion on how to do this?
${'var_list'.$step}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
Hello,
i have
/include/dotest.php:
and test.php:
Us there a shorter way to write out that. I mean something like
include::dotest;
Thanks,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 165 matches
Mail list logo