If script running locally-make, if the remote control-do that

Hi all

need some advice on the best way to do it, don't know if it takes even a logic like that, I can be more thinking than he.

Firstly a bit of background:

I have a site clipbucket 2.6.  works very well on the remote control.  When I install with xampp on my personal computer errors being lifted from

Call to undefined method ADODB_mysql::select()

now, I found a fix for this on their site, it is to change a line in the code:

need to 'adodb/adodb.inc.php ';

something that will make reference to the file correctly in a local environment.  Some people suggest

require ' / FULL PATH TO/adodb/adodb.inc.php ";

but this does not work for me, I get an error of not being able to find the file, it turns out that this works only on wamp or XAMPP, I use xampp

This is what works on my test server local xampp:

need to 'C:\xampp\htdocs\videoz\includes\adodb\adodb.inc.php ';

NOW MY QUESTION:

need to 'C:\xampp\htdocs\videoz\includes\adodb\adodb.inc.php ';

will not work on the remote control to reference the file correctly.

How can I make a logic to decide if a script is running on local or remote and include a filepath as a result?

If the file exist?

the root of the server?

suggestions?'

ideas?

is it still the right way to go on this subject?  I can't find a way for scructure include working with both, I disabled it to use variables in the include statements (regardless of its name), ha

any suggestions on how to do this effectively and above all safely?

Thanks a ton for your attention!

You can do something like this:

If ($_SERVER ['SERVER_NAME'] == 'mylittlehost') {}

to do this

} else {}

do this

}

.. and Yes, to answer your question, it's a good way to go about it.

Another way is to have an include with a set of functions, etc., which is for your local site and an inclusion of the same name which contains comparable functions for the remote site, but the day may come when you accidentally download your local version of the remote control, causing the remote site to break.

Tags: Dreamweaver

Similar Questions

  • Uninstalling Java problem: "the installation source for this product is not available. Make sure the source exsists and that you can access. »

    Hi, I'm having a little trouble trying to uninstall Java, so I can reinstall it. I get this error message:

    "The installation source for this product is not available. Make sure the source exsists and that you can access. "When I try to find the installation package to uninstall. I'm the only person on my laptop Windows Vista Ultimate, and I am the administrator on the computer. I can't find something when I search for it during the uninstallation. When I go on ' computer > disc Local (c) > Progam Files > Java' I see a whole bunch of files, but I can't find the installation package with the 'Installation .msi package' at the end. I find 'install.rdf '.

    I was wondering if anyone can help find me the source for Java, so I can uninstall and reinstall so my Java work properly.

    Java has been uninstalled before when Elluminate program my brother (online meetings of his school) and I guess when he was relocated something went wrong, but I have 2 Java programs. One by one by Sun Microsystems Inc. and Oracle and I am trying to install are Sun Microsystems Inc..

    Help, please!

    Corky (Corkster)

    Java issues are best handled by people in the Java forum:

    http://Java.com/en/download/help/index_installing.XML?user_os=Vista

    http://Java.com/en/download/help/index.XML For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • Cannot get Windows Media Center to learn the remote control codes decoder

    I'm trying to put in place my TV card in Windows Media Center in Windows 7.  The card is a Hauppauge HVR 2250, which has a blaster/IR receiver.

    The configuration of the set-top box tells me to point the remote at the receiver and "hold" the number 0.  The problem is that the remote control supplied with the set-top box (Motorola RG2400) is not constantly emits the same IR signal when I press and hold the button - signal IR lasts only about a year and a half seconds before turning off. This does not seem to be sufficiently long for Windows Media Center and never detects the signal.

    Can I make it work?

    Hello

    Looks like the remote is faulty I recommend you do replace from the cable/satellite for a replacement/repair provider.

    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Programming of the remote control

    I am able to program the buttons on the remote without problem but I have more than 60 deployed MD and would like to be able to program them all at once.  Is there a way to the DMM to write an application of advanced task that will program the remote button?

    Thank you

    Al

    Alan,


    Here's a technical tip I wrote on the programming of the remote control through the

    a HTTP mib.  Just create a task advanced under the task system

    for each color button.  Test & check if it works on a single DMP first and

    then send task for each color button to all of the DMP.  Once it is

    finished make sure you that you SAVE the configuration.


    If this answers your question, take the time to mark this

    discussion answered & rate the answer.


    Thank you!


    T.



    ******************************


    You can use DMP MIBs to reconfigure the DMP Remote Buttons. VARIABLES =========   admin           = DMP Web Account Username   default         = DMP Web Account Password   a.b.c.d         = IP Address of DMP   dmm.company.com = FQDN of the Digital Media Manager(DMM) Appliance MIBS ==== ** Use the Following MIB to see the CURRENT Remote Mappings https://admin:[email protected]/* */:7777/get_param?p=*.*&init.pop_enable=false ** Configure Buttons RED https://admin:[email protected]/* */:[email protected]/* */[email protected]/* */Dwww.cisco.com%22 GREEN https://admin:[email protected]/* */:[email protected]/* */[email protected]/* */MD%3Dhttp://www.google.com%22 YELLOW https://admin:[email protected]/* */:[email protected]/* */[email protected]/* */_CMD%3Dhttp://www.yahoo.com%22 BLUE https://admin:[email protected]/* */:[email protected]/* */[email protected]/* */%3Dhttp://www.apple.com%22 ASSIGN A BUTTON TO CAST https://admin:[email protected]/* */:[email protected]/* */[email protected]/* */Dhttp://dmm.company.com:8080/etv-flash-webapp/app/etv_24_.htm%22 ** Use the Following MIB to see the NEW CONFIGURED Remote Mappings https://admin:[email protected]/* */:7777/get_param?p=*.*&init.pop_enable=false ** Save NEW CONFIGURED Remote Mappings on DMP    -> Use the ADVANCED TASK to SAVE the DMP Settings.    -> or Directly on the DMP using the DMP-DM Web Admin    -> or HTTP MIB          ie.          https://admin:[email protected]/* */:7777/set_param?mib.save=1          https://admin:[email protected]/* */:7777/set_param?mib.save=1&mng.reboot=1 

  • Ring of the remote control for a updated firmware A77 camera REQUIRED emphasis comments functionality and design?

    Hello
    It is a good complaint and at the same time a good stand on a feature I'd neeeeeed really put in an update of firmware for the camera of the A77 as soon as POSSIBLE (as soon as Possible) like others, I have already asked for what he moooooonths there!
    I have spent the money of the month and time in a machine to control the update in order to focus stacking without touching the camera... It does not give the expected results, but maybe after all, I will succeed.

    But of course, it would look pretty cheap technology around an expensive Sony which does not any Thetering for this device 3 times the price other cameras with this feature, "Thetering", a term which means remote control the camera from a computer or IPod, mobile phone, etc.

    FUNCTIONALITY NECESSARY:

    Everything is necessary at least to do something, would be the ability to reallocate the shutter half pressed the button to advance a specific step. When the focus is narrow, few measures are necessary, but it goes further, steps may be greater. The camera would limit its course to the limits of the focus ring. Once the button out (so not half or completely down) or when the update has reached the limit of development more far, it would be to take a last picture and bring focus back to its position closest to you, ready for the next batch of photo.

    Pictures would be taken when completely down. If the focus is not the position of the closet before splashed the process, we could do it manually or select an option from the menu.

    Another possibility would be to reassing these 2 keys of the remote control features: a to make one step back, one to make a step forward. The advantage of the 2nd button that allows a remote control, would be the possibility of backwards if we went off for a step.

    Overall, it would take very little programming to do this. (mainly add a menu option and the operation of each time button x is pressed, focus moves a step forward, a step being of size proportional to the distance according to a simple formula. Same thing for a button Y in the opposite direction.

    (1) what is the best way to communicate this request to the right people?

    If someone expect this feature too, please comment!

    (2) also, where we communicate comments on design issues?

    Thank you

    Hello Mark,

    Welcome to the community forums of Sony

    Thank you for your comments and feedback for the SLT - A77.  The answer to both questions is, Right Here.

    We are able to pass all your firmware requests and comments and suggestions regarding the product directly to the Digital Imaging Group.

    We can't promise or provide an ETA, however, we listen and as owners of the NEX-7 can attest, we can impliment when we can.

  • Tandberg Edge 95 MXP Password reset via the remote control

    Hello

    I try to reset the IP password via the remote control and still get the complaint that the password must be at least 8 characters and the number. I tried all combinaiton of 8 characters and 1 number, 8 characters and 2 numbers, 6 tanks and 2 numbers, 4 characters and 4 numbers, number 8 characters and 1 number 1 and so on. Is there something special about looking for the system?

    Thanks for the support!

    PS. When I telnet into the system, it shows TANDBERG Codec Release F7.2 PAL / SW Release Date: 2008-10-31, so I guess it is 7.2.

    Do you know if strict password is enabled or not?

    By default, that is, unless you have turned it off at some point, which will ask for a password at least 15 characters that contains 2 lowercase letters, 2 caps, 2 numbers and 2 special characters.  You can check by connecting to the endpoint using SSH or Telnet and runs the API command below:

    xConfiguration StrictPassword
    Here are the steps to reset the password to access IP on a TANDBERG MXP endpoint, I suggest that you try to use the API to change the password by logging on to the endpoint by Telnet or SSH instead of the remote control. The most recent software MXP is F9.3.4, suggest you also improve your point of termination to the latest version to mitigate the security issues with the older software. You can contact TAC and advisory security cisco-sa-20140605-openssl to get a key to unlock so you can upgrade your MXP to software F9 of reference, from there, you can upgrade to F9.3.4.
  • Error step 7, creation of WebCenter, and schemas content using the remote control

    Hi all

    I have the installation of the portal WebCenter using JSK, but the failure of the process when it tries to create patterns using the remote, it shows "Time out when connecting to the database. The current values expires 30 seconds. "UCR-6090: jump main operation: validation stage of connection failure.

    This is the content of install_setup.log

    Thu Aug 14 10:12:32 CLT 2014: END STEP 6 22: Configurion of the database Instance

    Thu Aug 14 10:12:32 CLT 2014: START STEP 7 22: creation of the WebCenter and patterns content using the remote control. Estimated time is 1 minute. Please wait..

    localhost.localdomain:1521:ORCL

    Installation of patterns Begin spaces

    Please enter the password(User:sys) of the database:

    Processing of command line...

    Timeout connecting to the database. Current timeout value is 30 seconds.

    UCR-6090: jump main operation: validation step connection failure

    And the rcu.log

    14-08-2014 10:14:38.925 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.RCUCommandLineParser::process: processing command line...

    14-08-2014 10:14:38.927 NOTIFICATION rcu: oracle.sysman.assistants.rcu.backend.SilentRCUModel::performOperation: from validations...

    14-08-2014 10:14:38.934 NOTIFICATION rcu: oracle.sysman.assistants.common.dbutil.jdbc.JDBCEngine::connect: the connection to the database: user: sys, role: sysdba, connectString: (description = (address = (host = localhost.localdomain)(protocol=tcp) (port = 1521)) (connect_data = (service_name = ORCL) (server = dedicated)))

    14-08-2014 10:15:39.250 rcu ERROR: oracle.sysman.assistants.rcu.backend.validation.StepValidator::isConnectionStepValidated: unable to connect to database: timeout when connecting to the database. Current timeout value is 30 seconds.

    14-08-2014 10:15:39.250 NOTIFICATION rcu: oracle.sysman.assistants.common.dbutil.jdbc.JDBCEngine::connect: the connection to the database: user: sys, role: sysdba, connectString: (description = (address = (host = localhost.localdomain)(protocol=tcp) (port = 1521)) (connect_data = (sid = ORCL) (server = dedicated)))

    14-08-2014 10:16:39.192 NOTIFICATION rcu: oracle.sysman.assistants.common.util.SilentMessageHandler::writeToLog: timeout when connecting to the database. Current timeout value is 30 seconds.

    14-08-2014 10:16:39.192 rcu ERROR: oracle.sysman.assistants.rcu.backend.validation.StepValidator::isConnectionStepValidated: SQLFatalErrorException:

    oracle.sysman.assistants.common.dbutil.SQLFatalErrorException: timeout when connecting to the database. Current timeout value is 30 seconds.

    at oracle.sysman.assistants.common.dbutil.jdbc.JDBCEngine.connect(JDBCEngine.java:585)

    at oracle.sysman.assistants.rcu.backend.validation.StepValidator.connectDatabase(StepValidator.java:358)

    at oracle.sysman.assistants.rcu.backend.validation.StepValidator.connectDatabase(StepValidator.java:253)

    at oracle.sysman.assistants.rcu.backend.validation.StepValidator.isConnectionStepValidated(StepValidator.java:1366)

    at oracle.sysman.assistants.rcu.backend.SilentRCUModel.performOperation(SilentRCUModel.java:140)

    at oracle.sysman.assistants.rcu.backend.RCUModel.startOperation(RCUModel.java:346)

    at oracle.sysman.assistants.rcu.Rcu.execute(Rcu.java:339)

    at oracle.sysman.assistants.rcu.Rcu.main(Rcu.java:363)

    2014-08-14 10:16:39.193 rcu ERROR: oracle.sysman.assistants.rcu.backend.SilentRCUModel::performOperation: UCR-6090: operation hand jump: validation step connection failure

    2014-08-14 10:16:39.193 NOTIFICATION rcu: oracle.sysman.assistants.common.util.SilentMessageHandler::writeToLog: UCR-6090: operation hand jump: validation step connection failure

    Any suggestions?

    Best regards!

    Hello

    (1) you see no error on the Setup screen? If Yes please download the screenshot?

    (2) the UCR is a failure because it is not able to connect to the database. Please make sure that you have entered the correct database details.

    Also, can you please try the following and check the box.

    Go to the location / / rcu/config /

    Take backup for the file rcu.properties, and then change the below

    JDBC_LOGIN_TIMEOUT = 30

    TO

    JDBC_LOGIN_TIMEOUT = 300

    and try again.

    Concerning

    Françoise

  • using the remote control of the DVD does not select the correct buttons?

    Hey Ya'll,

    Project is almost complete, but I ran into one, which I think is a very simple problem...

    On my main menu, I have a total of 5 buttons on 2 rows.

    Line 1 to 2 buttons and Row 2 has 3 buttons.

    The links are correct, because they work fine in preview mode, using the mouse, but also view the version on the pc using Cyberlink DVD Viewer, once again, using the mouse to select the button.

    The problem is when you use the remote control, either on the copy engraved in the DVD player, or in preview mode, if I use the directional buttons of remote controls, that he does not want to go to the buttons I suppose it must

    (Top row left to right, then down row from left to right)

    On each of the properties of the buttons Panel, I chose the right (I guess) option number (just below name) for each button... IE top left set the right value top of page 1, 2, bottom left 3, the middle value 4 downstairs and down to the right the value 5.

    Type is set to Normal, the button name and Synch text is checked (although the No button is real, each is just a Word text, in photoshop, when I did originally the menu..)

    Also the low middle button never gets selected with the remote control of the DVD... Preview, using the buttons on the remote control, he finally gets selected, but it takes a bit of comes and goes, and the highlighted button is rarely what you would expect, since direction button your pushing.

    #1 button (top left) is set to the default button, which I want, but do not know how I set that, unless it's because it was the first button, I myself made/converted to the button)

    Here, any help would be greatly appreciated... that should finish this project!

    CB

    Cowboy Bob,

    No, what you did with the binder is actually linking these buttons to the assets.

    It shows a Menu with several buttons, icon manually road buttons depressed. Once you choose manually the buttons of road, they can change exactly what will make the remote control.

    As said, when you create a Menu, buttons start at # 1 and progress upward. Each Layer Set button plus up in the Layers Palette. This is the routing of the buttons Auto gets its information and it usually works. However, if you move the buttons around, removes some, etc., the en can get confused, manually their routing is the best way to go.

    Good luck and we hope this helps,

    Hunt

  • The remote control comes charged out of the box or it must first charged?

    The remote control comes charged out of the box or it must first charged?

    It is usually quite busy, mine was about 85% when he arrived. It's a question about the pre purchase or you have a problem with your remote control works not.

  • How to stop the remote control to the setting

    How to stop the remote control to the setting

    Disable the settings > general > accessibility > voiceover.

  • For the remote controls of the Keynote?

    I want to use a remote control for a presentation in Keynote, I'll give.  It will be my first with a remote control, but which is later - should I buy a (If Yes, who?) or what is the last and the best app for me to use my iPhone as a remote control (which I prefer, a gadget to lose less!)?

    Please use a simple language with me, a digital native.

    I use my aging MacBook Pro with OSX 10.7.5, my speech is 5.1.1 and my iPhone is a 6s.

    Thank you!

    Using a method rather than another is a personal preference, my preference as a coach and lecturer working in several different locations is to use Keynote for iOS, it has built in the remote control feature:

    Tap to go to the next slide

    previous slide scanning

    Pen tool marker on the screen

    the highlighter to screen

    the iPad displays the screen of the presenter, showing the next slide and notes of the speaker of the presentation on the Mac

    There must be a wifi network present, you can connect; many businesses teaching institutions lock unregistered users by default

    The site Web of Keynote iOS is here: Keynote for iOS

  • How to recharge the remote control for Apple TV 4

    How to recharge the remote control for Apple TV 4

    Recharge your Siri or Apple TV Remote - Support Apple Remote

  • I have two Apple TV. The remote control that interferes with the other. For example, if I press stop on the distance she also those other programs. How to do this?

    I have two Apple TV. The action on each distance affects the other tv. For example if I press stop on the remote control will stop the program on the other tv to. How can I stop this from happening?

    Easy.  You must associate each ATV with one of the remotes.  Each ATV is not paired and will 'listen' to any distance.

    The trick is to cover before the other ATV when matching so the two do not listen.

    Silver or white remote control: pair or cancel the twinning of the Apple Remote with Apple TV (3rd generation or earlier)-Apple Support

    Siri remote control: http://help.apple.com/appletv/#/atvbc9953e63

    Don't know what models you have the ATV, but the whole process is the same:

    1. choose a remote control and an ATV.  Cover the front of the another ATV.

    2. hold the remote control in 3 inch they recommend, pair it with appropriate above process.

    3. choose the other remote, unlock the first ATV and block that you just paired.

    4. hold the second remote control 3 inches from the second ATV and pair it with appropriate above process.

    5. release the first ATV and enjoy.

  • 22D133B: replaced charger DVD - no play, pause, stop, etc via the remote control

    Hello

    I have a 22D1333B in for repair because it would not play the DVD. I replaced the charger DVD (part No. 75040787) and the unit will now play DVDs ok but the DVD section will not respond to the remote control.

    All other TV functions operate via the remote control without any problem. It's just the DVD section.

    I cured the last of them by exchanging the PCB on the new DVD unit with that of the old unit, but this certainly isn't the way to address this problem.

    I downloaded and installed the software on the site of Vestel and updated the software for the Toshiba site. The fault remains.

    Any help to solve this problem would be welcome.

    T.I.A.

    In my opinion the new DVD drive isn't fully compatible with the remote control (type) RC1910 that was included in the box.

    I think you should get in contact with the authorized service provider to fix this

  • Re: How to reconfigure the remote control for Qosmio F50?

    Hello
    I have a Qosmio F50, which came with a standard remote control for applications like media library etc, how do I reconfigure the keys to do exactly what I want it to do?

    For example the button power on the remote control to completely stop the machine instead of standby

    Thank you
    Dan

    Hello Dan

    Why do you think something like this is possible? What is this described in s operating manuals.
    If something like this can be done, it must be described in the manuals?

    In 10 years Toshiba has offered several different notebooks with the remote, but something like this was never possible and remote control buttons were always with defined function.
    You have some really cool ideas.

Maybe you are looking for