Hi Marek Kilimajer,
Thank You Marek it worked for me also.
-Harish Rao K
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 27, 2005 9:19 PM
To: Harish Rao K
Cc: php-general@lists.php.net
Subject: Re: [PHP] help needed on imagettftext()
Harish
This script only outputs the top level. i.e.
-/
|
- folder1
|
- folder2
|
- folder3
it should be
- /
|
- folder1
| |
| - subdir1
| |
| - file1.ext
|
- folder2
| |
| - subdir2
| |
| - file2.ext
|
- folder3
|
- subdir3
|
- file3.ext
I
Jon wrote:
This script only outputs the top level. i.e.
that script has syntax errors. ...
$arFiles = array(
array['file1'](
array(
['path] = array(
[0] = 'folder1',
[1] = 'subfolder1'
[2] = 'file1.ext'
),
['length'] = 5464,
['size'] = 8765
),
Here is one that does not throw an error but does not produce the
desired results
class dir {
var $name;
var $subdirs;
var $files;
var $num;
var $prio;
function dir($name,$num,$prio) {
$this-name = $name;
$this-num = $num;
$this-prio = $prio;
$this-files = array();
OK, THIS one doesn't throw a syntax error ;)
class dir {
var $name;
var $subdirs;
var $files;
var $num;
var $prio;
function dir($name,$num,$prio) {
$this-name = $name;
$this-num = $num;
$this-prio = $prio;
$this-files = array();
$this-subdirs = array();
}
Hello,
While working with some CAPTCHA stuff I get the following error:
Fatal error: Call to undefined function imagettftext().
I have compiled with GD support and all the supporting libraries
(Freetype, TTF, jpeg, X11R6 etc).
What am I missing?
Below is the configure command that I have used.
Harish Rao K wrote:
Hello,
While working with some CAPTCHA stuff I get the following error:
Fatal error: Call to undefined function imagettftext().
I have compiled with GD support and all the supporting libraries
(Freetype, TTF, jpeg, X11R6 etc).
What am I missing?
Below is the configure command
Harish Rao K wrote:
While working with some CAPTCHA stuff I get the following error:
Fatal error: Call to undefined function imagettftext().
I have compiled with GD support and all the supporting libraries
(Freetype, TTF, jpeg, X11R6 etc).
What am I missing?
Check the log files from in the
I'm not too good with classes, in the below class I can get the hit counter
to write to the hit counter file, but I can't get it to write the log file,
I know security is done correctly on the file because it's the same as the
counter log file, but I can't figure out why the other file isn't being
Hi Marek,
I don't see anything in the docs located http://us3.php.net/fopen to help.
I changed it to w only but that made no difference.
Can you please provide a more specific answer.
THanks
Code looks liks this:
%
class counter {
var $log_file = 'counters/google_log.txt';
Joey wrote:
Hi Marek,
Me? I did not send you anything :)
Member variables in classes are NOT used this way:
$this-$hits
But this way:
$this-hits
I don't see anything in the docs located http://us3.php.net/fopen to help.
I changed it to w only but that made no difference.
Can you please provide
Joey wrote:
$this-$hits .= fgets($hiti,128);
Do global search and replace for '-$' and change it to '-'
$this-$hits=1+$this-$hits;
echo $this-$hits;
fputs($hito,$this-$hits);
fputs($log,$this-$log_entry );
cuz
Actually writing to the counter file works fine, I just can't get it to
write to the log file.
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 25, 2005 1:30 PM
To: Joey
Cc: PHP
Subject: RE: [PHP] Help with file not writing
Joey wrote
Sorry I forgot to mention that I tried that anyway and no change in the
result.
fputs($log,$this-log_entry );
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 25, 2005 1:30 PM
To: Joey
Cc: PHP
Subject: RE: [PHP] Help with file not writing
Joey
:[EMAIL PROTECTED]
Sent: Tuesday, January 25, 2005 7:44 PM
To: Joey
Subject: RE: [PHP] Help with file not writing
I'll say it again.
Every place that you have -$ you should have just -
It's really that simple.
Honest.
Joey wrote:
Sorry I forgot to mention that I tried that anyway and no change
On Tue, 2005-01-25 at 07:53, Joey wrote:
I'm not too good with classes, in the below class I can get the hit counter
to write to the hit counter file, but I can't get it to write the log file,
I know security is done correctly on the file because it's the same as the
counter log file, but I
That was it Bret, thanks for pointing out my blindess...
Joey
-Original Message-
From: Bret Hughes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 26, 2005 12:34 AM
To: php general list
Subject: Re: [PHP] Help with file not writing
On Tue, 2005-01-25 at 07:53, Joey wrote:
I'm
Phillip S. Baker wrote:
Due to style sheet stuff I need to modify the nl2br (IE create or use a
different function).
I am pulling data from a database and using nl2br, which does the
standard.
some text copybr /
br /
Some more copybr /
What I want instead is
pSome text copy/p
psome
Greetings all,
Due to style sheet stuff I need to modify the nl2br (IE create or use a
different function).
I am pulling data from a database and using nl2br, which does the standard.
some text copybr /
br /
Some more copybr /
What I want instead is
pSome text copy/p
psome more text copy/p
[snip]
some text copybr /
br /
Some more copybr /
What I want instead is
pSome text copy/p
psome more text copy/p
[/snip]
What you want to do is start with a p, then when you run into 2 \n\n
you want to replace it with /pp and then end with a /p
http://www.php.net/preg_replace
--
PHP General
You might check out http://photomatt.net/scripts/autop
Call this function on the text you want to convert. Think of this
code like nl2br on steroids. This is basically a cross-platform set of
regular expressions that takes text formatted only by newlines and
transforms it into text properly
Hey,
I would just suggest that you Explode the data based on \n and
then walk through it adding p /p and br / tags as necessary..
shouldn't be too diffcult.
hth
-K
On Fri, 21 Jan 2005 14:19:38 -0800, Phillip S. Baker
[EMAIL PROTECTED] wrote:
Greetings all,
Due to style sheet stuff I
Phillip S. Baker wrote:
Greetings all,
Due to style sheet stuff I need to modify the nl2br (IE create or use a
different function).
I am pulling data from a database and using nl2br, which does the standard.
...
.html:
div class=ParaFakeOrWhatEver
some text copybr /
br /
Some more copybr /
Here is a class that uses mcrypt that might be helpful:
Tom - this class is awesome. Took 5 seconds to add to my site and
worked like a charm on the first try. THANKS!! :)
- Brian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Greg Donald wrote:
On Thu, 13 Jan 2005 13:53:30 -0800, Brian Dunning
[EMAIL PROTECTED] wrote:
Could anyone point me to a web page or other documentation that
shows a SIMPLE example of encryption?
I know absolutely nothing about encryption. There are like 6 people
in the entire world who
Michael Sims wrote:
Greg Donald wrote:
On Thu, 13 Jan 2005 13:53:30 -0800, Brian Dunning
[EMAIL PROTECTED] wrote:
Could anyone point me to a web page or other documentation that
shows a SIMPLE example of encryption?
I know absolutely nothing about encryption. There are like 6 people
in the entire
Having a very frustrating problem and I can't seem to figure out why
it's happening.
1. As of last week, all of our applications have started to work
intermittingly. The codebase has not changed.
2. Sometimes the application will display, sometimes it won't. The
browsers loading progress bar
[snip]
Thanks guys for any help troubleshooting this.
[/snip]
Is the drive full? Enough memory? An unusual number of connections? Any
other applications added to the system? what do you see when you run
top? Have you looked at a MySQL process list?
--
PHP General Mailing List
Hi,
Friday, January 14, 2005, 7:53:30 AM, you wrote:
BD Howdy all -
BD I have RTFM and STFW and I still can't get encryption to work. What I
BD finally ended up with from the PHP documentation is long, unwieldy,
BD confusing, and doesn't work. I give up. I threw my big mess away and
BD would
Brian Dunning wrote:
Howdy all -
I have RTFM and STFW and I still can't get encryption to work. What I
good man! (for trying that is) bummer its not working yet...
finally ended up with from the PHP documentation is long, unwieldy,
confusing, and doesn't work. I give up. I threw my big mess away
On Thu, 13 Jan 2005 13:53:30 -0800, Brian Dunning
[EMAIL PROTECTED] wrote:
Could anyone point me to a web page or other documentation that shows a
SIMPLE example of encryption?
I know absolutely nothing about encryption. There are like 6 people
in the entire world who know something about it,
I would check what hitting the machine from the network. At the most
basic level, just try netstat 1 on the command line. Also try iostat
1 to see what load the machine has. It may not be PHP or Apache but
something else, maybe a denial of service attack.
On Jan 13, 2005, at 10:02 PM, Brent
Howdy all -
I have RTFM and STFW and I still can't get encryption to work. What I
finally ended up with from the PHP documentation is long, unwieldy,
confusing, and doesn't work. I give up. I threw my big mess away and
would like to start from scratch.
Could anyone point me to a web page or
I have used Dreamweaver 4.0 for editing my html files and love its
'design view; so I know exactly what the file looks like before I upload
to the server. We currently now are incorporating a shopping cart into
our site and the files are in 'php' format. When I open a 'php' file in
Dreamweaver
TonyC wrote / napísal (a):
I have used Dreamweaver 4.0 for editing my html files and love its
'design view; so I know exactly what the file looks like before I
upload to the server. We currently now are incorporating a shopping
cart into our site and the files are in 'php' format. When I open
Hello All,
I am trying to write some PHP code that will act as a client to a
homegrown server interface developed in C. The client/server interfaces
exchange data using two C structures defined as:
/* struct for client requests to server */
struct client_request {
char stringA[20];
What is strange is that I can always get the char data[] structure
member, and sometimes I get meaningful data in a few of the shorts, but
never all of the structure's members at the same time.
Do you consistently get the same problems on the FIRST record returned?
Anything after that is
First, let me say thanks for responding. My other responses are embedded
within your reply:
What is strange is that I can always get the char data[] structure
member, and sometimes I get meaningful data in a few of the shorts, but
never all of the structure's members at the same time.
Do
Hello,
I have the SOAP PEAR package set up correctly to the point where I can send a
request and get a response. However, my web service is designed to return XML
back to the caller. When I do this, all of the tags have their and
converted to lt; and gt;. I have spent much time searching
karl james wrote:
I have since updated it.
And I am having issues with a function I suppose.
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result
resource in
/home/virtual/site38/fst/var/www/html/php/wrox_php/movie_details.php on line
119
Hi all and Merry Christmas!!
I am having some trouble reversing the order of an array.
I have this array:
$array[0]='Socket A';
$array[1]='Single processor';
$array[2]='Motherboards';
$array[3]='Hardware';
and I want to do a simple reverse of the content like this:
I am having some trouble reversing the order of an array.
[snip]
Which function amongst the available should I use?
rsort() is what you're looking for.
http://us2.php.net/manual/en/function.rsort.php
-M
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Team,
Can you tell me why this code is not working?
I get a query is empty at the moment.
http://www.theufl.com/php/wrox_php/movie_details.phps
Karl James
(TheSaint)
[EMAIL PROTECTED]
http://theufl.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Mike wrote:
I am having some trouble reversing the order of an array.
[snip]
Which function amongst the available should I use?
rsort() is what you're looking for.
http://us2.php.net/manual/en/function.rsort.php
-M
what's wrong with array_reverse()?
karl james said:
Team,
Can you tell me why this code is not working?
I get a query is empty at the moment.
http://www.theufl.com/php/wrox_php/movie_details.phps
We need some information on the errors that you are getting.
-Robby
--
/***
* Robby
karl james wrote:
Can you tell me why this code is not working?
I get a query is empty at the moment.
http://www.theufl.com/php/wrox_php/movie_details.phps
Didn't we already see this once?
From File:
$movie_query in mysql_query();
What kind of PHP code is that? You could really help yourself by
/movie_details.php
Karl James
(TheSaint)
[EMAIL PROTECTED]
http://theufl.com/
-Original Message-
From: John Holmes [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 26, 2004 1:09 AM
To: karl james
Cc: php-general@lists.php.net
Subject: Re: [PHP] Help with code
karl james wrote:
Can you tell me why
http://www.theufl.com/php/wrox_php/movie_details10.php
Copy movie_details10.php into movie_details10.phps (with an 's' on the
end) and then we can surf to your source and tell you something useful.
Or, copy and paste your soure up to the line with the error to the list.
We sure can't help you
Team,
Ok I will try the links again, sorry about the hassel, gee do I sound like a
rookie coming up
From the minor leagues or want.
Anyway,
Here are the links.
Phps file
http://www.theufl.com/movie_details.phps
website
http://www.theufl.com/php/wrox_php/movie_details.php
on my
From: karl james [EMAIL PROTECTED]
Ok I will try the links again, sorry about the hassel,
Did I miss the first part of this message?
http://www.theufl.com/movie_details.phps
website
http://www.theufl.com/php/wrox_php/movie_details.php
Are you able to tshoot it and see whats going
Team
I am trying to teach myself php through a book I got at the store.
Its kinda rough with limited programming experience.
I was wondering if you could take a look at my code and tell me or write the
code so it Will work and make comments in it so I know what I did wrong.
Here is the links.
Hey guys,
Just to let you know I turned off my read receipt, sorry about that.
I had forgot I had it on.
Karl James
(TheSaint)
[EMAIL PROTECTED]
http://theufl.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$year_split = date(Y);
$chars = chop($year_split);
$chars[0] // = 2
$chars[1] // = 0
$chars[2] // = 0
$chars[3] //= 4
# end code
I hope that will help
From: Louie Miranda [EMAIL PROTECTED]
Reply-To: Louie Miranda [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP] help me
Help me split chars w/o spaces by 2... like: 2004
How can i make it?
first: 20
second: 04
Im working on this..
# begin code
$year_split = date(Y);
$chars = preg_split('//', $year_split, -1, PREG_SPLIT_NO_EMPTY);
# end code
But it splits the whole 2004 string..
Array
(
[0] = 2
PROTECTED]
Subject: [PHP] help me split chars w/o spaces by 2... like: 2004
Date: Thu, 9 Dec 2004 09:55:57 +0800
MIME-Version: 1.0
Received: from pb1.pair.com ([216.92.131.4]) by mc6-f24.hotmail.com with
Microsoft SMTPSVC(5.0.2195.6713); Wed, 8 Dec 2004 17:56:52 -0800
Received: (qmail 21242 invoked
On Thu, 2004-12-09 at 09:55 +0800, Louie Miranda wrote:
Help me split chars w/o spaces by 2... like: 2004
How can i make it?
first: 20
second: 04
Im working on this..
# begin code
$year_split = date(Y);
$chars = preg_split('//', $year_split, -1, PREG_SPLIT_NO_EMPTY);
# end
Miranda [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP] help me split chars w/o spaces by 2... like: 2004
Date: Thu, 9 Dec 2004 09:55:57 +0800
MIME-Version: 1.0
Received: from pb1.pair.com ([216.92.131.4]) by mc6-f24.hotmail.com with
Microsoft SMTPSVC(5.0.2195.6713); Wed, 8 Dec 2004 17:56:52
Hello All,
I am a new member of this group and in the world of PHP;-)
In my company, around 12 web pages are there. So, I want to make a web
portal in PHP from where all these web pages can be accessed.
Also, I want to provide the link for the web pages ( will make three
categories) in
-Ursprüngliche Nachricht-
Von: Tomar Rajeev (ext) [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 3. Dezember 2004 16:20
An: '[EMAIL PROTECTED]'
Betreff: [PHP] help plss.!!!
Hello All,
I am a new member of this group and in the world of PHP;-)
In my company, around 12 web
Tomar Rajeev (ext) wrote:
Hello All,
I am a new member of this group and in the world of PHP;-)
and I guess to mailing lists in general too. You should give a hint
about your problem in the subject.
In my company, around 12 web pages are there. So, I want to make a web
portal in PHP from
I think u have to go for
http://www.w3schools.com
Thnx for joining the group
Ankur Dave
Quoting Tomar Rajeev (ext) [EMAIL PROTECTED]:
Hello All,
I am a new member of this group and in the world of PHP;-)
In my company, around 12 web pages are there. So, I want to make a web
Tomar Rajeev (ext) wrote:
I am a new member of this group and in the world of PHP;-)
In my company, around 12 web pages are there. So, I want to make a web
portal in PHP from where all these web pages can be accessed.
Also, I want to provide the link for the web pages ( will make three
Hey,
I was happily using GET command line variables in my project under php 4.3.4
but when I upgrade to 4.3.9 they no longer work I can make them work by
changing back to my prior version of php but would rather use the newer one
can anyone explain why this may happen.
here is some sample
Eamon Reyn wrote:
Hey,
I was happily using GET command line variables in my project under php 4.3.4
but when I upgrade to 4.3.9 they no longer work I can make them work by
changing back to my prior version of php but would rather use the newer one
can anyone explain why this may happen.
Please
alteration of the contents of
this message by a third party or as a result of any virus being passed on.
-Original Message-
From: Eamon Reyn [mailto:[EMAIL PROTECTED]
Sent: 28 November 2004 10:37
To: [EMAIL PROTECTED]
Subject: [PHP] Help with GET variables which do not work after
I upgraded to PHP 5 and now I am having some problems with DB.php.
2 problems:
1. I get this notice
Notice: Undefined property: DB_mysql::$disconnect
2: the $db-query no longer works. I have gone as far as to place this line
at the beginning of the file:
set_include_path(.:/usr/local/lib/php);
* Thus wrote Todd Alexander:
Hello all,
I am a complete newbie to php so apologies for what I'm sure is a
simple/dumb question. I want to use php to include another html doc in
an existing set of documents. In other words 123.html will use php to
call on abc.html so I can make changes to
Hello all,
I am a complete newbie to php so apologies for what I'm sure is a
simple/dumb question. I want to use php to include another html doc in
an existing set of documents. In other words 123.html will use php to
call on abc.html so I can make changes to abc.html and have it update
on all
Todd Alexander wrote:
Hello all,
I am a complete newbie to php so apologies for what I'm sure is a
simple/dumb question. I want to use php to include another html doc in
an existing set of documents. In other words 123.html will use php to
call on abc.html so I can make changes to abc.html and
Hi Todd,
Maybe I can show you a technique which is real helpful to me...
You can make a HTML file which you use as template, and add some
standard strings (character chains) to it... Like [TIME], or
[ACTIVE_USER]... When you open the HTML document in your browser, you
can see where your time
Rens Admiraal wrote:
Hi Todd,
Maybe I can show you a technique which is real helpful to me...
You can make a HTML file which you use as template, and add some
standard strings (character chains) to it... Like [TIME], or
[ACTIVE_USER]... When you open the HTML document in your browser, you
can
In message [EMAIL PROTECTED], Raditha Dissanayake
[EMAIL PROTECTED] writes
Todd Alexander wrote:
Hello all,
I am a complete newbie to php so apologies for what I'm sure is a
simple/dumb question. I want to use php to include another html doc in
an existing set of documents. In other words
thnx ;-)
this really is shorter, and easier to use... !!!
M. Sokolewicz wrote:
Rens Admiraal wrote:
Hi Todd,
Maybe I can show you a technique which is real helpful to me...
You can make a HTML file which you use as template, and add some
standard strings (character chains) to it... Like [TIME],
PROTECTED]
Sent: Saturday, November 13, 2004 1:16 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Help: Database Search
I've changed my logic around but still running into a
sql query error.
I've tried a number of things with no success. Here
is the error that returns on POST:
SELECT
I've changed my logic around but still running into a
sql query error.
I've tried a number of things with no success. Here
is the error that returns on POST:
SELECT PostStart, JobTitle, Industry, LocationState,
VendorID FROM VendorJobs WHERE (VendorJobs.Industry =
''1','2','3''Query failed: You
--- Stuart Felenstein [EMAIL PROTECTED] wrote:
Okay, so what did I learn.
1) That a comma delimited list (from the array) to be
used correctly in the sql statement had to use the IN
word.
$sql .= WHERE VendorJobs.Industry IN ($s_Ind);
2) I need a space between the first quotation in the
I am creating a database search form and results.
Running into a problem though.
I have two form elements, both that are fed by tables
that have int values (1, 2 , etc)
my sql statement is such:
SELECT vendorjobs.PostStart, vendorjobs.JobTitle,
vendorjobs.Industry, vendorjobs.VendorID,
You might want to try looking up the syntax for left join queries.
I think this might be what you are after.
http://dev.mysql.com/doc/mysql/en/JOIN.html
On Wednesday 10 November 2004 14:37, Stuart Felenstein wrote:
I am creating a database search form and results.
Running into a problem
--- Jon Hill [EMAIL PROTECTED] wrote:
You might want to try looking up the syntax for left
join queries.
I think this might be what you are after.
http://dev.mysql.com/doc/mysql/en/JOIN.html
It has nothing to do with left joins. It works fine
provided I do one of two things, make
On Wednesday 10 November 2004 14:37, Stuart Felenstein wrote:
But if the user decides to only use one of the
elements, then I don't want the query to return
nothing because of the And in the where clause so I
have these 2 statements that set a default value
(shown here as 0 in the event one
On Wednesday 10 November 2004 15:37, Stuart Felenstein wrote:
--- Jason Wong [EMAIL PROTECTED] wrote:
Why not build your sql query according to whether or
not whatever you want is
selected or not. That way debugging is easier as
you won't be looking at
queries that contain redundant
What about doing something like:
$sql = SELECT * FROM my_table WHERE col1=$var1;
if (isset($var2))
$sql .= AND col2='$var2';
HTH
Graham
-Original Message-
From: Stuart Felenstein [mailto:[EMAIL PROTECTED]
Sent: 10 November 2004 14:37
To: [EMAIL PROTECTED]
Subject: [PHP
--- Jason Wong [EMAIL PROTECTED] wrote:
Why not build your sql query according to whether or
not whatever you want is
selected or not. That way debugging is easier as
you won't be looking at
queries that contain redundant ... AND 0
Jason, How would I do that ? Care to share a
Hi All
I'm developing a fusebox PHP app and have a class in a /classes
directory that opens an xml file in a directory below the site root
using this path: ../siteconfig.xml
All of the places I have used this class from so far have been in the
site root. I am now starting some pages in a sub
Giles Roadnight wrote:
Hi All
I'm developing a fusebox PHP app and have a class in a /classes
directory that opens an xml file in a directory below the site root
using this path: ../siteconfig.xml
All of the places I have used this class from so far have been in the
site root. I am now
-Original Message-
From: Giles Roadnight [mailto:[EMAIL PROTECTED]
Sent: 09 November 2004 13:07
To: [EMAIL PROTECTED]
Subject: [PHP] help with fopen path
Hi All
I'm developing a fusebox PHP app and have a class in a /classes
directory that opens an xml file in a directory
Hi Giles,
I'm developing a fusebox PHP app and have a class in a /classes
directory that opens an xml file in a directory below the site root
using this path: ../siteconfig.xml
All of the places I have used this class from so far have been in the
site root. I am now starting some pages in a sub
I have a following PHP file TimeRotateImage.php which prints an image
?php
$curr_time = (localtime());
if ($curr_time[2] = 6 and $curr_time[2] = 17) {
PRINT IMAGE_1;
}
else {
PRINT IMAGE_2;
}
?
I want to use this script in another file to display the image. the tag
should be
img
Deepak Dhake wrote:
But i am not getting any output if i follow the above procedure. Can you
tell me how to do it? I have to have the script TimeRotateImage.php
which calculates which image to print accoring to local time and i want
to embed the file name in html tag to print it on screen.
It's
PRINT is nothing but...
TimeRotateImage.php
?php
$curr_time = (localtime());
if ($curr_time[2] = 6 and $curr_time[2] = 17) {
print img src='image1.jpg';
}
else {
print img src='image2.jpg';
}
?
this script (something like this) should be called from another script like,
?PHP
print img
Deepak Dhake wrote:
?PHP
print img src='TimeRotateImage.php';
?
did you get what i am saying? please let me know if you have some solution.
thanks
No. I must admit, It don't understand it. Let me try: You have a script
a.php which outputs this static content:
img src=b.php
b.php outputs the
Klaus Reimer wrote:
This can't work. You browser tries to download an image with the name
'img src=c.jpeg'.
Ah, I'm talking nonsense. I meant the browser tries to DISPLAY an image
with the CONTENT 'img src=c.jpeg'. The browser can't do this.
That's why you don't see anything.
--
Bye, K
Well my page doesnt have any of the spoken about elements on it yet, because I am not
clear as to go about it.
The fields I speak of are things that need to be added extra to my page.
Here is my pages code so far...
?php
require('includes/application_top.php');
Hmmm...I'm not sure I'm following you. You just want to know how to
deal with multiple drop down lists? Or do you want to be able to check
and make sure all the mandatory selections have been chosen?
-dg
http://www.rexruff.com
On Nov 2, 2004, at 4:58 AM, Garth Hapgood - Strickland wrote:
As you can see from my code, I do want to check if all mandatory fields are
selected or filled in. As well as the issue of the communicationtyes.
SO far I do not have fields or anything for the user to use, to select the
different CommunicationTypes he wants. I am not sure how to go about this
Curt Zirzow wrote:
And so on.. It's a kind of a template system... well... I need to
create a expression to get all the tags from the HTML with
preg_match_all() in order to have them in a array...
So your looking from something that starts with '{' and continues
while not a ')' ...
/{([^}]*?)}/
I have written a registration page in php and have a number of edit boxes
and drop-down lists. The lists are pulling data out of their respective
tables, whereas the edit boxes are just for saving data.
Now my main table where all my data is being saved is called Business. Onto
this I have a
Seeing the page might help.
On Nov 1, 2004, at 2:52 AM, Garth Hapgood - Strickland wrote:
I have written a registration page in php and have a number of edit
boxes
and drop-down lists. The lists are pulling data out of their respective
tables, whereas the edit boxes are just for saving data.
Now
I am trying to use Advanced Guestbook in my website
(www.tracingfootprints.com) but would like to have it match (in style,
background, etc) the other pages in the site. I've been trying to figure
out how to do that (with very limited PHP knowledge) without success. My
site is hosted by Go
It looks like you can change quite a bit by opening the body.php file
in the templates folder. If you are using FP, if you haven't
already, make sure to set it so it does not affect code. You might
want to open that in Notepad to make sure though.
On Oct 31, 2004, at 1:03 PM, Melanie wrote:
1101 - 1200 of 3172 matches
Mail list logo