PHP - problem in using database in php script

Asked By siva kumar
27-Aug-10 06:30 AM
dear friends

i created a site and sub-links in it using tabs in which the user can post a suggestion and on the other it can be viewed as a list it is working in local but not in server

pls help me what to do

sivakumar
  Gayathri S replied to siva kumar
01-Sep-10 09:17 AM
If you had used any absolute links in your local development machine, then change it to relative links if it has to work everywhere.

For example: "<img src="c:\work\images\image.jpg>" will work on your local machine but not on the remote ones. So make the paths relative. For example "<img src="images/image.jpg>". The file containing this code should be in the same folder where the "images" folder resides.
Create New Account
help
Custom Counter in Replica Database DataBase I have a custom counter in my application that has to be redesigned now that I have replicated the backend database for use with a laptop that will be taken on the road. The solution was either for my solution now because of the random generation of autonumbers now that the database is replicated. What alternatives do I have for implementing a custom counter in this scenario c- -javascript-client-si.aspx Access Replication Discussions Visual Studio .NET (1) SQL Server (1) Database (1) JavaScript (1) DataGrid (1) Sortable (1) Oddysey (1) Replica (1) The best answer for So it is not clear quite yet what the custom counter was doing or why - relative to autonumber. But that aside - one can implement an incrementer with code. If the underlying card numbering, to a new value that takes the existing max value on the laptop / local database only and seeds it by say 10, 000. So the existing value of say 28000
Split db and have backend on local PC DataBase I want to split my db for other reason than to share with tons of people and I need the backend on the local machine with the front end but in a different directory. The db front and backend do I split a db and have the backend on the same computer with a relative path? Thanks, - - Foxy Access Tables DB Design Discussions Windows Vista (1) CurrentProject.FullName (1) SHGetFolderPathA split the DB I am using the wizzard. . .and I am trying to put a relative link in the name file box. . . . however it will only exept a server location and not a local relative path like . . / My Documents / My Jewelry Data / My Jewelry Data.accdb. . . . This is a project tables ect. . . . The way you suggest to split the db. . . . will this allow for a relative path and also will the person installing from the package have to link the table
Absolute v Relative Path Help. . . DataBase Hi. I have an Access DB that resides on a network drive. Not everyone in the same. Anyone can map it with any letter (ie - drive H: M: etc). The database looks for a text file in the same root directory where the DB resides to email it. Since anyone can map there drive letter, i need a relative path to the text file. Is it possible to have the access DB look for the text file using a relative, rather than absolute path? It currently works for anyone mapped as H. See below. . BodyFile Access Discussions Office (1) Application.FileDialog (1) MsoFileDialogFilePicker (1) Office.FileDialog (1) DoCmd.Close (1) Database (1) MstrInitialDir (1) Filters.Clear (1) I am not sure exactly how to search directories Hi KLZA, Yes, this is possible. CurrentProject.Path should reveal the correct directory. However, your database *should* be split into what is commonly termed a "front-end" (FE) application file, and Each user should have their own copy of the FE application file running from their local hard drive. Please see this article for more information on this topic: Implementing a Successful
Library Database DataBase Firstly, I am not sure if Library database is the correct term. I am talking about Dbs to which you set a reference drew blanks last time. Now assuming I have several referenced (library?) databases in my main database, how do I get the names of all the forms in all the Dbs? CodeProject AllForms.Count gives me the correct number of forms if I am in that referenced database. What I think I need is a method of looping through all the different CodeProject names in the main database, but there is not a sort of CodeProjects parent object. Or somehow moving the focus Fenton (1) Access 2007 (1) Office 2007 (1) Windows 7 (1) Distributed (1) Exception (1) Relative (1) Declare (1) Library is the right term. And, No, there is not any parent object for all the code projects. Because each database only knows about its own objects (or documents), you have to use a procedure in
in advance Dajo Live Discussions SQL Server (1) Office Communications Server 2007 (1) SVRDC02.ntua.local (1) Active Directory (1) PoolDomainFQDN (1) MsRTCSIP (1) DNSHostName (1) WebComponentsServers (1) I get the Collapse All Action Action Information Execution Result Execute Action Failure [0xC3EC7884] Failed to reset the database access to the default state. Initialize Forest Object FQDN: ntua.local Local Forest: True Success Initialize Active Directory Connections Domain: ntua.local Windows 2000 Native Mode Domain: True Global Container DN: CN = System, DC = ntua, DC local Global Container Domain DC: hq-svrdc01.ntua.local Domain DC: hq-svrdc01.ntua.local Forest GC: HQ-SVRDC02.ntua.local Success Check Pools Container Success Check Active Directory Object