diffrent webspace diffrent webspace
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

diffrent webspace

Started by rira, October 19, 2003, 02:59:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rira

hi

is there a way to upload the pictures to a diffrent webspace then the webspace with the sql datebase is?

rira

John

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

lasa

Where is this column in the pictures mysql table?
For the adress on another server?

Joachim Müller

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

Joachim Müller

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

lasa

webspace is very expensive in this country... the netherlands...

rira

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... :(

Joachim Müller

if you're a newbie then the short answer is "no"!

GauGau

lasa

Get a freemysql account for your big space at www.freesql.org ;)

John

snip... sorry, incorrect post

Tarique Sani

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...
SANIsoft PHP applications for E Biz

DJMaze

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/
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0