On 15 September 2011 15:57, Robert Williams wrote:
>
> On Sep 15, 2011, at 6:03, "chamila gayan" wrote:
>
> > when it goes through 2 static methods, at some point it stops returning
> > value to the calling method. (please see comments in-line).
>
> The getArray() method and the 'else' portion o
On 13 September 2011 21:56, Brad Huskins wrote:
> Hello all you php coders out there,
>
> I'm doing an Open Source text editor (just a hobby) that's designed for PHP
> developers and is accessible through the web. This has been stewing for a
> while, and has gotten to the point where I can use it
On 13 September 2011 23:01, Shawn McKenzie wrote:
> On 09/13/2011 01:38 PM, Ron Piggott wrote:
> >
> > Is there a way to only change accented characters and not HTML (Example:
> )
> >
> > The syntax
> >
> > echo htmlentities(
> stripslashes(mysql_result($whats_new_result,0,"message")) ) . "\r
Hi
I have sessions working like a charm, i use it for my user login vars and so
on, here is the settings i used.
register_globals = Off
session.use_cookies = 1
and switch on session.trans_sid if you know that not all your users will
have cookies turned on
This worked for me
Johan
"&q
buttons or tick box will work as
well
Johan
""Suamya Srivastava"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Thank you all for the help.
> I did not want to use dropdown box..that was the very reason i was
> wondering if I can pass the variables
?
Currently the command I have is
print $row['open'];
Well the easiest thing is to let MySQL do the work
use following SELECT
SELECT DATE_FORMAT(your_date_field,'%m-%d-%Y') as date_field FROM yourtable
That should do the work...
--
Johan Holst Nielsen
Freelance PHP Developer
ical) the root of the ftp server. It can be whereever on the
server. It depends on the configuration of the FTP server ;)
--
Johan Holst Nielsen
Freelance PHP Developer - http://phpgeek.dk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
p you with that :)
www.php.net/curl
--
Johan Holst Nielsen
Freelance PHP Developer - http://phpgeek.dk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 4/3/07, clive <[EMAIL PROTECTED]> wrote:
> Does anyone knows any IDE for PHP like VisualStudio.net?
Second the use of eclipse. Look at easyeclipse.org - they have all the
necessary plug-ins and add-ons in easy an easy to install package. Packages
available for Linux, Mac and Windows. Incl
resql and mysql support.
Johan Martin
Catenare LLC
534 Pacific Ave
San Francisco, CA. 94133
Phone: (415) 834-9802
Fax: (415) 294-4495
http://www.catenare.com
AOL: catenarellc
Yahoo: martin_johan
GTalk: [EMAIL PROTECTED]
FreeWorldDialup :716798 - http://www.freeworlddialup.com/
Gizmo Project: 74
out for a while
so it may be in the sale section already.
The collection class in chapter 5 discusses a programming problem
just like yours.
Johan Martin
Catenare LLC
534 Pacific Ave
San Francisco, CA. 94133
http://www.catenare.com
http://www.linkedin.com/in/catenare
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
php/apache/mysql packages for Windows, Mac OS X
and Linux.
Johan Martin
Catenare LLC
534 Pacific Ave
San Francisco, CA. 94133
Mailing Address:
268 Bush Street #2826
San Francisco, Ca. 94104
Phone: (415) 834-9802
Fax: (415) 294-4495
http://www.catenare.com
AOL: catenarellc
Yahoo
al Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You may want to look into openlaszlo. http://www.openlaszlo.org/ You
can use it to provide the Internet front-end and use PHP for the back-
end. Also, now has the option for either DHTML or Flash on the client
side.
Johan Martin
Catenare LLC
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/manual/en/function.mysql-insert-id.php
This will give you the record id of the last record inserted (or
created).
Johan Martin
Catenare LLC
534 Pacific Ave
San Francisco, CA. 94133
Phone: (415) 834-9802
Fax: (415) 294-4495
http://www.catenare.com
AOL: catenarellc
Yahoo: martin_johan
MSN
while ($row = mysql_fetch_array($sql_result))
{
echo"
".$row['LITERATURE_title']." - ".$row['res_fname']." ".$row['res_lname']."
...
Everything works as long as $row['LITERATURE_title'] is one word, see this
variable contains the names of books, and if the books name is "Heaven" for
instance it
les
exit;
}
// show the site...
> Andrew Darrow
> Kronos1 Productions
> www.pudlz.com
>
>
> - Original Message -
> From: "Johan Grobler" <[EMAIL PROTECTED]>
> To:
> Sent: Wednesday, August 03, 2005 11:04 PM
> Subject: [PHP] code generation
>
>
is there a way to limit the time a website is available in php?, if you want to
have a database driven website but you would only like it to be active for 6
months for instance, i'm doing a project at univirsity and this is part of the
specs, but i cant think of a good way how to do it...
--
hing ?
Thanks a lot :-)
Johan
Connected to: 10.0.0.3:employee.fdb
First Name Last Name
Fatal error: Call to undefined function: ibase_fetch_assoc() in
/home/e-smith/files/ibays/Primary/html/html/untitled17.php on line 209
How do I slove this?
Thx
Johan van Zyl
JVZ Systems CC/realcorp.net
Custom
can i use this kind of construction in my html code ?
Select high
if yes , how do i retrieve the passed string in the php code
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
Thx Helen for another non-hostile, and as usual, very informative response!
We newbie's are having a though time, well at least in THIS forum! At least
I am!
You (me) apparently have to RTFM or FO
And thx to all the other POSITIVE responses I have had!
It is REALLY appreciated. It is not easy b
ll baffled.
Thx
====
Johan van Zyl
JVZ Systems CC
Box 3469
Somerset West
7129
[EMAIL PROTECTED]
http://www.jvz.co.za
+27 (0)82 875 4238
+27 (0)21 851 7205
Fax 088 021 852 2387
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
a SP in firebird that will generate a password and
e-mail it back to them. They can now login with this password and must be
able to change their password.
Thx
====
Johan van Zyl
JVZ Systems CC
Box 3469
Somerset West
7129
[EMAIL PROTECTED]
http://www.jvz.co.za
+27 (0)82 875 4238
Alex Hogan wrote:
When I'm using the time() function am I getting the time on the server?
If not how can I get the time from the server regardless of whether or
not its in the same time zone as the client.
Use the gmdate() function.
http://php.net/manual/en/function.gmdate.php
--
Johan
Johan Holst Nielsen wrote:
Any one tried such problems? Any solution for that? And is it the font,
the encoding file - or something else that are wrong?
Okay, I found the solution :)
I was the encoding file that was wrong...
The /dbar should be replaced with /dcroat
Now everything works :)
Is
ley :D)
I hope someone can help me :)
With best regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Check if the DocumentRoot is right in your httpd.conf - it should be
the same as the location where phpinfo.php is located.
--
Johan Holst Nielsen
Freelance PHP Developer
http://phpgeek.dk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ffice_phone='$office', fax_phone='$fax', email='$email' WHERE
company_name='$mod_dataset'";
What does mysql_error() says?
Tried to print out the query and execute it directly in the mysql prompt
or phpmyadmin? What happens then?
--
Johan Holst Nielsen
ing like:
My friend Bill is 35 years of age.
Is there a way to do this?
No sure what you mean... but it is possible this way:
$age) {
echo "My friend ".$name." is ".$age." years of age.\n";
}
?>
--
Johan Holst Nielsen
Freelance PHP Developer
http://phpgeek.dk
--
P
- or use
a database :)
--
Johan Holst Nielsen
Freelance PHP Developer
http://phpgeek.dk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
: includeFile.php
--
Johan Holst Nielsen
Freelance PHP Developer
http://phpgeek.dk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
l :)
just
Check the documentation http://php.net/include - include returns 1 -
thats why it is printed out when you do echo :)
--
Johan Holst Nielsen
Freelance PHP Developer
http://phpgeek.dk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ink to tcvs :D I have downloaded it and I like
it :D
--
Johan Holst Nielsen
Freelance PHP Developer
http://phpgeek.dk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Lists wrote:
tortoise is nice
http://www.tortoisecvs.org/
As far as I can see, it have nothing to do with an web frontend?
--
Johan Holst Nielsen
Freelance PHP Developer
http://phpgeek.dk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Johan Kok
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi!
I'm trying to sort an array with strings containing swedish characters.
However, the sort order is wrong.
The following code produces "abäåö" while it should be "abåäö".
$list = array("ö", "ä", "a","å","b");
setlocale("LC_ALL","se_SE.ISO8859-1");
usort($list, 'strcoll');
for($i=0;$ihttp://w
Is it possible and if so, how to send emails through SMTP servers that require
authentication (logging in)?
Thanks in advance
If I have understood correctly what you want to do then this will do fine...
$foo->${$foo->get("bar")}->getBaz();
/ Johan
- Original Message -
From: "Terry McBride" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 11, 20
exe'. Does anyone know what could cause this error and why the
> url isn't working??
Try mod_rewrite to apache...
http://httpd.apache.org/docs/mod/mod_rewrite.html
Else try http://www.phpbuilder.com/columns/tim2526.php3
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi people...
Anyone know a class or a solution so I can find the DPI (dot per inch)
of an image?
getImageSize do not help me? Any other solutions?
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
h f.ex.
mysql_select_db()
But do NOT use mysql_db_query...
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Johan Holst Nielsen wrote:
>> > //DATEFORMAT MMDD
>> if($dir=@opendir("/yourdirwithpdf")) {
>> echo "Found following files:"
>> while(($file=readdir($dir))!==false) {
>> if(ereg("^[a-z
x27;;
> }
> }
> }
> ?>
UPS
if(ereg("^[a-zA-Z0-9]+\.$INPUTDATE\.pdf", $file))
The ereg line should look like this :)
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
But i don't know which php function will perform this task (Check filename
> from Right to Left).
>
> If you have any other suggestion, pls help me!
I think I would do something like this:
'.$file.'<\n>';
}
}
}
?>
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
escape-string.php
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Johan Holst Nielsen wrote:
>> Hello! I want to make a form (a wizard) which has 2 Submit-Buttons (Back
>> & Next). The buttons should be images. How can I make php see, which
>> button has been pressed?
>
>
>
> if(isset($_POST["submit_back"]
> Hello! I want to make a form (a wizard) which has 2 Submit-Buttons (Back
> & Next). The buttons should be images. How can I make php see, which
> button has been pressed?
" method="post">
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.p
$CheckArr = array("a", "b", "c");
if($var1 == 1 && in_array($CheckArr, $var2)) {
.
}
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
please show us the source, or a link to at phps file...
And a link to a phpinfo() file?
I cant help you without further information!
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
his case, it could be one of the
errors? :)
mvh
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
register_globals = off!
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ettings? Do your denied websites to
set cookies?
mvh
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Anyone know how long the developers is from a finale release that
support Apache 2?
Please advice!
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This is what you must do.
Copy Part
^^
copy php4ts.dll to c:\winnt\system32\
copy php4sapi.dll to c:\winnt\system32\
if you want any extensions, copy them to to c:\winnt\system32\
configuration part
^^^
in php.ini
¨
edit doc_root like : c:/Inetpub/wwwroot
ed
If you've installed php as a module, set it to "0" if as a cgi, "1"
"Ryan Conover" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> What do I set cgi_redirect var in the php.ini if I install php 4.2.1 under
> win2k/iis5.
>
> Ryan Conover
> [EMAIL PROTECTED]
> [E
7;t think they would have forgotten this function in that file.
Anyone got any idée's??? I kind of need that function to do multipages.
johan ekström [EMAIL PROTECTED]
http://www.dynamicduo.nu/
This is what you must do.
Copy Part
^^
copy php4ts.dll to c:\winnt\system32\
copy php4sapi.dll to c:\winnt\system32\
if you want any extensions, copy them to to c:\winnt\system32\
configuration part
^^^
in php.ini
¨
edit doc_root like : c:/Inetpub/wwwroot
ed
This is what you must do.
Copy Part
^^
copy php4ts.dll to c:\winnt\system32\
copy php4sapi.dll to c:\winnt\system32\
if you want any extensions, copy them to to c:\winnt\system32\
configuration part
^^^
in php.ini
¨
edit doc_root like : c:/Inetpub/wwwroot
ed
Anyone that has knowledge about this program, regarding it's XML output and
php fetching that info and placing it on a php-page for user's to view?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Anyone that has knowledge about this program, regarding it's XML output and
php fetching that info and placing it on a php-page for user's to view?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
le to natsort the
> values and display in the selection form box.
Well lets try
Please reply if this doesn't work?
By the way... if you got further problems, please tell us which version of
PHP you use.
Regards,
Johan Holst Nielsen
www.weknowthewayout.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t;);
Oh, sorry... I have just tried so many ways... but this works!
Thank you very much :o)
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
uery!!
And this works fine!
The mainpage tries to get the sessions.
session_start();
echo
"Email:".$HTTP_SESSION_VARS["accountemail"]."".$HTTP_SESSION_VARS["accountsession"];
But i just get a "Email:" without any content?
Please help me
it seems ftp_rawlist doesnt take directories with spaces for me. does anyone
have any experience with this?
johan kohne
--
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
27;10');
>html-code... I want this to be repeated 10 times.
>end();
>
Try instead:
function MakeLoop($loops, $htmlcode) {
for($i=0; $i<$loops; $i++) {
echo $htmlcode;
}
}
MakeLoop(10);
Dont know if you can use this? Else, try to tell a bit more about what
sol
ok, i need to include some images in the PDF. But I just make them in
the right dpi then.
What about fonts? No problem if the font is Postscript or?
-Johan
Rasmus Lerdorf wrote:
>dpi doesn't really apply to a PDF file unless your PDF file has embedded
>images in which case the d
nd me some
links about how PDF works etc..
I prefer to work in PHP... but if Perl/C/C++ etc. is a better language
to this, please post the link anyway.
Hope someone can help me :o)
Looking forward to hear from ya! :o)
Regards,
Johan
--
PHP General Mailing List (http://www.php.net
Original Message
From: - Fri Dec 07 14:52:01 2001
X-Mozilla-Status: 0001
X-Mozilla-Status2:
Message-ID: <[EMAIL PROTECTED]>
Date: Fri, 07 Dec 2001 14:51:56 +0100
From: Johan Holst Nielsen <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Organization: 1W
by make a file with follow
content:
:o)
Regards,
Johan
--
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]
Royw wrote:
> I have a "memo" type field in a form and I am looking for the PHP command
> to strip the carriage returns from the field before inserting into a
> database.
addslashes();
htmlentities();
??
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/
> i hav e big problem i need to download some php files without the use of a
> FTP client or other .
>
> so if you know a solution to my problem please reply
Do you have possibility to use the PHP FTP functions? Or do you not havr
ftp access??
regards,
Johan
--
PHP General
> Is it possible to use php's mail function to send an html formated email
> (one of your pages or a newsletter, whatever...)? If so, how?
yes...
Make a header called etc.
Content-type: text/html
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
;
> ImageLine($im,110,110,280,110,$rd);
> ImageJPEG($im,"a.jpg");
>?>
>
>
>
>
>
>
Try to remove all html, and instead make a ImageJPEG($img);
You should then only get the JPEG file?
You set a header, and the browser doesn't understand the HTML...
regar
>
>
>If you find this out off list could you let me know as well. I can only find C++ and
>Perl
>scripts.
>
Ok, thinking about programming if it don't exists.
So I let you know when it's ready :o)
Regards,
Johan
--
PHP General Mailing List (http://www.php.
Antwnhs T. wrote:
> I have a problem with this dll, the dll exists on my hd and php does not
> load it.
> I have win2k pro with iis5, has anyone any kind of solutions ?
Do you remeber to include it in your php.ini file?
Regards,
Johan
--
PHP General Mailing List (http://www.php
Yes, I have already seen it. But I would prefer a PHP written
application. AWSTATS are written in Perl :o(.
Do you know anything like this, in PHP? :o)
Regards,
Johan
Manu Verhaegen wrote:
>You can use AWSTATS, it will working and it is very nice.
>
>
>Greeting
Hi
Anyone know a good PHP application that generate statistic from apachelog?
Please send me an URL.
Regards,
Johan
--
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
At 15:19 -0500 30-11-01, [EMAIL PROTECTED] wrote:
> Our web host does not support telnet or SSH for its clients and is not
> interested in working with PhpMyAdmin at the moment (I think I need their
> assistance if I want to use PhpMyAdmin, right?). Is this rather typical of
> web hosts?
You
om it self? I haven't tried it, but I think it
would work.
By the way... the most of the SMTP doesn't check at the FROM header, but
from the sender SMTP.
So if you got a nonexisting e-mail it would accept it too, but it the
sender host isn't valid it will reject it.
Regards,
hmm, youre right.
You can use this header maybe "FROM: Do Not Reply "
The SMTP should be able to resolve localhost?
Regards,
Johan
Jon Farmer wrote:
>Problem with that solution is some SMTP hosts will reject messages from
>domains that do not resolve to the sending SM
FROM address as [EMAIL PROTECTED]
>
You can't. The mail specification have to get a FROM header, but to make
a solution you can make a FROM header like this: "FROM: Do Not Reply
<[EMAIL PROTECTED]>"
regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To un
no you dont have to install linux, apache works really fine under windows
read more at http://httpd.apache.org/docs/windows.html
good luck
/johan
-Ursprungligt meddelande-
Från: Rob Bennion [mailto:[EMAIL PROTECTED]]
Skickat: Wednesday, November 21, 2001 13:05
Till: [EMAIL PROTECTED
>
>
>$result=@mysql_query($qry,$connection);
>
Try make a line after this:
echo mysql_errno().": ".mysql_error();
What is the output?
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-
> i want php to do an IF, when he founds a special word in a string (ex:
> text_-_write_-_text ) .. i m not able to manage it ..
Could you use this example?
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
> Ok, where can I find a tutorial about sending mail using fsockopen ?
>
> ***
http://www.phpbuilder.com/columns/tim19990221.php3
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROT
Dont know if you misunderstand you?
Regards,
Johan
--
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]
end the output in the GD lib section.
Regards,
Johan
--
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]
ere do you want to do with the XML? Cant
you just make a echo() in a xml document? please explain?
...
...
...
...
...
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the l
ies to give a little summary what I
think you mean.
1. A page make a post request with XML data to a PHP file.
2. The PHP file get the post request, and get the XML data.
3. An then what?
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTE
title";
}
This works for me?
Regards,
Johan
--
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]
if($i == 0) {
$post_query .= $keys_arr[$i]."=".$HTTP_POST_VARS[$keys_arr[$i]];
}
else {
$post_query .= "&".$keys_arr[$i]."=".$HTTP_POST_VARS[$keys_arr[$i]];
}
}
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
T
> I mean post content string not a lot of variables
>
> etc:
>
> aaa.html post a=1&b=2 to bbb.php
>
> I want use php to read the string a=1&b=2 not $a and $b
I not sure I understand you, but are you looking for
$HTTP_SERVER_VARS['QUERY_STRING'] ??
R
e return "(No Title)";
> }
Try:
function getTitle($filename) {
$fp = fopen($filename, "r");
$filecontent = fread($fp, filesize($filename));
if(eregi("(.+)", $content, $title_arr)) {
return
addslashes(htmlspecialchars(trim(strip_tags(
0) {
header("Content-type: you choose");
header("Content-length: filesize('/home/filename')");
header("Content-Disposotion: inline; filename=filename.tar.gz");
readfile("/home/filename");
}
else {
echo "you are not allowed t
me each ??
If you want to use .htaccess can you make some links like this, to the
customers who is logged in:
http://username:[EMAIL PROTECTED]/secretfolder/
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
but try making it like this:
$mailheaders = "FROM: Do Not Reply \nREPLY-TO:
";
regards,
Johan
--
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]
ter(), and make session_register() again with
the new values.
Think it will help you :o)
Regards,
Johan
--
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]
words and then I'd have to build some
> logic to test the length?
Use wordwrap() ?
Regards,
Johan
--
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,
For the futurists around here: Is there any chance that php will
include "database tags" ala Lasso? For those who don't know what I
mean, here's an axample (not quite correct Lasso code, but it should
get the point across):
[db select="somedb"]
[db query="sql"]
[record]
Thanks, That was just what I needed, ie:
SELECT DATE_FORMAT(DATE_SUB(insert_date, INTERVAL 2 HOUR), '%b %e (%r)')
Johan
> On 17-Oct-2001 Alfredeen Johan K wrote:
> > I store a timestamp in a database of when a record was
> inserted. When I pull
> > it out,
1 - 100 of 181 matches
Mail list logo