../tiff/demo.tif
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The \filedir is under the phpcode directory
c:\webroot
|
|--\application
|
|--\php_code
|
|--\filedir
Eric Bolikowski wrote:
Todd Cary [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I moved an application from Linux to my Client's NT system and is_file
Whooops...mis-sent!!
Todd Cary wrote:
../tiff/demo.tif
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I use the pdf class from
http://www.potentialtech.com
Todd
Mike Mapsnac wrote:
Hello
I want to create PDF file from PHP output. So instead of sending output
to the browser, I need to insert PHP output into PDF FILE. How that's
can be done? Looking for some short example or some
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
I am running PHP 4.0.6 on IIS and NT 4. I cannot get PHP 4.2 to run.
Is there something simple I am overlooking?
Todd
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This looks like it should do exactly what I need. Thanks for pointing that
out.
Marek Kilimajer wrote:
See function debug_backtrace(), it's available since 4.3.3
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Is it possible under PHP4 to get the name of the file that a function was
called from? To clarify, here's an example of what I'd like to do:
--- main.php ---
?php
include('include.php');
function foo(){
$include_file=file_that_called_foo();
?
Todd
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am looking for someone that is running RH 9 Linux with Php Interbase...
Todd
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
someone help me get my bearings? Do I need to get the latest php
rpm and run configure using the --with-xxx flag for each of the
modules I want included?
Lost.
Todd
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have interbase integrated with php on my RH 9 server *BUT* I lost my
notes on how I did it. What I do have is interbase.so and it is in the
/usr/lib/php4 directory.
I need to setup another server and I would like to know how to integrate
interbase with php/apache.
Todd
--
PHP General
the
configure as you indicated and then the make. Correct?
And then php expects to find the interbase.so in the same directory as
the other so's (/usr/lib/php4 )...that is where it is and all runs
fine...just need to reproduce this on a new server (backup...standby).
Todd
Evan Nemerson wrote
I notice the use of _GET in some messages. Is this the same as
HTTP_GET_VARS[]?
Where in the manual is this documented?
Todd
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
in the
record set. Suggestions welcomed
Todd
/* Display the grid */
function grid_show($id, $ct, $date, $place, $est_amt, $card, $ccn,
$session_id) {
if ($ct % 2) {
$class = Even;
} else {
$class = Odd;
}
echo(tr);
// The first column contains a link for the display
) {
print 'BASE HREF=' . $url . $page . 'p';
fpassthru($fp);
};
}
Todd
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Raditha -
I am using NS 7.1 running in Windows 2000. Which version of Netscape
are you running?
This certainly is a strange situation.
http://www.hexidec.com/ekitdemo.php
No HTML shows in the Editor window on startup with NS; it is there with
IE.
Todd
Raditha Dissanayake wrote
IE but in the Netscape browser the
encoded text is not recognized. Do you have any ideas as to why that
may be? My need for a Java based HTML Editor is so folks at my
client's business who have Macs, PCs and Linux based computers can edit
HTML based text in a PHP app.
http://209.204.172.137/editor/ekit2
/decoding a feature of IE
and not , possibly, of Netscape?
Todd
Dan Anderson wrote:
why does it work in IE and not in Netscape 7.1?
I'm pretty sure ActiveX controls don't run on anything besides MS
Windows Lockinware (TM). There are a number of other things that
netscape does
Warren -
The Java code is available at http://www.hexidec.com/ekitdemo.php.
One of the reasons I need this applet working in non-IE browsers is
that my client has staff that use Macs and need to access the site from
the field...
Todd
Vail, Warren wrote:
I'm not sure about
Waren -
I have the 1.4.2 Java Plugin installed. Using Netwcape 7.1, when you
go to
http://www.hexidec.com/ekitdemo.php
do you see HTML displayed in the editor window as you do with IE?
Todd
Vail, Warren wrote:
Turns out I needed to install NS to do some testing in the next few days, so
Warren -
you must enable Java, _javascript_ and Autoinstall in the Advanced panel
of the Preferences
In Netwcape 7.1, I only see a check box for "Run Java".
Todd
Vail, Warren wrote:
Turns out I needed to install NS to do some testing in the next few days, so I did that
went
could point me toward some literature that explains this or if
someone already has the experience and can look at the source and tell
me how, it would be greatly appreciated.
http://209.204.172.137/editor/ekit.php
Todd
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
Warren -
That works...
http://209.204.172.137/editor/ekit.php
Now the next challenge is to put the value in $text into the HTML editor with some _javascript_...any suggestions?
Todd
Vail, Warren wrote:
There may be other methods, but one that seems to be available from your form
someone point me toward some docs on this?
Many thanks!
Todd
--
inline: NewLogo.gif
Has anyone incorporated Ekit with PHP?
If you have Java 2 installed, a simple demo of the Java based HTML
editor can be seen at
http://209.204.172.137/editor/ekit.html
Todd
--
inline: NewLogo.gif
I would like to have a HTML editor on a Web site so the user can create
HTML based text. Google brings up too many matches when I type in
"Browser HTML editor Java" that do not match my needs. Does anyone
have a suggestion?
Todd
--
inline: NewLogo.gif
I would like to provide the surfer with a text input area that would
give a means of using bold, underline and different text colors. Can
this be done with PHP?
Todd
--
inline: NewLogo.gif
Is it possible to define a variable, such as:
$foo = bar;
and then do as follows to create a totally different variable:
$$foo = text here;
this seems to mean $bar = text here;.
Is this a bug or can we legally use it.
Steve
I am creating a "report" that the user can download and it is a HTML
table. Is there a way to put Page Breaks within the report so if the
user prints it, it will page break a predefined places?
Todd.
--
inline: NewLogo.gif
I have a client that insists that I use SQL Server as the DB (vs. MySQL
or Interbase). I have not used PHP's ODBC interface and I am wondering
if anyone on this list has had experience with ODBC and SQL Server.
Todd
--
inline: NewLogo.gif
OT* submitted - this is what
I want.
However, if I use an anchor, the form is submitted. Is there a way to
prevent this? Here is the code I tried:
a href="" ;"
When the above is executed, the page is submitted, and I do not want
that
Todd
--
inline: NewLogo.gif
I would like to encode and embed an image in a file that can be
emailed. Is there some documentation on how to do this?
Todd
--
inline: NewLogo.gif
Brad Pauly wrote:
Todd
Cary wrote:
Linux is quite new for me, so please forgive
me if my questions are rather basic.
I have RH 9 installed and I want to add the Interbase extensions to PHP
and then recompile Apache. Conceptually I understand what has to be
done, but I do not know
s the best solution for this?
Todd
--
image/gif
e, but I do not know the steps or syntax. Is there documentation
available for doing this?
Todd
--
inline: NewLogo.gif
What is the best way to validate a "money" input? For example, 3452.67 versus
3452..67.
Todd
--
modules though. The company is
www.ipowerweb.com
Anyway, the suggestion to make a system call looks like my best route for doing this.
I also will take a fresh look at my code to see if I can divide it up better to make
use of PHP for the image prior to running my
perl script.
Thanks,
Todd Snyder
Below was their reply to me when requesting info about the imagemagick perl module
Thank you for contacting iPowerweb technical support.
We do have image magic for PHP, but the one for Perl we do not have and cannot
install. You may or may not be able to shrink
images. Contact the creators of
eg_replace("\\[^\\]+$","",$fullpath) . '\\';
What have I missed?
Todd
--
the filename with PHP.
My hope is that their is some directive that I can output at the start that will
invoke the PHP interpreter so that my output will
be run as a PHP script rather than just HTML.
Thanks,
Todd Snyder
Code 6093, 812-854-1685
Electrochemical Power Systems
--
PHP General Mailing List
_embed($data);
$pdf-image_place($image, 50, 0, $firstpage);
In other words, I want to put the barcode date into $data and I am not sure
how to do this. Any help is greatly appreciated.
Todd
--
Is there a way to check within an application if the "gd" library has been
installed?
Todd
--
I have noticed that quite a few applications are designed with the assumption
that "register_globals = Yes"; in other words, the application does not use
$HTTP_xxx_VARS. In contrast, I always retrieve my vars.
Is there a preference?
Todd
--
Wouldn't I then have to scan the results? I use phpinfo() to checks the
client's installation, but I would like to do it within the app.
Todd
Esteban Fernandez wrote:
?php phpinfo(); ?
"Todd Cary" [EMAIL PROTECTED] escribi en el mensaje
news:[EMAIL PROTECTED]...
Is t
;
To see if it is executing, I have an Echo statement in the script.
The image.php file is in the same directory as the other script files.
What am I missing here?
Todd
--
/table;
}
Alex Ciurea wrote:
did u made copypaste with your code?
yes? then why don't you try to use the path='image.php?blahblahmoreblah'
no? then please give us more details about the error you're getting...
good luck,
Alex
- Original Message -
From: Todd Cary [EMAIL PROTECTED
put an Echo statement
in the top of image.php:
// Debug
echo "Debugbr";
Is there some setting in the php.ini file that would prevent image.php from
executing? I do have
register_globals = Off
However, I get the variables with $HTTP_POST_VARS[] statements.
Todd
Marek Kilimajer wro
for register_globals :
on or off. As i stated, my preference is to have it off.
Sorry for not setting register_globals = On right in the beginning...it
would have saved a lot of time :-)!!
Todd
Alex Ciurea wrote:
Ok Tod, this is what I understood so far:
1) image.php should generate for you a barcode;
2
I would like to have a reccommendation for a PHP class that generates a barcode.
Many thanks...
Todd
--
--with-apxs=/usr/sbin
36 ./configure --with-interbase=/opt/interbase
--with-apxs=/usr/sbin/apxs
What do I need to add to this to include the graphics library?
Many thanks...
Todd
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You'll probably
still want to get libjpeg and libpng, and link against them with the proper
configure options.
What is the correct syntax to do all of the suggestions?
Todd
Martin Helie wrote:
Well, not necessarily, since gd is included with php 4.3.x. You'll probably
still want
this.
--
Ray Todd Stevens Specialists in Network and Security
Consulting
Senior ConsultantSoftware audit service available
Stevens Services
Suite 21
3754 Old State Rd 37 N
Bedford, IN 47421
(812) 279-9394
[EMAIL PROTECTED
Can the DB be on a different server than the page server?
Todd
--
n that can intercept the Socket stream?
Todd
--
) {
fpassthru($fp);
fclose($fp);
}
?
Now I would like to open the file in a new window and I am not sure how
to do that.
Todd
--
Ariste Software, Petaluma, CA 94952 \n [EMAIL PROTECTED]
is the best way to do that?
Many thanks.
Todd
--
Ariste Software, Petaluma, CA 94952 \n [EMAIL PROTECTED]
OK! This makes sense. What is the syntax to do
b) output an appropriate header for the file type
c) pass through the actual file contents
if I were doing an HTML file - if I were doing a PDF file?
Todd
Justin French wrote:
Same way
img src='image.php?file=myimage.gif' /
image.php would
here is my code
$Query = SELECT Last_Login and Current_Login from Security where PM_ID=$_SESSION[ID];
$Getdates = odbc_do($link, $Query);
while(odbc_fetch_row($Getdates))
{
$Last=odbc_result($Getdates, 1);
$Now=odbc_result($Getdates, 2);
Now I get an error that tells me that #2 is out
I have tried this 3 different ways and none of them worked...
I am trying to get javascript to generate a popup, with a variable passed along in the
url.
echoa class=white href='javascript.openpopup()' $Unique_Id;
this doesn't work, neither does stopping PHP and then restarting...
Blah, any
);
print ERROR: $lderrstr ($lderrno)BR\n;
}
Thanks,
- Todd
Hello,
I am having issues after I upgraded from 4.0.5 to 4.3
Alot of my link pages were based in www.something.com/phptest.php?foo=9323
Now that I have upgraded, I get foo errors.
It says that it no longer gets the foo value...
how can I fix this?
THanks
-T
Hello folks,
I was wondering if anyone had anyluck with empty fields in Access.
Basically, I have an update page, and sometimes items are left blank on purpose.
but when I click to update, it gives me an error, as some fields are left blank.
Is this an access thing, or can I code around it.
I am having difficulty putting results into an form
Once the query runs, I have this for my output
print Input type=text name=foo value=;
print $Foo;
print ;
This results in an HTML error
being apache finds an error AFTER the /html tag
Any ideas?
Parse error: parse error in C:\apache\htdocs\tsadbatest.php on line 148
Its the line after the html ends
- Original Message -
From: 1LT John W. Holmes [EMAIL PROTECTED]
To: Todd Barr [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, February 03, 2003 9:59 AM
Subject: Re: [PHP] Html
Hello all
I am having issues passing vars in the url
example
here is my url
http://localhost/tsatest.php?Sub_Task=2
and here is my code
$link = odbc_connect( 'TSA','','');
$Query = SELECT * from projects where sub_task='$Sub_Task';
$Result = odbc_do($link, $Query);
All this returns is a blank
Hello,
I am having an issue. I am using an access database, where the names have
whitespace.
Now, when I try to generate a link within the php script I get just their
first name
But in the link itself I get the whole name
so the html link looks something like this
a
Access
Does anyone here have any idea how to connect access to PHP?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I have figured out how to connect it, I think
But now I get this error
I have it connected, now I am getting the following error
Warning: SQL error: , SQL state 0 in SQLConnect in c:\program files\apache
group\apache\htdocs\test.php on line 7
Any ideas?
I was just checking to see if the connection was working
This one lacked a sql statment
- Original Message -
From: Paul Roberts [EMAIL PROTECTED]
To: Todd Barr [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, January 28, 2003 11:57 AM
Subject: Re: [PHP] MS Access
that means there's
Okay...I am now having difficulty with putting things INTO the database.
The form is on another page, and links to this one.
?php
$Host=localhost;
$User=us34992a;
$Password=**;
$DBname=db34992a;
$Link=mysql_connect ($Host, $User, $Password);
$db=mysql_select_db($DBname, $Link)
or die (Unable
I am a PHP newbie, and I am having difficulty in getting my records to display
here is my code
?php
$Host=localhost;
$User=us34992a;
$Password=*;
$DBname=db34992a;
$Tablename=calendar;
$Link=mysql_pconnect($Host, $User, $Password)
or die (YOu suck1);
$db=mysql_select_db($DBname, $Link)
or
I am having a problem getting Apache to load the php4apache.dll.
I have tried putting the / and \ in every way I can think of and I
get an error that Apache cannot find
c:/active_php/sapi/php4apache.dll (and it IS there).
LoadModule php4_module c:/active_php/sapi/php4apache.dll
I have even
security of XP and Win 2K SP 3 that
does not let the dll load and run. Ever since I loaded SP 3 I have had
problems - like many others!
Now to figure why it will not let Apache load and run the dll?
Todd
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
application/x-httpd-php .php
However, I get an error when Apache tries to load the dll. Has any successfully
installed PHP and Apache on Windows XP? If so, what changes are made to
the conf file?
Todd
--
Is there a function that can be implemented with PHP to do the
equivalent of a mysqldump?
Todd
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
syntax and order for doing this?
Todd
--
Are there any instructions on how to configure the GD libraries and compile
PHP? I guess then I will have to recompile Apache so that it includes the
"new" PHP??
Todd
Scott Hurring wrote:
With RedHat, AFAIR you have to compile PHP from source
*after* first configuring the GD
any thanks..
Todd
--
I am running PHP in a RedHat 7.3 environment and I notice that the graphic
functions are not present. Since I am quite new to Linux, I would appreciate
it if someone could explain to me what I need to do to have graphic functions.
Many thanks.
Todd
--
I am able to open a socket and send POST data, however I do not know the
format of doing the same for the GET method. Here is my POST Query:
Query: POST http://209.204.172.137:80/_calendar/php/selectevent.php HTTP/1.0
Accept-Language: en-us Host: 209.204.172.137:80 Connection: close
Chris -
I must be missing something because when I execute the following code, open
the socket, and send the query, the form that the info is going to gets created
but it is corrupted. Do you see any obvious error?
Todd
if (!empty($request)) {
$path = $path . "?" . urlencod
to test
//echo('Path: ' . $path . 'brbr');
# build the absolute URL
$abs_url = "http://$host:$port$path";
//Use the echo below to test
//echo('Abs_url: ' . $abs_url . 'brbr');
# now we build our query
$query = "GET $abs_url" .
"HTTP/1.0\r\n" .
"Accept-Languag
m
not sure performing a manual request is necessary, but maybe it is.
Chris
--- Todd Cary [EMAIL PROTECTED] wrote:
# now we build our query
$query = "GET $abs_url" .
"HTTP/1.0\r\n" .
"Accept-Language: en-us\r\n".
"Host: $host:$port\r\n".
"Connection: close\r\n";
--
I have an array of months (monthList) that I use for a drop-down. I
would like to initialize the month to ThisMonth using time(). What
is the best way to get November? from time()?
Todd
--
Ariste Software, Petaluma, CA 94952
.
Is it possible to get both values?
Todd
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nd
you suggestion, which works like a champ, the use of the "[]" tells the interpreter
to treat $myvar as an array.
Todd
Marco Tabini wrote:
Sure! Just add [] to the end of the name of the field. PHP will return
all the values in an array:
select name="myvar[]"
Marc
be a problem.
Todd
David Rice wrote:
On Tuesday, November 12, 2002, at 07:34 PM, Ernest E Vogelsinger wrote:
Sure it is - just name the listbox control myvar[] (note the angle
brackets). PHP will recognize this being an array, and you'll end up
with
$myvar = array('select1','select2
this with a sample C program and a Perl script,
not to mention as I stated above PHP standalone works fine.
Im not sure what's happening to prevent the porper crypt support from
getting in. Any suggestions would be appriciated. System specs below.
TIA!!!
- Todd
()*100);
$anticache= md5(rand(0,999));
and then
echo IMG
src=\drawpic.php?arg1=blaharg2=blah.anticache=$anticache\
\n;
Since this addition, i have never had a problem with cache,
HTH
Todd.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
Realistically, there is no difference. It is *slightly* quicker to parse,
but thats about it.
I think it was introduced to satisfy those that have used this type of
syntax in other languages, like C and Perl (which users elsif).
I usually use elseif as its a bit nicer looking (IMHO)
Todd
My coding is not very concise and I would appreciate suggestions on how
to clean this up even though it works:
/* MySQL to date */
function mysql_to_date($mysql) {
$retval = ;
if ($mysql) {
$parts = explode(-, $mysql);
$mo = $parts[1];
$dy = $parts[2];
$yr =
pointers or
sites they have found on this subject..
Thanks
Alan Todd
Webmaster : Gibhut.com
icq : 159944
-- while( !asleep() ) sheep++; --
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
into a string that will be
in a valid format for use with imagecreatefromstring.
Any help at all would be greatly appreciated.
Cheers,
Todd.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What you seem to be looking for are the javascript functions, alert, confirm
and/or prompt. for a billion examples see...
http://www.google.com/search?num=20hl=enlr=ie=UTF-8oe=UTF-8newwindow=1;
safe=offq=confirm+alert+promptbtnG=Google+Search
Todd.
-Original Message-
From: Jeff
Try looking at the following paper, it looks very good.
http://conf.php.net/pres/slides/oci/paper.txt
HTH
Todd.
-Original Message-
From: Juan Antonio Ruiz Zwollo [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 2 October 2002 11:28 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Connect
be possible if you write an applet, otherwise, pretty much the only
thing you should be able to write to the hard drive is a cookie.
HTH
Todd.
-Original Message-
From: Diana Castillo [mailto:[EMAIL PROTECTED]]
Sent: Sunday, 29 September 2002 12:03 AM
To: [EMAIL PROTECTED]
Subject: [PHP
I use
meta http-equiv=refresh content=DELAY;url=http://place.to.redirect.to
Todd.
- Original Message -
From: Sascha Braun [EMAIL PROTECTED]
To: PHP Mailingliste [EMAIL PROTECTED]
Sent: Monday, September 23, 2002 9:42 AM
Subject: [PHP] Redirection
Hi,
I want to post a form
You can get vi/vim for windows, without a doubt the best editor of all time
if you can be bothered learning the commands.
Todd.
-Original Message-
From: Bryan McLemore [mailto:[EMAIL PROTECTED]]
Sent: Saturday, 21 September 2002 11:16 PM
To: PHP GEN LIST
Subject: [PHP] Editor
Hi
501 - 600 of 754 matches
Mail list logo