| |
thread by: eli.hen |
last post Nov 2 '05 by: eli.hen
Hi,
I used to run the next command on ImageMagick v5.5.7 to resize an
image:
convert -size 64x64 in.jpg -resize 64x64 +profile '*' -type Optimize
out.jpg
When upgraded to ImageMagick v6.2.5 the same command fails with the
error:
|
thread by: |-|erc |
last post Nov 2 '05 by: |-|erc
Here's a test program that should output Members:0
but instead I get "I cannot get data from the database!".
Its as if the tables are not there but I have created them, does
anyone know why this would work on one server but not another?
<?php
function sql_get_result($sql) {
global $link, $result;
if ( !($result = mysql_query($sql,...
|
thread by: Peter |
last post Nov 2 '05 by: Peter Jay Salzman
Hi all,
Quite by accident, I found the mysqldump utility, that comes with MySQL,
which dumps/backsup a database, table, or record. It looks very versatile!
Does PHP have a way to export records of a MySQL database? Anything that
does the same independent of the database used?
Pete
|
thread by: bernie |
last post Nov 2 '05 by: bernie
Howdy,
Does anyone know if there is a publicly available list of vin numbers
codes at least down to the model level?
I'd like to write some code for a site I'm working on to find the make
and model from a vin number, but I need some sort of database, or list
of models first.
Thanks!
|
thread by: paddy_nyr |
last post Nov 2 '05 by: Volker Hetzer
What is the correct syntax for calling an oracle stored procedure and
getting a retrun value? I created a simple procedure on my oracle database
for testing and yes I know I could do this in a function but I have a more
complex procedure that I have created for the creation of reports. I'm
trying to use ora_parse and ora_bind without much...
|
thread by: cover |
last post Nov 2 '05 by: Ian B
For lack of a better input method, I'm thinking of a form with many
input fields (i.e. 25) for users to enter equipment related
information. As I think about connecting and entering into a MySQL
database, 25 fields or so on one table seems like a lot so I am
thinking about breaking it up into categories. For example the
database...
|
thread by: jens |
last post Nov 2 '05 by: jens
I was wondering if anyone could tell be whether it's possible to
instruct preg_match not to save subexpressions matches under 0, 1...n
keys when using named subexpressions; I.e instruct preg_named to
matched under their names only,
and not under their numbers. E.g. take the following example:
<pre style="width:100%;text-align:justify">...
|
| |
thread by: lkrubner |
last post Nov 2 '05 by: Justin Koivisto
Hi. I'm messing around with some stuff in an .htaccess file. Among
other things, I'd like to send my html files to the PHP parser. I'd
also like to rewrite the urls using Apache mod_rewrite, so that the
query string disappears, but the variables are still recorded. For all
these tasks, I need to know the PHP path. When I run phpinfo, I see...
|
thread by: lkrubner |
last post Nov 2 '05 by: lkrubner
My boss gave me this assignment:
"Change all the URLs on our website so that they no longer look like
dynamic URLs. Make them look like folders."
I spent all yesterday studying Apache mod_rewrite so now I think a url
like this:
http://www.mydomain.com/category/50/
|
thread by: >>Shailesh |
last post Nov 2 '05 by: Richard Brooks
hi,
my script(IMAP email client) is sending mail using imap_mail()
function.
imap_mail($To, $Subject, $Body, $headers);
$headers = "From: <$From>\n";
$headers .= "X-Sender: <$U@$DOMAIN>\n";
|
thread by: Zeeshan |
last post Nov 2 '05 by: Ewoud Dronkert
Hi everybody,
How can I get rownum using MySQL queries ,
In Oracle one can you in this way SELECT rownum as srno, fname FROM
tablename
suppose If there are 45 records and if i use while for the
srno should display 1, 2, 3, ... 45
query like SELECT rownum as srno, fname FROM tablename
|
thread by: >>Shailesh |
last post Nov 2 '05 by: >>Shailesh
hi,
my script(IMAP email client) is sending mail using imap_mail()
function.
imap_mail($To, $Subject, $Body, $headers);
$headers = "From: <$From>\n";
$headers .= "X-Sender: <$U@$DOMAIN>\n";
|
thread by: yawnmoth |
last post Nov 2 '05 by: Oli Filth
Say I have an file whose contents are as follows:
"test","com,ma","food"
How would I go about turning that file into an array, as follows?:
$file_contents = array('"test"','"com,ma"','"food"');
Doing explode(',',$file_contents) wouldn't be sufficient because the
resultant array would have four entries - not three - and would instead
|
thread by: Hemanth |
last post Nov 2 '05 by: Geoff Muldoon
Hello there,
Could someone pls give me pointers (or examples) on how to use PHP
(installed on a linux) to read & write MS Excel spreadsheets. So far
I've been converting a spreadsheet to text (as tab separated values)
and processing the text file. I'm wondering if I can avoid this step
and process the .xls file directly.
I found a thread...
|
thread by: rickcasey |
last post Nov 1 '05 by: Peter van Schie
I cannnot seem to get exec() or passthru() to execute a perl script;
here's the code snippet:
if ($debug) {
echo "username1 = ".$username1."<br>";
echo "dbname = ".$dbname."<br>";
echo "SESSION = ".$_SESSION."<br>";
echo "Output file = ".$outputfile."<br>";
echo "Project name = ".$projectname."<br>";
echo "Study name =...
|
| |
thread by: JLR |
last post Nov 1 '05 by: JLR
When I attempt to run PHP from the command line I get a file not found error
on "php4ts.dll".
Followed imediately with:
----------------
>php
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program
Files\Maguma Studio\php\extensions\php_dbg.dll' - The specified module could
not be found.
in Unknown on line 0
|
thread by: www.douglassdavis.com |
last post Nov 1 '05 by: Jerry Stuckle
I screwed up the permissions on my database. Basically I revoked all
the permissions of the root account on the mysql table.
To try to fix this, I went through all of the instructions here:
http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html
running:
mysqld-nt.exe --defaults-file="C:\Program Files\MySQL\MySQL Server...
|
thread by: Felix Natter |
last post Nov 1 '05 by: Felix Natter
hello,
I am getting this error with php 4.4.0 (cgi mode), apache 1.3.26 on debian
woody:
PHP Warning: session_start(): The session id
contains invalid characters, valid characters are only a-z, A-Z and 0-9 in
/home/m2004018/DOMAIN.de/shop1/includes/application_top.php on line 270
PHP Warning: Unknown(): The session id contains...
|
thread by: help |
last post Nov 1 '05 by: VS
I want to open a file and write some string between the the 3rd line and the
4th line. my code (as follows) can insert after the 3rd line but somehow it
owerwrites the 4th line. So i lost its original content. As my original file has
more than 10000 lines of code, I'm looking for a handy way to do that. Does
anyone know how I can fix it?...
|
thread by: lkrubner |
last post Nov 1 '05 by: lkrubner
I saw that this conversation took place on this newsgroup last year:
From: Alex Farran <a...@alexfarran.com>
Date: Mon, 09 Feb 2004 15:16:51 +0000
Subject: Re: MySQL Lock ?
>> I was under the impression that MySQL has some sort of queue that
>> prevents corruption due to multiple concurrent writes.
>
> If he does
> SELECT current value;
|
thread by: Epetruk |
last post Nov 1 '05 by: ZeldorBlat
Hi,
I have a mySql question here on updates to multiple tables.
Here's a simple schema to clarify things:
Structure
Table A
|
thread by: Derek |
last post Nov 1 '05 by: Derek
I have started running IIS 6 and PHP 5 and am experiencing a problem with
limited size on file upload.
The php.ini file has been altered for both post and upload sizes
I have checked the MetaBase.xml to increase the value for
AspMaxRequestEntityAllowed. I have seen a reference to
MaxRequestEntityAllowed but cannot find it anywhere.
I...
|
thread by: ben |
last post Nov 1 '05 by: Ciaran
Hi all,
I have a simple PHP page that takes values from a form and puts them in a
database (MySQL).
The code is in a file test.php, which I have typed in at the bottom of
this post (please excuse any typos). This page is not a production page -
I created it just to try and solve the £ sign problem I am having.
When I put the pound sign...
|
| |
thread by: Mauro D. |
last post Nov 1 '05 by: Mauro D.
Hi guys,
i'm trying to make a website for a jewelery so the user can print
warranties for every jewel it sold.
My first try was: let the user create an openoffice document with
variable placeholder {tag} that I substitute with the real value of $tag
and then open the document (with mimetype application/vnd. ...) for print.
Now user want...
|
thread by: Fang |
last post Nov 1 '05 by: Ian B
I want to open a file and write some string between the the 3rd line and the
4th line. my code (as follows) can insert after the 3rd line but somehow it
owerwrites the 4th line. So i lost its original content. As my original file has
more than 10000 lines of code, I'm looking for a handy way to do that. Does
anyone know how I can fix it?...
|