hi
is there a way to upload the pictures to a diffrent webspace then the webspace with the sql datebase is?
rira
I would imagine that is not a recommended course of action. Possibly to successfully achieve this you would need to know enough comp. language to not need to ask this question. However, I too would be interested as to how this is done, if anyone has any theories or has done it I would like to know. I suspect that support for this request is on the bottom of a very long list. :)
John
Where is this column in the pictures mysql table?
For the adress on another server?
this is not supported and not recommended - see these postings on the old board:
http://coppermine.sourceforge.net/oldboard/viewtopic.php?t=1364
and
http://coppermine.sourceforge.net/oldboard/viewtopic.php?t=1059
If you know what you're doing, you can check http://coppermine.sourceforge.net/oldboard/viewtopic.php?t=896 and see if this works for you, but my suggestion is: get more webspace!
GauGau
Quote from: "lasa"Where is this column in the pictures mysql table?
For the adress on another server?
I have to quote Tarique's sig:
QuoteDon't! Just don't!!
This is way beyond your skills!
GauGau
webspace is very expensive in this country... the netherlands...
hm i have very much webspace without sql datebase.. and i have a webspace just with and sql database! is there no way to "combine" them? but i don´t know anything about php... :(
if you're a newbie then the short answer is "no"!
GauGau
Get a freemysql account for your big space at www.freesql.org ;)
snip... sorry, incorrect post
Quote from: "John"hypothetical: Well if cpg was written in (my preferred lang.) ASP then this task may be achieveable
John - If you dont have anything to add to the thread then don't...
Well CPG has to be changed draastically for that, but connecting to another server is easy.
$host = "123.45.67.89";
$port = "????";
// Open connection
$fp=fsockopen($host,$port,&$errno,&$errstr,10);
if (!$fp) {
echo "Can't connect";
exit;
}
fputs($fp,"GET url_or_something.php HTTP/1.0\r\nUser-Agent: Webpage (Mozilla Compatible)\r\n\r\n");
fclose ($fp);
You can also use fputs() for remotely connect database but then you need to know port, grant access from webpage IP etc. etc.
More info at: http://www.php.net/