Hi there,
You would use a blob or text field.
You will have to serialize the object before saving it to db.
Then when you retrieve it, you will have to deserialize it and then eval()
the object so as to active all the values.
-Original Message-
From: Gustav Wiberg [mailto:[EMAIL PROTECT
$Filename = full path and filename of original file
$Thumbnail = full path and filename of thumbnail
$WIDTH && $HEIGHT = specified for resizing
Gdlib must be installed.
$fwidth){
$percentage = round(($HEIGHT/$fheight) * 100);
$newwidth = round(($f
You would need to return both as elements of an array.
-Original Message-
From: Gustav Wiberg [mailto:[EMAIL PROTECTED]
Sent: 12 June 2007 12:08 PM
To: 'php windows' (php-windows@lists.php.net)
Subject: [PHP-WIN] Returning variable and array from function
Hi there!
I think I have done
Ini_set("display_errors",1);
Error_reporting(E_ALL ^ E_NOTICE);
-Original Message-
From: Gustav Wiberg [mailto:[EMAIL PROTECTED]
Sent: 25 May 2007 09:16 AM
To: chandar
Cc: PHP WindowsList
Subject: Re: [PHP-WIN] Warnings/Errors in PHP
Hi there!
I know that, but that wasn't my question...
: bedul [mailto:[EMAIL PROTECTED]
Sent: 22 May 2007 12:16 PM
To: Dale Attree
Cc: php-windows@lists.php.net
Subject: Re: [PHP-WIN] PHP generated Excel Spreadsheets
nope.. there were something strange with those excel 2007..
but i always use csv instead excel 2007.. well.. can u share us your script
Using PEAR :: Spreadsheet_Excel_Writer
I am having compatibility issues with Excel 2007.
Has anyone else experienced issues and got solutions?
Dale Attree
PHP Developer
Jacklin Enterprises
tel: +27 11 265 4282
mobile: +27 83 407 2911
fax: +27 11 314 2984
Set the length of rowID to 11, leave type as INT.
-Original Message-
From: Mark Abrams [mailto:[EMAIL PROTECTED]
Sent: 22 May 2007 06:52 AM
To: php-windows@lists.php.net
Subject: [PHP-WIN] Bug??? "Duplicate entry '255' for key 1 " on auto
increment
Hi All,
I have a table problem with "D
There is only a line break, if the user hits enter, otherwise the textarea
will just wrap the content.
You can use the following:
$textAreaWidth = 60; //Number of cols specified for textarea
$loops = ceil(strlen($_POST['textarea']) / $textAreaWidth);
for($i = 0; $i < $loops; $i++){
$sp
In your opening form tag
In CheckKey, check if enter was hit, if so call your AJAX function.
If the submit button was clicked, your keycode will be blank and then you
can submit the form.
Dale
-Original Message-
From: Alf Stockton [mailto:[EMAIL PROTECTED]
Sent: 08 May 2007 12:57 PM
Hi,
Does anyone know how to get the URL of the main page that makes use of an
iframe to access another page?
Kind Regards,
Dale
***
The information contained in this e-mail is confidential and m
$RP = $_SERVER['REQUEST_URI'];
$res = mssql_query($sql,$dblink) or
die($RP.''.mssql_get_last_message());
It is hitting the die() and therefore not inserting into the DB.
-Original Message-
From: Alf Stockton [mailto:[EMAIL PROTECTED]
Sent: 26 April 2007 08:06 AM
To:
Hi guys.
I am able to do select queries without any hassles, but as soon as I try
execute an insert query, I get "The statement has been terminated."
Any suggestions?
Kind Regards,
Dale
***
Setup:
- Windows XP
- Apache 1.3.27
- PHP 5.2.0
php.ini file configured. dll extensions exists.
Problem: All extensions are being loaded except php_mssql.dll
Help please!!!
Kind Regards,
Dale
Thanks guys.
I downloaded PHP 5.2.0 and removed the previous versions. Got all extensions
working.
-Original Message-
From: Niel Archer [mailto:[EMAIL PROTECTED]
Sent: 16 November 2006 03:26 PM
To: php-windows@lists.php.net
Subject: Re: [PHP-WIN] PHP DLL's
HI
Have you read the upgradin
Hi all,
I was running PHP 5.0.3RC with mysql. Then I upgraded to PHP 5.2.0 and
include PDO.
On 5.0.3, mysql works fine, but PDO doesn't.
On 5.2.0, mysql doesn't work and PDO does.
Apache keeps throwing out cannot find the specified module errors.
Any ideas?
Thanks,
Dale
Hi all,
I am having trouble connecting to SQL Server 2005. I have installed it with
mixed mode authentication.
When I call mssql_connect('localhost',$username,$password), I get a PHP
error saying unable to connect to server.
In the PHP manual, it says something about an "interfaces" fil
map.
Any ideas?
I need to be able to run PHP as an ISAPI module and not CGI.
Thanks again.
Dale
-Original Message-
From: Frank M. Kromann [mailto:[EMAIL PROTECTED]
Sent: 03 November 2006 11:02 AM
To: Dale Attree
Cc: php-windows@lists.php.net
Subject: Re: [PHP-WIN] PHP 5 / IIS 7 / Vist
Anybody got PHP 5 running with IIS 7 on Windows Vista?
If so, do you have a walk-through on how to do it or give me directions on
how to do it?
Kind Regards,
Dale
PHP on windows does not support mapped network drives, you would need to use
sockets and connect to the IP of the machine you wish to write to.
-Original Message-
From: German Piqué [mailto:[EMAIL PROTECTED]
Sent: 13 September 2006 08:25 AM
To: php-windows
Subject: [PHP-WIN] Problems acce
Yes!
-Original Message-
From: John Meyer [mailto:[EMAIL PROTECTED]
Sent: 17 August 2006 02:31 AM
To: php-windows@lists.php.net
Subject: [PHP-WIN] Installing Apache after I have installed PHP
Hi, I have a machine that is running PHP/IIS. I want to run Apache on
it. My question is: Do I
Downloaded the PECL, but when I include the php_printer.dll in my php.ini
file and restart my Apache, it keeps throwing out a entry point procedure
error.
Any suggestions?
Dale
Hi,
I have saved the content of an uploaded MS Word document into a database
table.
Now I would like to output the content without recreating the file on the
harddrive.
I believe I will have to use header("application/[what do i put here]").
Any ideas?
Kind Regards,
Dale
Where can get the above mentioned files for PHP 5.0.3?
Kind Regards,
Dale
Is there anyway to spoof the $_SESSION array?
Anyone able to help me,
I'm having to port a MySQL system to MS Access, but some of the SQL is not
working on MS Access.
MySQL statement : select * from po limit 0,20
When I execute that sql statement using odbc_exec, it says there is a synta
error in the "FROM" clause.
Please help. It is urgen
Hi,
I need your help please.
I have downloaded the API below, but I am having trouble executing SQL
statements against an
access database using a dsn-less connection.
Can you help?
-Original Message-
From: phpWalter [mailto:[EMAIL PROTECTED]
Sent: 30 November 2004 22:24
To: php-windows@
Hi
Does anyone know where I can download the latest MySQL PHP API to connect to
MySQL 4.1?
Kind Regards,
Dale Attree (NDECS)
Technical Manager - Kwik IT Solutions
www.kwikitsolutions.co.za
Tel : +27 35 786 1416
Cel : +27 83 407 2911
[EMAIL PROTECTED]
Hi,
Does anyone have or know where I can find a function reference for
MicroSoft Word as a COM object in PHP, other than the example in the PHP CHM
file and/or manual.
Kind Regards,
Dale
Hi,
Can anyone help me with regards to running Apache 1.3.27 on Windows 2000
Professional Service Pack 4.
Thanks,
Dale
29 matches
Mail list logo