How do I get a html page into a string variable in php?
Isnt there any function working like this:
$homepage = getHtmlPage(http://www.myhomepage.com/index.html);
/Newbie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
try these: ImageCopy*()
-Original Message-
From: Eric Pierce [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 25, 2002 2:57 PM
To: [EMAIL PROTECTED]
Subject: [PHP] inserting preexisting image inside dynamic image
Hi there...
Just wondering... when creating a dynamic image, is
there a
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the pictures. Maybe
this is the
problem you have?
/Martin
Hi all
I have kind of a very strange problem... But I hope someone can help.
Imageing a little web-based application for browsing images. Every page is
exactly the same (from a php point of view). A user can browse through all
the images which
Yes you can store images in a mysql table. But you will have to create a new
binary database.
You can read here how it works:
http://www.phpbuilder.com/columns/florian19991014.php3
It is a easy to understand text.
/Martin
Justin French [EMAIL PROTECTED] skrev i meddelandet
[EMAIL PROTECTED
hi nicole,
do you have an example what your query contains ?
maybe urlencode($pageURL) or quoting will help
greetings martin
-Ursprüngliche Nachricht-
Von: Nicole Lallande [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 26. November 2002 15:40
An: [EMAIL PROTECTED]
Betreff: [PHP
Martin
-Original Message-
From: Larry Brown [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 02, 2002 12:33 PM
To: PHP List
Subject: RE: [PHP] Disable refresh?
If not, is there a variable that provides information that a refresh
occurred to load the page?
Larry S. Brown
Dimension Networks
Hello!
I'm using a PHP-script as a small console-app. Is the only way to give
parameters to it the $QUERY_STRING, or can I wait for the user to input
something (like scanf in C)? I couldn't find anything in the docs, so
perhaps this is not possible?!
Martin
--
PHP General Mailing List (http
or printing Ok!) I'm using PHP 4.2.3. on Windows2000).
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
What do argv and argc tell you?
Is the php.ini file set up so that these variables are shown/valid?
Undefined variable: argv - so I guess this is the problem ;-) What do I
have to change in the php.ini?
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
ll I found a
register_argc_argv = On
in my php.ini, which should work then. But I also found, that I have to use
print Ok: .$_SERVER[argv][1];
instead of
print Ok: .$argv[1];
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Martin,
Ah yes, the famous 'read the upgrade notes - gotcha'!
Well done, you figured it out...
=dn
Thanx for your help, it pointed me in the right direction ;-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hiya,
Replace with quot;
Martin
-Original Message-
From: Cristian Lavaque [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 30 September 2003 5:09 PM
To: [PHP]
Subject: Re: [PHP] Initial Value for Input Box
Matt Palermo wrote:
I have a form that a user can fill out. In the text input
field
be displayed
with Opera 7, Mozilla : nothing
anything useful in the apache logs? (error.log?) ?
Martin.
--
Real Programmers don't document -
if it was hard to write is should
be hard to understand..
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Try something like this (quick and dirty...)
$file_array = file(list.txt);
$myarray = explode(,, $file_array[0]);
HTH
Martin
-Original Message-
From: ketvin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 1 October 2003 5:05 PM
To: [EMAIL PROTECTED]
Subject: [PHP] File question
Dear
Hi
It depends on the web server you're using...
Martin
-Original Message-
From: Ryan A [mailto:[EMAIL PROTECTED]
Sent: Thursday, 2 October 2003 12:15 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Show index.php instead of index.html
Hi,
I just deleted my index.html page because i want
http://php.net/number_format
-Original Message-
From: Dale Hersh [mailto:[EMAIL PROTECTED]
Sent: Friday, 3 October 2003 10:27 AM
To: [EMAIL PROTECTED]
Subject: [PHP] FLOAT
Hi. I have a question regarding how to manipulate numbers in php. I am
currently storing some values as type float
How about something similar, but look for the first Friday and then add
seven days (or 604800 seconds) to get the date of the next Friday?
-Original Message-
From: J Morton [mailto:[EMAIL PROTECTED]
Sent: Friday, 3 October 2003 11:20 AM
To: Shew; [EMAIL PROTECTED]
Subject: Re: [PHP] date
I think it might be because you're passing a string to the function instead
of a hex value...
try changing it to this and see if it works
$color = ImageColorAllocate($im, hexdec($hex1), hexdec($hex2),
hexdec($hex3));
HTH
Martin
-Original Message-
From: Jed R. Brubaker [mailto:[EMAIL
Hi,
Is somewhere documented that everything after NULL (0x00 %00) character
is ignored for example in functions include, fopen etc?
?
$a = /etc/passwd.chr(0)..inc;
include($a);
?
Martin Straka
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
?a=aaa.chr(1).chr(2).chr(0).bbb;
include($a);
(it is requesting: http://xxx/test?a=aaa\x01\x02)
example 2:
$a = 1234 abc.chr(1).chr(0).def;
$b = escapeshellcmd($a);
echo $b;
[$b is 1234 abc.chr(1)]
Martin Straka
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Hi!
I got a problem with functions which I call before they're
defined. I get the error message:
Fatal error: Call to undefined function: view() in
/daten/www/midgard/cache/62.php on line 470
The code snippet:
8-
switch($argv[0]) {
case 'view':
Hi Sudheer,
Depends on what you want to do with the data afterwards.
Maybe a flat file would be enough?
Martin
-Original Message-
From: Sudheer Palaparambil [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 8 October 2003 2:50 PM
To: [EMAIL PROTECTED]
Subject: [PHP] do I need a database
Hi
What?! Even sweatshop workers earn more than that!
-Original Message-
From: John Nichel [mailto:[EMAIL PROTECTED]
Sent: Friday, 10 October 2003 1:28 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: OFF-SHORE PHP /or Perl Developer + MySQL /or
PostgreSQL
Thought y'all might get a kick out of
It's used on objects.
In the examples below, $test_url and $test_this are both properties of an
object ($test)
have a bit of a read of this: http://php.net/manual/en/language.oop.php
HAND
Martin
-Original Message-
From: Tom Ray [Lists] [mailto:[EMAIL PROTECTED]
Sent: Friday, 10
know a solution, like this, then please let me know.
What are you trying do? Are you trying to pass to PHP the user's screen
width and height ?
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
* Thus wrote Ashley M. Kirchner ([EMAIL PROTECTED]):
Curt Zirzow wrote:
I do wonder what the rule for those born on Feb 29'th. Do they
celebrate they're birthday before or after it on non leap years?
Neither. They celebrate it on Feb 29th. So while we age every
year,
Chuck PUP Payne wrote:
Hi,
Is there a way I can get php to call the program fortune
then print that a
web page.
Thanks.
Payne
echo 'pre';
passthru(fortune);
echo '/pre';
Should do it. I use this for a nice little Server Status page that
iterates through an array
...
or directly
$myvar[0][0] = myval;
2. The same way you pass any other variable to a function
myfunc($myvar);
HTH
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
strstr() and it's variants
ereg() if you need more logic
Martin
-Original Message-
From: Tim Thorburn [mailto:[EMAIL PROTECTED]
Sent: Monday, 27 October 2003 12:13 PM
To: [EMAIL PROTECTED]
Subject: [PHP] if and like together?
Hi,
Is there an IF LIKE statement in PHP? I've got
substr($str, 0, 200);
or an (untested) ereg
ereg((.{200}[^ ]*), $str, $bits);
HTH
Martin
-Original Message-
From: Jason Williard [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 29 October 2003 1:53 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Shortening a String
I would like to display part
('$vKeywords');
$sql .= ORDER BY robeson_inv.model;
Martin
-Original Message-
From: Robb Kerr [mailto:[EMAIL PROTECTED]
Sent: Thursday, 30 October 2003 11:59 AM
To: [EMAIL PROTECTED]
Subject: [PHP] conditional within SELECT
Here's another newbie question. The SELECT statement below gets
try the resize copy function (can't remember the exact name ATM)
Set the destination's first colour to the desired background colour, then
copy/resize the image to it.
Martin
-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Monday, 3 November 2003 12:36 PM
To: [EMAIL
Hi Juan,
I think some sort of look up file or database table based on the computer's
IP address would probably be the easiest method.
Martin
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 5 November 2003 9:49 AM
To: [EMAIL PROTECTED]
Subject: [PHP
Put quotes around all the values, like:
echo forminput type='test' size='25' value='$xyz'/form;
Martin
-Original Message-
From: Jay Frumkin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 5 November 2003 10:28 AM
To: '[EMAIL PROTECTED]'
Subject: [PHP] text input truncated
Hi all,
I am
number_format or (s)printf
-Original Message-
From: Richard Cook [mailto:[EMAIL PROTECTED]
Sent: Thursday, 6 November 2003 2:04 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Ive lost a zero somewhere
I have a problem with the following
when i multiply for example 25 . 50 * 3 i get 76 . 5 how
Maybe there's an error with _generateThumbnail() ?
Do you know for certain that _generateThumbnail() works okay ?
Martin
-Original Message-
Hi all:
I have a page with a img tag:
img src=/getthumbnail.php?fileid=12230983
The script getthumbnail.php searchs for a thumbnail
,
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Chris,
no, unfortunately, that doesn't work; it creates a permanent socket on the
server, but between page reads, php still loses its resource id, and can't
communicate with the socket...
Martin
Chris Hayes [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
At 16:09 10-11-03, you
Hi Chris,
yes, that's precisely my problem (I had read the notes).
This seems like something people would want to do, so I'm surprised no one's
found some workaround.
Any other ideas?
Chris Shiflett [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
--- Martin Helie [EMAIL PROTECTED
Hi Dan,
sounds like a good idea. How does 'gateway' actually listen in on the
website session?
Is it simply invoked by the website with specific arguments?
Tx,
Martin
Dan Joseph [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
Quick answer: as others before me have also
Great! Thanks Dan.
I'll be making a php version of something similar.
Martin
Dan Joseph [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
sounds like a good idea. How does 'gateway' actually listen in on the
website session?
Is it simply invoked by the website
= ?=$something?;
?
$i++;
}
?
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
surely sort() would do the trick?
Martin
-Original Message-
From: Justin French [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 12 November 2003 12:13 PM
To: php
Subject: [PHP] sorting files by date
Hi,
I have a dir of files saved in the following format:
-MM-DD.mp4. I
I need to print a page and redirect the browser to another page. As it can't
be done with PHP, I thought about using javascript. Can anyone give me an
advise on how to do it?
--
19:13:01 up 22 days, 2:35, 3 users, load average: 0.08, 0.15, 0.26
El Mié 12 Nov 2003 19:36, Marek Kilimajer escribió:
Martin Marques wrote:
I need to print a page and redirect the browser to another page. As it
can't be done with PHP, I thought about using javascript. Can anyone give
me an advise on how to do it?
You are right, and that means you should
El Mié 12 Nov 2003 19:59, Marek Kilimajer escribió:
Martin Marques wrote:
script
function printAndRedirect() {
print();
location=someotherscript.php;
}
/script
Yes, I already have this.
My problem is that I want to make it work on the event Onload (when the
page ends
It wont work if it's DD/MM/, MM/DD/, /DD/MM, etc, etc
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
can't change :(
TIA
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
* Thus wrote Martin Towell ([EMAIL PROTECTED]):
Hi All,
I have an array of strings in the following format:
abcd - rst
abcd - uvw
abcd - xyz
foobar - rst
blah - rst
googol - uvw
What I want to do is strip everything from the - bit of
the string
When I send HTML emails, I don't base64 encode it, I just set the
content-type to text/html. The mail clients that I've tested it with renders
it correctly
HTH
Martin
I m sendig out HTML email, using mimemail class which encodes
the whole message to be sent in base64 and
Content-Transfer
$ndays=14;
function get_next_dates($ndays)
{
$today=date(m-d-Y,mktime(0,0,0,date(m),date(d),date(Y)));
$forward_date=date(m-d-Y,mktime(0,0,0,date(m),date(d)+$few_days,date(Y)));
print h1$today === $few_days === $forward_date/h1;
for($i=0;$i$ndays;$i++)
{
look for this line in your php.ini file
error_log = filename
but that's only going to help if you have
log_errors = On
HTH
Martin
-Original Message-
From: Manisha Sathe [mailto:[EMAIL PROTECTED]
Sent: Friday, 21 November 2003 12:19 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Where
the script
Warning: move_uploaded_file(img/matrix.jpg): failed to open stream:
Permission denied in /blah/blah
Do i need to set the chmod of the img folder?
Cheers
Paul
--
:
:. kind regards
:.. Martin Hudec
:.:
:.: =w= http://www.aeternal.net
:.: =m
($HTTP_POST_VARS);
while (list ($key, $val) = each ($HTTP_POST_VARS)) {
echo $key = $valbr;
}
?
but if I call the variable directly
? echo $renaldo; ? it prints nothing, should I go ahead and take apache
2.* off my box or if the fix easy.
--
:
:. kind regards
:.. Martin
using a version of PHP that is recent enough to have $_POST.
So, you can use $_POST['foo'] instead of $HTTP_POST_VARS['foo']. Not only
is it shorter, I believe the older name is deprecated.
--
:
:. kind regards
:.. Martin Hudec
:.:
:.: =w= http://www.aeternal.net
:.: =m
you might be able to put the id of the next/prev card as the value of the
option
and then use javascript to generate the url.
the only reliance then would be that the browser as JS enabled, as the above
should be possible with the most basic of JS
HTH
Martin
-Original Message-
From
This doesn't sound right. It's doesn't behave like this for me.
Can you supply an example?
Martin
-Original Message-
From: Mike D [mailto:[EMAIL PROTECTED]
Sent: Thursday, 4 December 2003 10:35 AM
To: PHP General list
Subject: [PHP] Variables scope question
Hello,
I have
an alterative to this function that works (might not be the best way
though??)
function date_file_sort($a, $b)
{
list($x, $y, $z) = explode(-, $a); $a = $z-$y-$x;
list($x, $y, $z) = explode(-, $b); $b = $z-$y-$x;
return -strcmp($a, $b);
}
HTH
Martin
I have a bunch of dates
:.. Martin Hudec
:.:
:.: =w= http://www.aeternal.net
:.: =m= +421.907.303393
:.: [EMAIL PROTECTED] [EMAIL PROTECTED]
:.:
:.: When you want something, all the universe
:.: conspires in helping you to achieve it.
:.: - The Alchemist (Paulo Coelho)
--
PHP General Mailing List
???
Hope to get some help soon. Thanks in advance=)
Irin.
Don't you need to quote your strings?
$sql = INSERT INTO tutor (tutor_name, tutor_contact, tutor_email,
tutor_profile)
VALUES
('$tutor_name','$tutor_contact','$tutor_email','$tutor_profile');
Martin
--
PHP General Mailing List
$this-ponum, RETURN RESULTS (ie.
while($row=mssql_fetch_array($rst)){echo $row[0]})
}
}
?
HTH
Martin
-Original Message-
From: Mike Smith [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 16 December 2003 10:22 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Starting OOP
I've been doing
It should have quotes, unless you have defined formReviewBy as a constant
PHP's nice enough to interpret it as a string if using it as a constant
fails, but you should still quote it anyway.
Martin
?php if ($_POST[formReviewBy]==Cade Lloyd) { echo selected; } ?
Should $_POST[formReviewBy
I haven't used sessions before, but it doesn't look like the variables are
being put into the session.
If they're coming from a form, then they would appear in the $_POST or
$HTTP_POST_VARS variables, not the $HTTP_SESSION_VARS variable.
HTH
Martin
-Original Message-
From: Dave G
Hello,
I'm writing a routine that recursively reads an HTML document, looking for
special tags. It's a template system, but contrary to what I've seen out
there so far, no template engines allow for any kind of customization from
within the document; they only seem to be variable replacement
machine (finite
state automaton). Try to search google for more theory. For ex.
http://en.wikipedia.org/wiki/Finite_state_automaton
Martin Helie wrote:
Hello,
I'm writing a routine that recursively reads an HTML document, looking
for
special tags. It's a template system, but contrary
Since you mention mysql, why not just add
ORDER BY number DESC to your query? The database will do the work for you.
Dave Carrera [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi List,
How can I sort a while loop or do something before it to achieve the
following?
I have a
Not sure I understand, but it sounds like you'd want to do something like:
$dir = yourdir/;
$d = dir( $dir );
while (false !== ($file = $d-read())) {
if( substr( $file, 0, 1 ) == . ) {
continue;
}
$fp = fopen( $dir . $file, r );
$contentArray = split( !--[a-z ]--, fread(
How about simply:
echo
SCRIPT
window.top.main.location= 'http://localhost/phase1/report.php'';
/SCRIPT;
?
Geoffrey Thompson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I was only able to find one reference to targeting a named frame on a
redirection, in the MySQL Cookbook
++)
echo $vlans[$z]br /\n;
Martin
-Original Message-
From: Jas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 7 January 2004 9:05 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Looping problem?
require 'database.php';
$t_02 = subnets;
$sql_subs = mysql_query(SELECT * FROM $t_02,$db
...)
Martin
-Original Message-
From: Matt Grimm [mailto:[EMAIL PROTECTED]
Sent: Thursday, 8 January 2004 9:37 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Sorting data into columns vertically
Well you didn't say you wanted a dynamic number of columns...
What's the problem
This is a basic table join:
select * from teams, divisions where teams.divisionID = divisions.divisionID
-Original Message-
From: Kirk Babb [mailto:[EMAIL PROTECTED]
Sent: Thursday, 15 January 2004 9:41 AM
To: [EMAIL PROTECTED]
Subject: [PHP] multi-table select?
I'm looking
I've come across this recently too. I think what's happening is that PHP is
converting NFH to an integer, which would be zero in this case. Thus zero
== zero is true...
Try doing type checking too:
if ($EA === NFH)
Martin
I am so frustrated at the moment with coding. I had an odd
,
then a string comparison between '0' === '1' is done since both are now
strings (or am I mistaken?).
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
...
with this information you can see which php-command causing the seg fault
- http://bugs.php.net/bugs-generating-backtrace.php
g. martin luethi
Program received signal SIGSEGV, Segmentation fault.
0x7bacedcc in zend_parse_arg_impl (arg=0x1003853c0,
va=0x7ffe3a88, spec=0x7ffe3a58
maybe this work:
replace the special-characters first, eg.:
$bokid = str_replace(å, _, $bokid);
and replace them back after preg_match
or try the preg_match with the hexcode of this special chars:
\xhh character with hex code hh
(http://ch2.php.net/manual/de/pcre.pattern.syntax.php)
g. martin
name=guessnumb value=?php echo $guessnumb; ?
/
change one of these to something else and that should do the trick
HTH
Martin
-Original Message-
From: Jonno Agnew [mailto:[EMAIL PROTECTED]
Sent: Friday, 23 January 2004 7:16 AM
To: [EMAIL PROTECTED]
Subject: [PHP] newbie issues
matches.
Increasing your stack size might help (ulimit).
g. martin luethi
Thu, 22 Jan 2004 14:20:56 -0500 E. Stuart Hicks [EMAIL PROTECTED]:
Please disregard my last post - I'd switched Apache back from the debug
module for the night and forgotten to turn it back on.
I've attached the full trace
check if the user you defined in phpMyAdmin/config.inc.php
($cfg['Servers'][$i]['user'] = ???)
has the right to create new databases
(db: mysql / table: user / field: Create_priv='Y')
restart the mysql-server after altering the database mysql
g. martin luethi
Fri, 23 Jan 2004 01:26:46 -0800
try
?= date(F, strtotime(+1 month)); ?
g. martin luethi
Mon, 26 Jan 2004 03:08:30 -0500 John Taylor-Johnston
[EMAIL PROTECTED]:
Did I miss something at the FAQ? date(F); gives me this month. Can
I get it to give me next month?
These combinations don't work:
?php echo date(F)+1; ?
?php echo
));
?
g. martin luethi
Mon, 26 Jan 2004 03:29:16 -0500 John Taylor-Johnston
[EMAIL PROTECTED]:
Thanks!! :) Getting tired at this hour.
Is there a way to detect the language of the browser and echo the
name of the month in that language?
?= date(F, strtotime(+1 month)); ?
Thanks,
John
--
PHP General
edit php.ini and define a session.save_path
e.g. on windows:
session.save_path = c:\winnt\temp
- http://ch.php.net/en/session
g. martin luethi
Loh tuck yong wrote:
Hi,
i have a problem with the method session_start()
this is the warning message generated, and for the
php, i have only 1 line
g. martin luethi
Mon, 26 Jan 2004 14:36:04 -0500 John Taylor-Johnston
[EMAIL PROTECTED]:
I see what you are doing, But don't see where to create fr or fr-ca,
for my example?
John
Martin Luethi wrote:
the variable $_SERVER[HTTP_ACCEPT_LANGUAGE] contains the Accept-Language-
Header from
$pattern = /$stringA.*?$stringB/;
.*? - matches everything between $stringA and $stringB
the ? means: stop matching after the first occurence
of $stringB (quantifier minimizer). otherwise .* would
match everything between the first occurence of $stringA
and the last
line 16: mysql_connect(tflood, thomas91);
I think you mean: mysql_connect(localhost, tflood, thomas91);
otherwise mysql_connect takes tflood as Server and thomas91 as
Username (if so, its better to replace passwords with * before
posting)
- http://ch.php.net/mysql_connect
after connecting you
maybe its better to use fread() and fseek()
2000 bytes should be 2000 characters in a textfile
g. tinu
Wed, 28 Jan 2004 11:20:32 -0500 Benjamin Trpanier
[EMAIL PROTECTED]:
Hi,
I am using the chunk_split(); function to separe a long long text on
differents pages.
At this time, I can split the
Wed, 28 Jan 2004 11:41:56 -0500 Benjamin Trépanier
[EMAIL PROTECTED]:
On 28/01/04 11:29, Martin Luethi [EMAIL PROTECTED] wrote:
maybe its better to use fread() and fseek()
2000 bytes should be 2000 characters in a textfile
g. tinu
Wed, 28 Jan 2004 11:20:32 -0500 Benjamin Trépanier
[EMAIL
download the source code:
http://www.php.net/downloads.php
or browse online:
http://cvs.php.net
the crypt() source is under php-src/ext/standard/
g. tinu
Thu, 29 Jan 2004 09:54:39 +0100 gerold kathan [EMAIL PROTECTED]:
hi there - i have user credentials in my DB encrypted with PHPs crypt()
Ooo! Ooo! Me, Me! Can I be scammed this time? :/
-Original Message-
From: Ryan A [mailto:[EMAIL PROTECTED]
Sent: Monday, 2 February 2004 7:02 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] VERY URGENT.
GREAT! The last time I went for the millions, my turn is
over...so whose
and repeat the above..
HTH
Martin
-Original Message-
From: Ryan A [mailto:[EMAIL PROTECTED]
Sent: Monday, 2 February 2004 10:04 AM
To: [EMAIL PROTECTED]
Subject: [PHP] comparing dates
Hi,
Am a bit confused as to how to do this, I have some dates in
the database
Instead of using r+, use w
This will clear the file for you :)
-Original Message-
From: Mr. Austin [mailto:[EMAIL PROTECTED]
Sent: Monday, 2 February 2004 1:51 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Help with files
I'm not entirely sure why it is that you assume I did not
El Mié 04 Feb 2004 16:45, David Clymer escribió:
I'm having some problems with the DB::isError function identifying a
non-object as an error object (or so it seems). I'm using postgreSQL
7.3.x. The relevant code is below:
/***[ my code start ]***/
http://au2.php.net/manual/en/function.basename.php
Martin
-Original Message-
From: Philip J. Newman [mailto:[EMAIL PROTECTED]
Sent: Thursday, 5 February 2004 11:57 AM
To: [EMAIL PROTECTED]
Subject: [PHP] $PHP_SELF AND INFORMATION.
$_SERVER[PHP_SELF]; returns /c/hosting/newman
would usort() be better for this?
Martin
-Original Message-
From: Justin French [mailto:[EMAIL PROTECTED]
Sent: Thursday, 5 February 2004 3:33 PM
To: php
Subject: [PHP] multi dimension array sort help
Hi,
I've read and re-read array_multisort(), but still can't get
a grip
:
include $dir/file.php
vs.
include($dir/file.php)
Both work just fine. The manual includes examples of both methods. So
which do most people consider the right way ?
This is one of those personal preference things. Pick which ever way you
like the best and stick with it.
Martin
--
PHP
You'll need to do a left/right outer join.
as you didn't say which database you're using, I'll give this back to you to
do some reading up on how to do it...
HTH
Martin
-Original Message-
From: Marc Greenstock [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 11 February 2004 1:53 PM
Matthew,
use $_POST/$_GET/$_REQUEST (depending on your form method) and foreach()
eg:
foreach($_POST['image'] as $key=$value)
{
echo $key - $valuebr\n;
}
Martin
-Original Message-
From: Matthew Oatham [mailto:[EMAIL PROTECTED]
Sent: Thursday, 12 February 2004 11:29 AM
Hiya,
Work out the start array position, keep incrementing by 1 until you find a
yes
From this you'll know the allowable end times.
HTH
Martin
-Original Message-
From: Bob Eldred [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 17 February 2004 4:04 PM
To: [EMAIL PROTECTED]
Subject: [PHP
google is your friend
http://www.onlamp.com/pub/a/php/2001/02/15/php_admin.html
5th bottom one..
Martin
-Original Message-
From: ajay [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 18 February 2004 4:20 PM
To: [EMAIL PROTECTED]
Subject: [PHP] tmp_dir
hi!
i suppose this is more
Saturday June 27 2009
doesn't seem right somehow :/
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1401 - 1500 of 1888 matches
Mail list logo