get_defined_vars (); ?
Slava wrote:
> Hi,
> Can somebody say how can I get all vars and their values from a
> script.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi,
i didn't find a function for this in the manual, but maybe there is one (or
a workaround):
does anyone have a solution for replacing multiple whitespaces with a single
whitespace whitin a string? similar to trim(). maybe a regular expression?
eg:
$string = 'word1 word2 word3';
$modifie
thanks, this works.
ciao SVEN
Leif K-Brooks wrote:
>> hi,
>>
>> i didn't find a function for this in the manual, but maybe there is
>> one (or a workaround):
>>
>> does anyone have a solution for replacing multiple whitespaces with
>> a single white
maybe you dig a little bit deeper:
take a look at rfc2045 and following. they describe the mime-type. there is
also specified, how boundaries in multipart-messages are defined.
ciao SVEN
- Edwin - wrote:
> Hello,
>
> "Shivanischal A" <[EMAIL PROTECTED]> wrote:
&g
;
did you define your user and password? afaik win ad isn't searchable by
anonymous.
ciao SVEN
> echo "Connected and ready to bind...";
> if (!($res = @ldap_bind($ldap, $dn2, $password))) {
> print(ldap_error($ldap) . "");
> die ("Could not bind the
u.org/mime.mail.html)
ciao SVEN
"Szparag" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED]
i know that in mail-form i need
but i don't know how to write message headers to send file with e-mail.
please
hi,
JiøîÆèî eË wrote:
> hello,
>
> i have got a problem with SQL select:
>
> I have got a table such this:
>
> id_k typ name id
> 1 f bla1 1
> 2 f bla2 1
> 2 i bla3 1
> 3 z bla4 1
> 3 f bla5 1
> 4 i bla6 1
> 4 z bla7 1
> 5 z bla8 1
>
> and id
hi,
Johannes Reichardt wrote:
> Hi there!
>
> I had a perfectly working installation of apache 1.23 and php4.12 -
> unfortunatly i got heavy problems with the mail()
> function that didnt seem to like my subjects and froms. anyway - i
> just de-installed apache and php and reinstalled the
> most
... and what about dirname()?
Matt Palermo wrote:
> Anyone know how I can stip off the end of a folder location, so that
> it will be a folder in the next level up? I want to turn something
> like this:
>
> /path/to/folder/MyFolder/
>
> into somthing like this:
>
> /path/to/folder/
>
> I just nee
what are the optonal escaped slashes for? '\/?'
hope this helps for your start:
$body = 'http://www.url";>';
$body = preg_replace ('/(<)(a href="[^"]+")(>)/', '<\\2
target="_blank">', $body);
var_export($body);
ciao SVEN
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
... or:
if(!empty($SenderEmailAddress))
{
...
}
Dean E. Weimer wrote:
> What about the rest of the code? How is this variable defined? I
> have had this happen in some code before, I found that the variable
> was set to "". Try using:
>
> if (isset($SenderEmailAddress) && $SenderEmailAddress !
is escaping a solution?
addslashes() for your insert-query
stripslashes() for your select-query
"Aaron Axelsen" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> I have a php script set up for a user to upload a word document,
hi ron,
there are 2 steps to do this:
1. get data from mysql
(you can use 'group by' in your select-query for doubles, maybe some kind
of sort)
2. create your ''
for each mysql-row create your '$var2'
(if you like, add some logic for 'selected'
ge. i suggest you use one of the ready-made pdf-php-classes.
ciao SVEN
"Louie Miranda" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Hello,
>
> I have been given a task to generate a business card program over the web.
> The option that i can
can you more clearly explain your problem?
- do your files contain of many lines and you want this:
f1l1;f2l1;f3l1; ...
f1l2;f2l2;f3l2; ...
(f=file, l=line)
- or do you simply want the complete content of the files separated by
semicolon?
ciao SVEN
"Fb" <[EMAIL PROTECTED
... and how about this?
$headers .= "Return-Path: $email_address_from_your_database\r\n";
tell me, if it works.
ciao SVEN
Brian S. Drexler wrote:
> I tried the extra header. The problem is with the return receipts.
> The mail is being generated by a server other than my main
hi john,
try a regex like this:
'/]*>(.*)/i'
ciao SVEN
John Herren wrote:
> Can't seem to get this to work...
>
> trying to yank stuff xxx from
> xxx
>
> and stuff yyy from
>
> yyy
>
> preg_match("| (.*)$|i", $l, $regs);
>
> wo
hi tony,
how is your table structured? is is a csv-file, a database, a html-table,
...?
ciao SVEN
Tony Crockford wrote:
> I've got brain fade today and am in need of a clue, please accept
> apologies if this is obvious.
>
> I have a data table:
>
> P_ref P_code P_Value
then try:
$query = 'select * from `yourTable` where `P_ref`="somevalue"';
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result))
{
$rows[] = $row;
}
var_export($rows);
hth SVEN
Tony Crockford wrote:
>> hi tony,
>> how is your table structur
sorry, i didn't understand your problem.
can you give an example what you can get from your database (your keys,
years, months, ...) and how it should be transformed?
ciao SVEN
Etienne Mathot wrote:
> I am quite new to web programming and PHP/mySQL, I try to find my way
> betwee
hi,
1. for mime-types try rfc2046. there are two top-level media types for you:
'audio' and 'video'. the subtypes depend on your media files.
2. to send files simply as attachment you can use
'application/octet-stream'. or use a readymade php-mime-mail-class.
ci
{
if(!isset($this->user['groups'][$value]) ||
!$this->user['groups'][$value])
{
return false;
}
}
return true;
ciao SVEN
SævË Ölêöyp wrote:
> I'm making an authentication script with groups and roles. This
> function checks if the group
hi,
for mobiles: there is a wap-browser for windows-plattform:
http://www.winwap.org
ciao SVEN
Tan Ai Leen wrote:
> Hi,
> I was just wondering there is a emulator for us developers to develop
> programs for palm and handphone, etc. Is there a program that
> emulates the output
hi joe,
you want a server-script, that lists a dir on a client?
i think that's impossible. think of if you visit a website written in php
and in background your hdd is scanned? that's simply a security reason.
ciao SVEN
Joe wrote:
> any alternative method is also welcome
>
hi,
Juan Nin wrote:
> From: <[EMAIL PROTECTED]>
>
>
>> I wanna be able to take a URL
>> http://www.mysite.com/downloads/file_1_a.pdf
>>
>> and then remove:
>> http;//www.mysite.com/
> [...]
>
> look at preg_match()
... or preg_replace();
&
hi,
try usort();
ciao SVEN
JiøîÆèî eË wrote:
> hello,
>
> i have got a problem, tehere is an array:
>
> $x = array(
>array(15,55,array(1,2,3),3,5,array(1,2,5)),
>array(25,55,array(1,2,3),3,5,array(1,2,5)),
>array(5,55,array(1,2,3),3,5,array(1,2,5))
>);
hi eric,
as far as i can see, there is no definition for your '$subnav' in your
'incHeader.php'.
if you call your main script like this:
'http://example.com/index.php?subnav="home";', this should work with your
inclusion.
ciao SVEN
Eric Fleming wrote:
by the way, it's to complicated. the brackets [ and ] are used for
cha-groups. you can leave them for only one char. so this would be the same:
"\\n" (you have to escape the backslash with a backslash)
Curt Zirzow wrote:
> * Thus wrote John W. Holmes ([EMAIL PROTECTED]):
>> [EMAIL PROTECTED] wrote
do you get an error-message? which?
maybe you use
var $id = array();
instead of
var $id[];
ciao SVEN
Patrik Fomin wrote:
> I need to create a class that looks like this:
>
> class Artikel {
> var $id[];
> var $rubrik[];
> var $ingress[];
> var $kategori[];
> var
Peda wrote:
> I want to upload some file to my web site.
>
> The upload_single.php script is just this:> $ime = $_FILES["thefile"]["name"];
> print ($ime);
>
> I just want for begining to print the name of file.
> But It doesn't work.
did you look what comes from your form? try:
var_export($
how about this:
$_SERVER["PHP_SELF"];
ciao SVEN
Shaun wrote:
> thanks for your reply,
>
> but that doesn't seem to work either, how about removing everything
> after and including the ?, how would i do that?
>
>
> "Manoj Nahar" <[EMAIL PROTECTED
w them and their functions?
>
> hm. I dont even know where global and static are defined in the
> manual.
hi,
look here: http://www.php.net/manual/en/language.variables.scope.php
ciao SVEN
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
... or even shorter (since php 4.1.0):
function init_auth_list()
{
print " select the name of the
author";
$query="select name from author order by name";
$result=pg_exec($GLOBALS["db"],$query);
while ($row = pg_fetch_row($result))
{
print "$row[0]";
}
print "";
uot;;
>
>while($resultat = @mysql_fetch_array($result)) {
>
>echo "
>
> $resultat[ip]
>
> ";
here is '' missing:
";
> echo "}
the echo ''; should come after the closed while:
}
echo '';
>$
al pdf-printer (i.e. acrobat)
ciao SVEN
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
45b9771b54&id%5B2efwaf2%5D=20&id%5B2efwaf3%5D=21&type=1
>
> /* ***
> html code something like this:
>
>
> * */
hi ryan,
from your html-form you get:
$id = array(
'sh1' => '3',
'sh2' => '4',
);
(or something s
take a look into mysql-manual > 6.3.1.2 Comparison Operators
ciao SVEN
Bogdan Stancescu wrote:
> Depends on what exactly you're after, but for strict comparison
> arithmetic operators work as expected (<, >, =).
>
> Bogdan
>
> Safal Solutions wrote:
>
>> D
on a windows box you don't need to compile your php (--with-domxml). i think
you installed the precompiled binaries from php.net. so if you want to
enable this extension, look into your php.ini and uncomment the following
line:
extension=php_domxml.dll
hth SVEN
Steff wrote:
> Hello
>
did you also play with group by?
what does this return?
select * from `yourTable` group by `val1`
ciao SVEN
Petre Agenbag wrote:
> Hi List
>
> I've been trying to do something with one MySQL query, but I don't
> think it is possible, so, I would need to probably do m
ant 1 Forename:
' . $App_1_Forename . ' ...';
?>
or this:
Applicant 1 Forename:
$App_1_Forename ...";
?>
look at the quotes. which style you want to use depends on you (i prefer the
1st)
ciao SVEN
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
you can work with a timestamp.
mktime() changes your date into a number you can sort, compare, ...
ciao SVEN
"Shaun" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Hi,
>
> I have two dates retrieved from a database stored as variables: $mindate
tches[2]
hope this helps.
ciao SVEN
"Lorenzo Ciani" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Hi all!
>
> I would like to ask your advice on a script that I wrote. As you can
surely
> see from my script below, I really need help as I am t
you can use the default: statement as last case in switch, too.
"Jason K Larson" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Greetings-
>
> I prefer to check the $_SERVER['REQUEST_METHOD'] before I do anything in a
script that
> operates for both GET and POST methods. Also
take a look at the $_POST array (or $_REQUEST). they contain all submitted
values.
if there are still empty fields, try foreach() and !empty().
"Shaun" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Hi,
>
> I have a page with 78 textfields on, is there a way of picking out th
this works too:
$message =
$_POST['first_name']." ".$_POST['last_name']."\n".
$_POST['address']."\n".
$_POST['city']." ".$_POST['state']." "$_POST['zip']."\n".
$_POST['country']."\n".
$_POST['email']."\n".
$_POST['design']."\n".
$_POST['comments'];
"Zbranigan" <[EMAIL PROTECTED]> schrieb i
php.ini: register_globals = off?
look at $_POST['id'].
ciao
"Franck Collineau" <[EMAIL PROTECTED]> schrieb im
Newsbeitrag
news:[EMAIL PROTECTED]
> Greeting,
>
> I have just change my server to apache 2.0.44 and php 4.3.1 (from mandrake
> 9.1) and i have a problem now
>
>
> When i pass a numeric pa
/sapi/php4apache2.dll
AddType application/x-httpd-php .php
(note the apache2 module)
ciao SVEN
"Tmcclelland" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Hi all,
>
> As you will guess from this question I'm new to all this. Firstly I
have a look at date() and mktime():
from the manual:
$tomorrow = mktime(0, 0, 0, date("m"), date ("d")+1, date("Y"));
ciao SVEN
"Jack" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Dear all
> Here is the situation :
>
don't echo anything before the header. else there is automatically a header
generated by your server.
"Mishari" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Hi,
> I used it before, but I had a problem
>
> my code look like,
> if (--) {
> echo "---";
> header(--)
use date().
first argument is the structure of your readable date,
second ist the unix timestamp.
ciao SVEN
"Diana Castillo" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> I know this is a stupid question but I am confused,
> how do I convert a unix t
preg_matchtry without backslashes.
$pattern = "/$search/i";
if (preg_match ($pattern, $date[$i]))
{
echo "$date[$i]";
}
you don't need the .*? in your regex (either * or ? multiplier) as preg_match searches
for any occurance (not from begin ^ or to end $).
c
/function.extract.php). so you also don't rely on
register_globals by hosting externally.
ciao SVEN
"Sid" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Hello,
>
> I just updated PHP on my local computer from PHP 4.0.2 to 4.3.2 (Yes, I
know, its
ogamm that
opens the file. in that case, maybe a splitt by chapter or by a special
amount of lines would be a start?
ciao SVEN
Steven wrote:
> I need some advice on how to go about importing rtf files page by page
> seperatly into a mysql database, or some way that can read a file and
> b
ly use the location in the next script:
$location = /path/to/my.file;
echo '';
(or: echo "";)
> +++
> NDore van Hoorn
> Ss1000454 AlfaInformatica-RuG
> E[EMAIL PROTECTED]
> Whttp://www.let.rug.nl/~s1000454
> +++
ciao SVEN
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hmm, well this post is here twice. so it works better than you thought? ;-)
Nadim Attari wrote:
> Hi php-general,
>
> I have subscribed to news://news.php.net/php.general. But when I post
> something (i'm using Outlook Express), it seems that the post is
> sent; but in fact it isn't and so I don't
maybe stripslashes() can solve your problem?
Paul Nowosielski wrote:
> I'm trying to strip quotation marks out of user from input but it
> doesn't seem to work correctly.
>
> $string=ereg_replace("\"","",$string);
>
> I get a \ mark after I run a quote through the form. When I want the
> quote tu
computer" occurred two times in this text.
look at the array-stucture with print_r, var_dump, var_export, ...
or loop through the array:
echo "";
foreach($occurences as $word => $count)
{
echo "$word$count"
}
echo "";
hope this helps. (didn't test the
export($match);
hint to your regex:
either use quantifier '*' (0-n times) OR '?' (0-1 times)
ciao SVEN
"Gerard Samuel" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> I have a string something like ->
> <[TIT2]> ABC <[TP
strange.
look into the sourcecode of your output-page, whether there is more
information (html-tags, i.e.).
and try var_export($_POST); instead of you echo to see what information come
with post.
maybe it's your server/php config. your code works for me.
ciao SVEN
"Kyle W. Cartmel
terpreted?
maybe someone can give it a try?
ciao SVEN
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a look at preg_* functions instead of ereg_*. they are said to
be much faster.
hth SVEN
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
phpinfo.php' with the following:
i call this file for testing: 'http://localhost/phpinfo.php'. this file
will also be vey useful when developing new scripts.
hth SVEN
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ably
your single quotes. it's a different between
" ... VALUES ('$tutor_name', ...)";
and
" ... VALUES ($tutor_name, ...)";
hth SVEN
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
be approved for
publishing and let the users decide which is more useful.
hi,
not only the bounces are the problem, think of the traffic and the
'innocent' isp's. ;-) i think that's not the best method for fighting
against spam.
ciao SVEN
--
PHP General Mailing List (
Sophie Mattoug schrieb:
[EMAIL PROTECTED] wrote:
Hi all,
I am creating a user form whereby I will do an "INSERT" , "SELECT" ,
"UPDATE" and of course "DELETE" for the form. Right now I am trying to
create a form whereby when user choose to update their info, they wil
be directed to a form wher
[EMAIL PROTECTED] schrieb:
Hi all,
I got the error " Constraint Violation " when I did an "INSERT" .
Gone thru the code umpteen times but to no avail..Wondering
where my error
was??...Below is a snip of the block of code:
$db = DB::co
elp you at this. now to your code.
dl("libpdf_php.so");
$pdf = pdf_new();
you just created a php-object $pdf.
for your further methods you must explicit declare them to your objects:
pdf_begin_page($pdf, 421, 595);
$pdf->pdf_begin_page($pdf, 421, 595);
... and so on.
hth SVEN
--
P
possiblility is, that your scripts depend on 'register_globals =
On', which is (now) set to 'off' by default (location: php.ini). either
you set it 'on' (not recommended, search the newsgroup for that and the
security issues), or rewrite your scripts for "off-sup
ollowed by
any number of letters, numbers, or underscores."
so, a minus isn't allowed in varnames!
hth SVEN
function Documenti($aa) {
foreach ($aa as $k=>$v)
$this->$k = $aa[$k];
}
i have an error:
Parse error: parse error, unexpected '$', expectin
liases (domain, listname, var, address1,
address2) values (\"$domname\", \"$listname\", \"a\",
\"$listdomain-$listname:\", \" \"\"$wrapper resend -C $domaincf -l
$listname -h $listdomain $listdomain-$listname-$outgoing,nobody\"\"\")";
hth SVEN
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
anything else would give me a FALSE.
Thanks
Walter
hi walter,
because most of these chars are extended ascii (decimal: 128-255), this
regex should work: '/\x80-\xFF/' (hex-values). also take care of the
minus in your regex if it doesn't stand on start or end of your
char-group i
code($lvl);
$_SESSION['msg'] = $dberrors[12];
call_user_func("db_logs"); }
}
hi jas,
the problem is, that your second form is only executed if your first
condition is false (else if). but because of your or condition (||) only
one of them has to be true. right? right! so it doesn't matter if
your $_POST['dhcp_vlans'] is not set, when any other isn't set. a
solution might be:
hth SVEN
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ii = '\x80-\xFF'; // extended ascii-codes
$_achar = $_alpha.$_xascii; // allowed characters
$regex = '/^['.$_achar.']+(\'|-)['.$_achar.']+$/';
?>
hth SVEN
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
following draw the label of $self
?>
hope you understand, what i mean?
hth SVEN
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Alfredo schrieb:
hi,
Sven wrote:
> take a look at http://www.php.net/manual/language.variables.php:
> "A valid variable name starts with a letter or underscore, followed
by any number of letters, numbers, or underscores."
> so, a minus isn't allowed in varnames!
>
to check generally, whether it's a valid url
according to rfc1738 (a local win-path isn't). maybe there are existing
functions?
hth SVEN
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
(0, 1 or 2) depending on division by 3.
another possibility could be the use of 'limit' in your
sql-select-statement.
hth SVEN
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
days of the month. give it a try.
hth SVEN
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$total=getguota($dom);
$result = safe_query("update datasubused set quotaused ='$total' where domname =
'$dom'");
}
?>
hth SVEN
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi,
is this useful?
hth SVEN
Php schrieb:
Hi
I created a directory and files 3 directory's down
root/dir1/dir2/dir3/files
now i need to include my function file out of the root
root/dir/funtionfile
How do i do this?
I cannot create a htacess file on this server nor set my include
accept mail from localhost (default for all that I know), and relay
for mail sent from localhost.
... and if you not want to send from localhost, you can change your
smtp-params in your php.ini.
hth SVEN
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
mode (mono, stereo), and so on.
maybe that's what you want?
hth SVEN
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on could be:
]*>(.*)<\/fieldset>/i';
?>
if you want to take care of your fieldset-attribs in your result, you
can set your brackets again: ([^>]*)
some probs i can think of are nested fieldsets inside fieldsets (don't
know by head, if this is allowed by w3). and another pr
Henry Grech-Cini schrieb:
Thanks Sven,
You are quite right with your "some probs" comment.
hi,
think i found it. try this:
(.*)<\/fieldset>/iU';
?>
the '/U' stands for 'ungreedy'. also note the change in the attribs-regex.
hth SVEN
--
PHP G
/' checks optional white spaces
you can also give '\s*' a try (any whitespace char). maybe it also works
with '\r\n'?
just some thoughts.
hth SVEN
ps: it surely is possible to ignore everything between
'', isn't it?
--
PHP General Mailing List (http
.
so array1 = (1,2,3,4,5)
array2 = (1,3,5)
then print array1 and the output be 2,4
Thank you
hi,
try array_diff() or array_intersect() or any other corresponding function.
hth sven
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on my page (lessen.php)
i have a variable $sort
if this varible is empty if enterd the page then it will be set on 'day'
i have 3 links in the page
lessen.php?sort=day
lessen.php?sort=game
lessen.php?sort=player
so these links refure to the same page (itself)
on clicked it opens itself and sh
with a trial version of CommuniGate(tm) Pro*
>Hi Sven,
>
>Yes, I just started playing with the GRANT syntax..
>Only problem is that they first define a user with everything on 'N'
>
>And then they define a table in the DB with everything on Y...
>Problem is that you ha
Yow
I've a question, :-)
I'm using ht access to protect a Directory with CGI in that I need use on my
website.
The htaccess uses the password file of my Linux to authenticate one.
Now I want to keep the ht access but when I login via another login script a
want my ht access to be filled in auto
4_modulelibexec/libphp4.so
or if you're using Apache 2.x
LoadModule php4_module modules/libphp4.so
Sven
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey
I need to calculate the amount of days between 2 point
point 1 is now the second point is in the past
the format I have is in 2002-02-25 10:02:23 ( that is the format i have in
my db )
now if I have today 2002-02-25 10:02:04 and the other day is 2002-02-24
09:02:04
That means that the delta
Hey
How can I create files with php, I've tried somethings but php always tells
me that I don't have access.
But the Directory has 777 access and the owner is my webserver.
Can somebody help me :-)
I need this for to create logfiles
Greetings
Sven
hey
Again a small question forgive me but it's monday and the brain is still
working on sunday :-)
I want to make this sql query visual does anybody have any idea :-)
SELECT date_format(t_timestamp_opened,'%Y %m %d'),
count(date_format(t_timestamp_opened,'%Y %m %d')) FROM crm.ticket group by
d
/index.php?action=cgi&scripts=xxx.cgi
Maybe a stupid question but
Kind regards
Sven
Is it possible to mail files with the mail() commando?
Or can it be done on a other way?
Kind regards
Sven
I've use a script that I put in my cron.weekly to execute a php script and
it works fine :-)
#! /bin/sh
#Run Report Generation Script
/usr/bin/php4 /usr/share/netsaint/genmonrep.scp.php
Kind Regards
Sven
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: mer
-Original Message-
From: Pax [mailto:[EMAIL PROTECTED]]
Sent: mercredi 27 février 2002 16:47
To: [EMAIL PROTECTED]
Subject: [PHP] I can't find the problem - parsing error
I have the following line of code:
$this->html=$this_>html + "
<-- this line
...
";
I get Warning: unexpe
function openpopup(){
var popurl="url"
winpops=window.open(popurl,"Solution","width=500,height=400,")
}
//openpopup()
Kind Regards
Sven
-Original Message-
From: Philip Jeffs [mailto:[EMAIL PRO
Hey All
Does anybody have any idea how to authenticate agains a Active Directory
Server with PHP ?
And if sow :
-- How does it work
-- What do I need to install
-- Some sample code would be nice :-)
Kind Regards
Sven
did something like what I want to do and can give me a
push in the direction needed :-)
Thanks anyway
Greetings
Sven
1 - 100 of 123 matches
Mail list logo