pdf's either.
Never used it myself, but FPDF says it can do this using the FPDI
extension.
http://fpdf.org/en/FAQ.php (see item 17)
--
Max Schwanekamp
http://www.neptunewebworks.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- that's print
quality for text. But the image should be at print resolution, i.e.
300DPI or better, preferably a 24-bit PNG.
--
Max Schwanekamp
http://www.neptunewebworks.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
such as ADODb or PEAR::DB (there are lots of others).
You'll commonly find convenience functions to do things like output
query results into an HTML table. Why waste time debugging the wheel?
--
Max Schwanekamp
http://www.neptunewebworks.com/
--
PHP General Mailing List (http://www.php.net
pretty out of date anyhow. php-editors.com is a good alternative
suggestion.
--
Max Schwanekamp
http://www.neptunewebworks.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
under php 4 cgi until the vendor updates to support
php 5. Google is unusually laconic on this, but perhaps I just offended
it with too many daft queries on the subject... :)
--
Max Schwanekamp
http://www.neptunewebworks.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
El Bekko wrote:
Max Schwanekamp wrote:
Can anyone offer or point me to a summary of differences between
running php as an Apache module vs as a cgi executable? Specifically,
I'm wanting to upgrade our servers to php 5 but there is one crucial
third-party app we're using that still needs php
/guide-to-php-security.html
PS - Hello all! This is my first post to the list; I've been lurking
for a week or two.
--
Max Schwanekamp
http://www.neptunewebworks.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
you're describing is
INSERT...SELECT syntax. In your example, something like:
INSERT INTO mytable (name, code, price)
SELECT 'NEW', code, '33' FROM mytable
WHERE name = 'BASE' /* or whatever rows you need to copy */
Supported by MySQL, PostGres and others.
--
Max Schwanekamp http
spare, PhpMailer is
reasonably quick and has proven quite stable (I've built a couple
newsletter apps using it). What's the advantage of Richard's package
vs. the Pear one (on which he is a lead dev) vs. PhpMailer?
--
Max Schwanekamp
http://www.neptunewebworks.com/
--
PHP General Mailing List
();
for($i=0;$i$recordcount; $i++)
{
$recordset[] = mysql_fetch_assoc($db_cursor);
}
//clean up, etc. [omitted]
Then use array_walk() or similar...
HTH
--
Max Schwanekamp
http://www.neptunewebworks.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
'Last Sunday\'s date was '.date(m/d/y,$lastsunday);
echo 'br7 Weeks prior to Last Sunday, the date was
'.date(m/d/y,$sunday7weeks);
--
Max Schwanekamp
http://www.neptunewebworks.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Max Schwanekamp wrote:
Jay Paulson wrote:
How would I go about getting the timestamp of a day of the week from
7 weeks
ago?
$lastsunday = strtotime(last Sunday);
$sunday7weeks = $lastsunday - (86400 * 49); // 7 weeks = 49 days
Oops, that would be the sunday 7 weeks prior to _last_ Sunday
PHP is strictly for the output. There is little
connection (or there shouldn't be anyway) between your application php
and the compiled php that Smarty produces when it parses a template file.
--
Max Schwanekamp
http://www.neptunewebworks.com/
--
PHP General Mailing List (http://www.php.net
13 matches
Mail list logo