On 14 Jan 2004 at 18:12, Alessandro Vitale wrote:
> I would like to get the last insert id... anyone has some experience in
> using the PEAR::DB_Common::nextId() ?
>
> any suggestion would be very much appreciated.
>
> alessandro
>
> --
> PHP General Mailing List (http://www.php.net/)
> To uns
On 14 Jan 2004 at 21:16, Freedomware wrote:
> Suppose you design a standard banner for the top of your web pages and
> use an include to insert it into every page on your site, like this:
>
> include ("../../../../includes/header.php");
> ?>
>
> But you later decide you'd like to change just o
(Oops - I replied by e-mail; guess I should have posted my response to
the list.)
--- Rory McKinley <[EMAIL PROTECTED]> wrote:
> A possible option could be something like this
>
> {calling_template.php}
>
> /*State name does not have to be set statically,
> can be set from SQL query
> etc*
Hi List,
My brain needs a kick start this morning and I ask you this basic question.
How do I do a if statement asking if 1st var = a value OR 2nd var = value
I have tried this
If(($var == val) || ($var2 == val2)){
Blah blah
}
I think this is a if var == val AND var2 == val2 then onwards but
i dont c any shortcomings in the syntax, may b i'm sleepy myself
but isn't it working...
- Original Message -
From: "Dave Carrera" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 15, 2004 12:53 PM
Subject: [PHP] Very Simple one for u all :-)
> Hi List,
>
> My br
I told you it was simple and I sort of answered it myself ;-)
If(($var == val) OR ($var2 == val2)){
Blah blah
}
Sorry for the time wasting:
Note to self:
Wake up before trying to change the world :-)
Dave C
-Original Message-
From: Dave Carrera [mailto:[EMAIL PROTECTED]
Sent: 15 Ja
like this?
if ($value == $value_fetch) {
do something
} elseif ($value == $value_fetch {
do something on this matter
} else {
error
}
-- -
Louie Miranda
http://www.axishift.com
- Original Message -
From: "Dave Carrera" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, Januar
http://sk2.php.net/manual/en/language.operators.logical.php
either one of OR or || would do
Dave Carrera wrote:
Hi List,
My brain needs a kick start this morning and I ask you this basic question.
How do I do a if statement asking if 1st var = a value OR 2nd var = value
I have tried this
If((
On 14 Jan 2004 at 23:16, David Blomstrom wrote:
> --- Rory McKinley <[EMAIL PROTECTED]> wrote:
>
> > A possible option could be something like this
> >
> > {calling_template.php}
> >
> > > /*State name does not have to be set statically,
> > can be set from SQL query
> > etc*/
>
> I t
Roger Spears wrote:
Hello Everybody,
I have found a solution and/or the root of the problem. I googled on
the topic of "MS-Word" + "smart quotes".
That lead me to this site:
http://www.rpgtimes.net/rpgtimes/guide.php?guide=1
It seems that the default for Word is to have smart quotes to "on".
Alessandro Vitale wrote:
I would like to get the last insert id... anyone has some experience in
using the PEAR::DB_Common::nextId() ?
Yes. You have a PEAR DB object $db, and you do:
$id = $db->nextID('Documents');
$db->query("INSERT INTO Documents (id,title,text) VALUES
($id,'Title','Text')")
Rory McKinley wrote:
I hope this has clarified matters somewhat and not made things worse.
Absolutely; the only thing that has made matters worse so far is the
book "Teach Yourself PHP, MySQL and Apache," which had me thinking
making PHP includes was going to be a minor wrestling match. In fact,
hi,
thanks to Rory for his suggestion.
sure "mysql_insert_id()" could help. but I was looking for some trick for
accessing the result of that function without having to deal to
"mysql_connect()" again.
and i found it: PEAR::DB::getOnce("SELECT LAST_INSERT_ID()");
doesn't work perfectly but is ok.
My first question is really trivial, but I noticed that Dreamweaver
likes to display my PHP includes code like this...
When I do a search and replace function, it often jumps onto another
element's line, like this:
I changed the code to this:
and it seems to w
Hi all,
Does anyone knows of any nice PHP/MySQL program (free of course) that could
help me do a more efficient collaboration between me and my programming
partners? I've tried like 8 of them but the nice ones are pricely. I need to
upload/download files, keep track of proyects and users and leave
Tried Phpcollab ? > http://www.php-collab.com/
Humberto Silva
World Editing
Portugal
-Original Message-
From: Cesar Aracena [mailto:[EMAIL PROTECTED]
Sent: quinta-feira, 15 de Janeiro de 2004 10:19
To: [EMAIL PROTECTED]
Subject: [PHP] PHP Collaboration
Hi all,
Does anyone knows o
On 15 Jan 2004 at 0:21, Freedomware wrote:
> Rory McKinley wrote:
> >
> > I hope this has clarified matters somewhat and not made things worse.
> >
>
> Absolutely; the only thing that has made matters worse so far is the
> book "Teach Yourself PHP, MySQL and Apache," which had me thinking
> m
Freedomware wrote:
My first question is really trivial, but I noticed that Dreamweaver
likes to display my PHP includes code like this...
When I do a search and replace function, it often jumps onto another
element's line, like this:
I changed the code to this:
Marek Kilimajer wrote:
Sure you can, but I would not open a tag in one file, and close the tag
in another. This makes code very unreadable, the errors are hard to find
and also the code is not reusable.
Hm That's a good point.
Maybe I'll take another look at layers, as the table design
Hi all,
Is it possible to use create_function() to define anonymous methods
(like in Java) ?
I mean something like:
class Listener {
function listen () { return 'I am an abstract method'; }
}
$listener = new Listener();
$listener->listen = create_function ( '',
'return "I am an anonymous meth
Hello,
I have problem with encoding UTF-8 and PHP scripts. Scripts send
information about encoding and this disallow send HTTP headers. Is
possibility to solve this problem?
Jiri Nemec
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hola, PHP folk!
I am slowly getting a handle on what php/mysql can do. I have a mysql
database that I can display in a web browswer with php. That part is
working just fine, but it was the easiest part, of course.
My goal is to create an order form sort of thing were a certain quantity
of ea
Can i print on remote windows systems using php printing functions?
How can i do ?
Thank you
<<<
Ing. Alberto Garelli - Sales Executive & System Design
Cosmic S.p.A. - Filiale Nord-Ovest (WEB site: www.cosmic.it)
Via Vittorio Amedeo II n. 11 - 10121 - Torino
Corso Venezia n. 16 - 20121 - Milano
Te
From: <[EMAIL PROTECTED]>
> Can i print on remote windows systems using php printing functions?
> How can i do ?
No. Use a client side solution.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I'm suffering from installing PHP on IIS 6.0, Windows 2003 Web Edition
Server.
Any how-to ? or anyone how can write the instructions how to do it exactly ?
Your help is much much appreciated.
Best Regards,
Tareq Yaghmour
> I'm suffering from installing PHP on IIS 6.0,
> Windows 2003 Web Edition Server.
> Any how-to ? or anyone how can write the
> instructions how to do it exactly ?
I found a helpful guide to installing PHP on IIS 6.0 (Win2003). Browse
to http://www.php.net/manual/en/installation.php . Look in th
Hi,
Is there any PHP function or set of PHP files that allows me to print the
current month in calendar format ?
Greetings.
---
Carles Xavier Munyoz Baldó
[EMAIL PROTECTED]
http://www.unlimitedmail.net/
---
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
> Is it possible to use create_function() to define
> anonymous methods (like in Java) ?
I'm not exactly sure what an anonymous method is, but I do know that PHP
5.0 Beta 3 offers a new object model that includes abstract classes and
methods, which may be something you will want to take a look at
No, but HotScripts.com and PHPClasses.org (><) will have classes to do them. I'm a
fan of BosDates (can be found on HotScripts.com), but I think it might cost something
to get it.
Cheers,
Nathan Taylor
- Original Message -
From: Carles Xavier Munyoz Baldó
To: [EMAIL PROTECTED]
Gregor --
...and then Gregor Jaksa said...
%
% HTML tags.
Yes, you can nest HTML tags. The example below needs and
elements to contain the second , but in general it's fine.
% I can have something like
%
% first
%
% second table
%
% table
%
%
% and i need to convert each t
i hope someone can help it should be easy but i still don't get it.
i have a field which has numbers seperated via a comma
for example 1,2,3,12,14,23,51
now if i was to do a search for a the rows that has '2' in it i do
SELECT * FROM table WHERE ids REGEXP "2"
will it show fields that has 12 22
catch the out put of Linux
exec('cal');
and for the year
exec('cal 2004');
regards
"Carles Xavier Munyoz Baldó" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hi,
Is there any PHP function or set of PHP files that allows me to print the
current month in calendar format ?
Greetings
Hi All,
I am on a 2K Server with SQL Server 2K and will have a lot of questions on
PHP during development.
Is this the right list?
alex hogan
**
The contents of this e-mail and any files transmitted with it are
Hello Alex,
Thursday, January 15, 2004, 3:00:37 PM, you wrote:
AH> I am on a 2K Server with SQL Server 2K and will have a lot of questions on
AH> PHP during development.
AH> Is this the right list?
Yes if they are PHP related, SQL specific ones probably ought to go to
the PHP-DB list instead, o
Alessandro --
...and then Alessandro Vitale said...
%
% hi,
Hi!
%
% thanks to Rory for his suggestion.
% sure "mysql_insert_id()" could help. but I was looking for some trick for
% accessing the result of that function without having to deal to
% "mysql_connect()" again.
But how will you que
"Carles Xavier Munyoz Baldó" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hi,
Is there any PHP function or set of PHP files that allows me to print the
current month in calendar format ?
Greetings.
---
Carles Xavier Munyoz Baldó
[EMAIL PROTECTED]
http://www.unlimitedmail.net/
--
I'm using Mozilla Thunderbird 0.7 to view and post to this news group,
so I don't know if that has anything to do with this, but, after just
posting a few messages to the list, I've received a bunch of what I
consider spam to my e-mail address. The spam doesn't consist of
advertisements but of
Hi Richard,
Thanks for the welcome.
They will be PHP related I assure you. I'm a newbe
alex
> -Original Message-
> From: Richard Davey [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 15, 2004 9:03 AM
> To: Alex Hogan
> Cc: PHP General list
> Subject: Re: [PHP] New List Memegber Qu
Hello Ben,
Thursday, January 15, 2004, 3:06:38 PM, you wrote:
BR> Has anyone else experienced a similar problem, and is there a way to
BR> stop this other than marking these as spam in Thunderbird?
Welcome to the list!
You'll get alsorts like this.. often I get those highly annoying
"Please ver
Can anyone suggest a PHP solution to creating a form that gets built
after a client enters a variable? For example: an automobile
insurance form that first asks how many cars you have, and then
creates a form with fields for car 1, car 2, etc.
I have found JavaScript code that will do this, but
From: "Ben Ramsey" <[EMAIL PROTECTED]>
> I'm using Mozilla Thunderbird 0.7 to view and post to this news group,
> so I don't know if that has anything to do with this, but, after just
> posting a few messages to the list, I've received a bunch of what I
> consider spam to my e-mail address.
Comm
[snip]
Can anyone suggest a PHP solution to creating a form that gets built
after a client enters a variable?
[/snip]
php runs on your server so to build the forms based on a user entered
form field, the form has to be submitted, so you would have to use
javascript to automatically submit the for
> i hope someone can help it should be easy but i still don't get it.
>
> i have a field which has numbers seperated via a comma
> for example 1,2,3,12,14,23,51
>
> now if i was to do a search for a the rows that has '2' in it i do
> SELECT * FROM table WHERE ids REGEXP "2"
>
> will it show fiel
> Hi,
> Is there any PHP function or set of PHP files that allows me to print the
> current month in calendar format ?
>
You should write one. Here's mine, which I'm sure could be improved:
HTH
--
Lowell Allen
function display_calendar($mon, $year) {
// find current date and day of the mo
On Thu, 2004-01-15 at 09:27, Carles Xavier Munyoz Baldó wrote:
> Hi,
> Is there any PHP function or set of PHP files that allows me to print the
> current month in calendar format ?
>
I've seen many classes floating around that do this. Google should turn
up something.
--
BrianGnuPG ->
Matt Matijevich wrote:
[snip]
Can anyone suggest a PHP solution to creating a form that gets built
after a client enters a variable?
[/snip]
php runs on your server so to build the forms based on a user entered
form field, the form has to be submitted, so you would have to use
javascript to autom
I am new this.
I have a page that has multiple queries on it, I want to do doing the
following:
Query a mysql db multiple times in the same page, but i must be missing
something, I keep getting these AFTER the first queryis successful:
Warning: mysql_fetch_array(): supplied argument is not a val
i guess
SELECT * FROM `table` WHERE ids REGEXP ',2,|^2,|,2$'
should do it...
hth
toby
- Original Message -
From: "Lowell Allen" <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>
Sent: Thursday, January 15, 2004 4:39 PM
Subject: Re: [PHP] regexp with mysql
> > i hope someone can hel
El Jueves, 15 de Enero de 2004 16:42, Brian V Bonini escribió:
> On Thu, 2004-01-15 at 09:27, Carles Xavier Munyoz Baldó wrote:
> > Hi,
> > Is there any PHP function or set of PHP files that allows me to print the
> > current month in calendar format ?
>
> I've seen many classes floating around tha
$result = mysql_query("SELECT * FROM classes3 WHERE c_d_sun='1' AND
c_s_sun_1_hr='5'");
while($row = @ mysql_fetch_array($result)) {
if($row[c_s_sun_1_hr] != 5) {
echo "n/a";
} else {
echo
"$row[c_s_sun_1_hr]:$row[c_s_sun_1_min]$row[c_s_sun_1_dn]
Since the link goes directly to the picture, how do I apply the header
first? Should I apply it in the html page the link is on?
:)
Thanks!
-Mike
>
> Hello Mike,
>
> Tuesday, January 13, 2004, 5:31:47 PM, you wrote:
>
> MR> That's what I kind of thought, but this is a case where the browser
file: show.php
in your files:
or something like that ;)
hth
toby
- Original Message -
From: "Mike R" <[EMAIL PROTECTED]>
To: "Richard Davey" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, January 15, 2004 5:03 PM
Subject: RE: Re[4]: [PHP] Re: jpeg Uploader issue
>
From: "Arthur Pelkey" <[EMAIL PROTECTED]>
> I have a page that has multiple queries on it, I want to do doing the
> following:
>
> Query a mysql db multiple times in the same page, but i must be missing
> something, I keep getting these AFTER the first queryis successful:
>
> Warning: mysql_fetch_
How about:
SELECT * FROM table WHERE FIND_IN_SET(2,column);
where "column" is your table column containing the comma separated list.
---John Holmes...
- Original Message -
From: "Toby Irmer" <[EMAIL PROTECTED]>
To: "Lowell Allen" <[EMAIL PROTECTED]>; "PHP" <[EMAIL PROTECTED]>
Sent: T
From: "Toby Irmer" <[EMAIL PROTECTED]>
> file: show.php
>
> header("Content-type: image/jpeg");
> readfile("/path/to/file/".$_GET["filename"]);
> ?>
>
>
> in your files:
>
>
>
> or something like that ;)
Are you trying to get him to compromise his server? I'm sure that's just a
simple suggestio
that was explaining the prinicple.
of course you wouldn't do it like this, but pass an id to identify. you
could also send an encryption key...
- Original Message -
From: "CPT John W. Holmes" <[EMAIL PROTECTED]>
To: "Toby Irmer" <[EMAIL PROTECTED]>; "Mike R" <[EMAIL PROTECTED]>
Cc: <[EMAI
On Thursday 15 January 2004 23:49, Carles Xavier Munyoz Baldó wrote:
> > I've seen many classes floating around that do this. Google should turn
> > up something.
>
> Yes, but Google can not return me the users experience whith this classes
> for this reason I ask here ;-)
The only user experienc
On Friday, January 16, 2004, at 02:15 AM, Robert Temple wrote:
Can anyone suggest a PHP solution to creating a form that gets built
after a client enters a variable? For example: an automobile insurance
form that first asks how many cars you have, and then creates a form
with fields for car 1,
On Thursday 15 January 2004 19:52, JiÅÃ NÄmec wrote:
> I have problem with encoding UTF-8 and PHP scripts. Scripts send
> information about encoding and this disallow send HTTP headers. Is
> possibility to solve this problem?
If I understand your problem correctly, the solution is to arrange your
Hello Jiri,
I'm not sure I understand your problem (I had some trouble with your English), but
have
you tried PHP's utf8_encode() and utf8_decode() functions? Check out the PHP manual
in your native language for more information on these functions.
Cheers,
Erik
On 15 Jan 2004 at 12:52, Ji ¡
Hi All,
I am converting a page from asp that is using several drop down lists. Each
list contains part of the product list based on the product type. At the
moment it is making a connection to the db and populating a list using the
product type, closing the connection, then re-opening for ano
I have a php page to update records of a table.
There are two fields that are used to relate to other tables reason why they
are like list/menu.
The problem is that these "select" must show the list to me of elements of
the table that contains the data but the selected value must update the
t
I didn't really understand most of what you said (your English is really
confusing), but you might want to check out DB_DataObject_FormBuilder.
It will create forms for editing of DB records with select boxes for
foreign keys. There are also lots of new options in the newest CVS
version which i
I have a php page to update records of a table.
There are two fields that are used to relate to other tables reason why they
are like list/menu.
The problem is that these "select" must show the list to me of elements of
the table that contains the data but the selected value must update the
t
thanks you very much
--
-
"Are you still wasting your time with spam?...
There is a solution!"
Protected by GIANT Company's Spam Inspector
The most powerful anti-spam software available.
http://mail.spaminspector.com
"Justin
i can't show two dinamic list/menu per page. the server say: too many server
behaviors
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sorry, don't want to be off-topic, but have found something curious about MySQL
4.0.16-standard.
It does not seem to prioritise properly. Searching for 'English Canada'
(as opposed to +English +Canada)
gives me all instances of both words but does not prioritize the display order for
'English Can
Hi,
One of the sections in the site I'm developing is a training section.
Within this section there are sub sections which each need the option
of having multiple examples added. Each example will be made up of 2
sections a UL list and a 2 column table with a title and intro as well.
The way I
Hello to all.
I'm using str_replace("\r\n","\\r\\n",addslashes($campo)) to add "\" in
mysql data to send to javascript variable.
Running in my machine with win xp + iis it's all ok, but in server with
linux + apache, the javascript variable no have "\" causing error in my
script.
Anybody know ho
Hello Jon,
Thursday, January 15, 2004, 6:23:51 PM, you wrote:
JB> The way I was thinking of doing this was to have 3 tables:
JB> training_subsections
JB> training_list_items
JB> training_table_items
JB> My problem is, is it a 'reccomended' way of doing things to query the
JB> db multiple times
From: "Toby Irmer" <[EMAIL PROTECTED]>
> that was explaining the prinicple.
>
> of course you wouldn't do it like this, but pass an id to identify. you
> could also send an encryption key...
Ok. I'm sure the original poster is grateful. Hopefully, if anyone actually
searches those things called t
From: "John Taylor-Johnston" <[EMAIL PROTECTED]>
> Sorry, don't want to be off-topic, but have found something curious about
MySQL 4.0.16-standard.
>
> It does not seem to prioritise properly. Searching for 'English Canada'
> (as opposed to +English +Canada)
> gives me all instances of both words
Hello to all.
I'm using str_replace("\r\n","\\r\\n",addslashes($campo)) to add "\" in
mysql data to send to javascript variable.
Running in my machine with win xp + iis it's all ok, but in server with
linux + apache, the javascript variable no have "\" causing error in my
script.
Anybody know ho
--- Jiøí Nìmec <[EMAIL PROTECTED]> wrote:
> I have problem with encoding UTF-8 and PHP scripts. Scripts send
> information about encoding and this disallow send HTTP headers. Is
> possibility to solve this problem?
I don't understand your question, but maybe this will help.
HTTP is encoded with I
Send us the resulting javascript code.
João Cândido de Souza Neto wrote:
Hello to all.
I'm using str_replace("\r\n","\\r\\n",addslashes($campo)) to add "\" in
mysql data to send to javascript variable.
Running in my machine with win xp + iis it's all ok, but in server with
linux + apache, the jav
JoãO CâNdido De Souza Neto wrote:
Hello to all.
I'm using str_replace("\r\n","\\r\\n",addslashes($campo)) to add "\" in
mysql data to send to javascript variable.
Running in my machine with win xp + iis it's all ok, but in server with
linux + apache, the javascript variable no have "\" causing er
Ahh, i was originally thinking of having a examples table, but when
writing the post I decided it might not be nessecary :-)
ok, that bit I understand fine, it's getting the data into the DB first
that's bugging me, would something like this be ok ?
function addNews($aArgs, $aListItems, $aTable
I'm using non-cookie-based sessions for authentication on a page. The
session is set like so, which works (these values, along with the SID, are
always retrievable):
$_SESSION['user'] = $_POST['UserName'];
$_SESSION['time'] = time();
My problem is when I get to the protected site area, in which
Does anybody now,
what this error message mean?
I can see no mistace in my code:
$mode = FTP_BINARY;
$picuploadname = $picupload[$i];
$piclocalname = "../pictures/".$piclocal[$i];
ftp_put($conn_ftp,$picuploadname ,$piclocalname ,$mode);
The connection is correct and the files are putted but there
[snip]
$mode = FTP_BINARY;
$picuploadname = $picupload[$i];
$piclocalname = "../pictures/".$piclocal[$i];
ftp_put($conn_ftp,$picuploadname ,$piclocalname ,$mode);
[/snip]
You cannot put FTP_BINARY into a variable, it then becomes a string
instead of a function directive.
Cahnge to this and see if
I need to implement database record locking and unlocking. I want to prevent
multiple users of a content management system from editing the same record
simultaneously, which can result in one user's edits being overwritten. I
can use PHP to lock a record when it's opened, and unlock it when it's
up
That shouldnt matter, because FTP_BINARY is a constant, and therfore has a
numeric, or string value. The only way FTP_BINARY would become a physical
string is if there was quotes around it.
As for the problem, are you sure you have the right connection open, because
the error (STOR not understood)
I'm having a blast with PHP includes and echo functions; I never dreamed
they could be so simple and effective. But I have a couple questions
relating to head sections and search engines.
Consider the following html code:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.
I was looking into using a graphing object to make graphs from some intranet
data, but the libraries I'm looking at are all filled with plain colours and
I'd like to use a pattern. I can't find a way to use a pattern fill in the
image functions. can anyone tell me if there is a way to use a patte
Well could you do something like this:
Connect to the database
retreive the entire table into an array,
run through the array for each product category (while $i < $category count)
and put a nested loop inside to create each dropdown list (or select (in
htm))
this then removes the need to conne
From: "Freedomware" <[EMAIL PROTECTED]>
> I discovered that includes will apparently work just about anywhere, but
> echo functions apparently don't work with the tag and meta tags;
> at least, I can't see the word "Alaska" in those locations when I click
> View Source in my browser.
Look back o
[snip]
That shouldnt matter, because FTP_BINARY is a constant, and therfore has
a
numeric, or string value. The only way FTP_BINARY would become a
physical
string is if there was quotes around it.
As for the problem, are you sure you have the right connection open,
because
the error (STOR not unde
I am looking for an example of converting a TIFF image file to a PDF
file that can be viewed by the user. It would be helpful if ths can be
done on the fly using the PdfLib functions. Does anyone have some
sample code for doing this in PHP?
Todd
--
PHP General Mailing List (http://www.php.ne
You are defining the vars after the header/title has already been
processed, put it before the head.php, and it should work
-Original Message-
From: Freedomware [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 15, 2004 3:54 PM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP Includes and Echoes
hi
Very simple problems, good to see ur getting the hang of it :)
the first is, you have defined your variables after you include the page, so
that the echo is outputting a blank variable...
so instead of:
make it
';
include ("../../../../includes/javascript.php");
include ("../../../../i
hmm, well that sure is strange. cuz here http://au3.php.net/ftp_put someone
got it working...ahh i see, they used FTP_ASCII, so its the default
anyways...hmmm might be a bug, because FTP_BINARY is just a constant, so it
has a numerical value, (eg 2003 (i dont think thats it)) but in theory
ftp_put
Hello!
Tried out this simple script from a tutorial on creating PDF with PHP:
However got this error:
Fatal error: PDFlib error: [2516] PDF_findfont: Metrics data for font
'Arial' not found in
/usr/local/psa/home/vhosts/resilion.be/httpdocs/test/createpdf.php on line
23
Does anyone have an id
On Friday 16 January 2004 05:06, Todd Cary wrote:
> I am looking for an example of converting a TIFF image file to a PDF
> file that can be viewed by the user. It would be helpful if ths can be
> done on the fly using the PdfLib functions. Does anyone have some
> sample code for doing this in PHP?
Hello All,
I am having some strange problems -- code I tested a while back has broken
and I'm not sure why.
I am receiving an email with an attachment (testing.doc). when I get the
message I call imap_fetchstructure then check the length of the parts array,
which is one. It used to always be (a
Yeah, its fine, as long as your while loop ends
just after a quick glance, it looks like an infinite loop,
you might try
instead of
while (count($aListItems)){
try
while (isset($aListItems[$i])){
or
while ($i < count($aListItems)){
--
Luke
"Jon Bennett" <[EMAIL PROTECTED]> wrote in message
news
On Friday 16 January 2004 05:19, Daryl Meese wrote:
> I am having some strange problems -- code I tested a while back has broken
> and I'm not sure why.
>
> I am receiving an email with an attachment (testing.doc). when I get the
> message I call imap_fetchstructure then check the length of the p
How do you insert a php variable into a javascript function?
For instance;
function redirect() { location = ; }
alex hogan
**
The contents of this e-mail and any files transmitted with it are
confidential and
Hi all,
I have just kind of installed MMCachenow as what do i add it in my
php.ini file? as a zend extention or a PHP one? which one is
better...couldnt find any details on the websitewhats the diff anyway?
If anyone here is active on the MMCache project...think about adding a FAQ
on the
The contents of the mail file are located below
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 15, 2004 3:42 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Imap function problems
On Friday 16 January 2004 05:19, Daryl Meese wrote:
> I am having some s
How can I read 8 bytes from a binary file and cast it as a double?
sw
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 143 matches
Mail list logo