READURL call on Macintosh, will not pass variables with spaces?

Here is my code and the problem. I'm trying to pass a tablename and a class with READURL name and the PHP script takes the news and returns me my classid. It works perfectly on the PC, but on a MAC, when I click on a name of class with a space I retrieve an empty string as the value of my back... Here's my code for AW and PHP... If you can help I would be grateful readlly.

http do not have spaces in the URL.

This by clicking on a class name - what happens on a web page, or AW?
Whatever it is, you should urlencode the link. Replace all the spaces in the URL
with + signs, either manually on a web page, or by using replace it
function in AW [replace ("", "+", String)]. Then, in your PHP script, you can
changing the assignment of _classname $ to include urldecode:

$_classname = urldecode($_GET["classname"]);

This should return multiple word format.

--
_______________________

Paul Swanson
Portland, Oregon, United States
_______________________

"bradsteele" wrote in message
News:e3o1ja$9gn$1@forums. Macromedia.com...
> Here is my code and the problem. I'm trying to pass a tablename and one
> classname with READURL and the PHP script takes the news and get back to me
my
> classid. It works perfectly on the PC, but on the MAC, when I click on
on one
> classname with a space I retrieve an empty string as my return
value... Here's
> my AW and PHP code... If you can help I would appreciate readlly
it.
>
>
>
> getClassID.php code...
>
><>
>
> / / DO THE NON_CACHEABLE SCRIPT
> header ("Expires: Thursday, July 26, 1990 05:00:00 GMT");
> header ("Last-Modified:".) gmdate ("D, d M Y à", time() + 300). "
"" "GMT");
> header ("Cache-Control: must-revalidate, non-cache");
> header ("Pragma: non-cache" "");
>
> / / DEFINE VARIABLES
> _table $ = $_GET ['table']. "_classes;
> $_classname = $_GET ['classname'];
>
> / / CONNECT TO THE DATABASE
> mysql_connect ("localhost", "user", "user") or die ("unable to connect to")
DB! ») ;
> @mysql_select_db ("trek") or die ("cannot select DB!");
>
> / / GET THE CLASS ID
> $sql = "SELECT classid OF ' $_table" where classname = "$_classname" ";
> $r = mysql_query ($sql);
>
> / / IF MORE THAN 1 ROW, THEN PRINTING WRONG (ERROR)
>
{> while ($row = {mysql_fetch_assoc ($r))}
> $query = $row ["classid"]; }
> print $query;
> ?>
>
>
> AUTHORWARE 7.02 CODE BELOW:
>
> - Get class ID
> If NetConnected then
> www_action: = '? action = getData.
> www_query: = "& table =' ^ tablePrefix ^"& classname ="^"
LowerCase (ClassName)
> www_URLString: = NetLocation ^ 'getClassID.php' ^ www_action ^.
www_query
> www_ClassID: = ReadURL (www_URLString, 10)
> end if
>

Tags: Authorware

Similar Questions

  • Computer hp laptop 15 will not pass the logon screen

    I go from 8.1 to 10. Had problems with USB and asked the Microsoft Chat Help. They fixed but my keyboard and wifi would not work. They tried again and after that they have restarted the computer remotely it will not pass the logon screen (time/date). The screen and the keyboard manual do not work. I have a hp laptop 15. They want to take their store service 02:30 minutes away. Any help?

    Hi @samlobos,

    Thank you for joining the HP Forums!

    I read your post that your 15 HP laptop is not going to pass the opening screen. I'm happy to help you!

    Please, try the steps in this guide, the computer does not (Windows 10). If this does not resolve the problem, contact HP telephone support for further assistance for the maintenance options. (After you fill out the information, you will receive a phone number.) If you do not live in the United States / Canada region, please click the link below to get help from your region number. Language-country selector.

    If it helps, please consider clicking on "accept as a solution." And, please click the thumbs up icon. The two icons are below this post.

    I hope that this post helps!

  • Install OSX 10.11.4 I do cleaning but R command will not work. With the help of USB keyboard so not wifi issues to to worry. Help?

    Install OSX 10.11.4 I do cleaning but R command will not work. With the help of USB keyboard so not wifi issues to to worry. Help?

    Would you like to share why you must do a clean install?

    You can try the recovery of the internet (which will work if your older model has been updated to enable of): hold command + Option + R until you see a progress bar (take a while). It will connect you to the Apple servers. When you see the utility window, choose disk utility to erase your disk and when you're done, choose to reinstall OS X.

    Computers that can be upgraded to use OS X Internet Recovery - Apple Support

    PS: Correction: I think not yours can be updated; in this case, you will need the original installation disks to wipe the drive and reinstall.

  • I adjusted the height of the message pane, and now it will not pass (and contains text that overlap in the folders pane!)

    I adjusted the height of the message pane, and now it will not move. Overlaps the text in the files pane, and it is making it really hard see my messages correctly. I tried to uninstall Thunderbird, and reinstall, but the problem is still there. Help!

    Have you tried restarting your computer?

  • My EQ extinguished and will not pass on. No EQ settings are sensitive. All the other settings are sensitive.

    IPod classic 120 GB Version 2.0.1 PC model MB562LL

    EQ off while playing with headphones and will not on. No EQ settings are sensitive.  Center dial is pressed in EQ mode, IPod switches back on the settings Menu.  This happens for all settings of the EQUALIZER.  I did a hard reset by holding down the Center button and the menu button, but it did not work.

    Try to go to the display settings on the iPod.  Select reset settings (bottom of screen).  This resets all settings on board by default (the data are not affected).  Try to use the settings of the EQUALIZER again.

  • Failed to install Microsoft Flight Simulator. Will not pass the installation wizard.

    Failed to install Microsoft Flight Simulator, Version Deluxe 2010. I am running Windows 7 Ult 64 bit. The program will not install, it's an error that it cannot find the file. I tried everything, but it does not install. This is the full version of three discs.

    Following up on this question. I have install and it will go through the wizard of the insulation. Then, it will come with a large screen. He stays there and then says after 15 minutes. «Unable to launch vcredist_ * 86.exe.» I press ok and a error number "the system cannot find the path specified in 3. Press ok and then it states that the system has not changed except for... »

    I am convinced that Flight simulator is not intended to be run on a 64-bit computer that is very disappointing. I have a program which should install without all the aggravation I had to endure. If you run them 64-bit machines do not buy this product. I tried since it first came out. I feel at the moment where I get it going it will be a version dated date out. Wait until there is a version dedicated 64-bit, you will save yourself a lot of grief. I have an Asus dual core Centrino 2, 2.6 GB h. computer laptop with 4 GB memory. I install my DVD direct program. It worked when the computer is a 32-bit computer.

    Clive Ballantyne

    What finally worked for me when I tried to install MSFSX Gold Edition has been that I copied the disc 1 FS to my office.  Then I copied the contents of the FS 2 disc and put the files in the same folder.  When're asked you if you want to replace the files with the same name on both drives say no.  It seemed to work well for me when nothing else did.

    I haven't read of anyone doing this exactly, it's my own invention/workaround bit AFAIK. Hope this works for all of you who cannot make it work otherwise.

    System:
    ASUS G50v-t
    Intel Core 2 Duo Centrino 2, 2.26 GHz
    NVIDIA GeForce 9800 m GS 512 MB
    4 GB of Ram
    Windows 7 Professional 64 bit

  • Callback thread will not end, problem with CNVDisposeData?

    I have a problem with a thread of reminder on a RT system. I work with CVI 8.5 on the pc and the engine Runtime 9.0 on the RT system.

    I use a client-server architecture, the client writes data to a network 1 d variable, the server is informed via a connection to the Subscriber and frees a callback function. My problem is, this callback function is launched in another thread (not the main thread) and is not over. I reduced the problem as much as I could, right now the only thing I do in my callback is to have the CNVdata. The problem occurs when the callback is released, create and destroy the connection to the Subscriber without calling the callback does not lead to any problems.

    The real problem with this, is that when my program ends, there are still threads running on the RT system, which can lead to problems later (I have a multi-day-measure application that crashes always at the same time, so I must really have it clean) to the left.

    I'll try to post a snippet of code to make sure you get what I'm doing (all in the main RT, for simplicity):

    CNVCreateSubscriber (serveurnom, dataCallback, NULL, NULL, 3000, 0, & dataSubscriber);

    While (!.) () RTIsShuttingDown &! error)
    {
    ProcessSystemEvents();
    Sleep (100);
    }

    CNVDispose (dataSubscriber);

    ProcessSystemEvents();

    CloseCVIRTE();

    My point basically looks like this:

    Sub CVICALLBACK dataCallback (void * handle, CNVData data, void * callbackData)
    {
    CNVDisposeData (data);
    }

    When I look at my son when running, I see from the callback thread, when I'm inside, but it's still there afterwards. In addition, what is CNVDisposeData supposed to do? The variable 'data' retains its value even after disposing. I don't see any change at all.

    I would appreciate any comments or ideas, I have tried to solve this problem for a few days and really don't know what else I could try!

    Yes, for the network variables, callbacks are called on a dedicated worker thread. Do not calls to ProcessSystemEvents - network variable reminders will be always called. You must call CNVFinish at the end of RTmain to ensure that the worker thread comes out cleanly. If your variable is hosted (configured) on RT target, then the worker thread can continue to operate even after the call to CNVFinish - I recommend that you host the variable on another machine, said the Windows host.

  • passing variables with "ProgressEvent.PROGRESS.

    Hi all, I have this code:

    imgContainer.contentLoaderInfo.addEventListener (ProgressEvent.PROGRESS, function() {loadProgress (charger)});

    function loadProgress (aa): void {}

    var percentLoaded:Number = Math.round ((event.bytesLoaded/event.bytesTotal) * 100);

    trace ("loading:" + percentLoaded + "%");

    percentCar = percentLoaded * 3;

    AA. Width = percentCar;

    AA.x =-percentCar/2;

    }

    but does not work because of the way in loadProgress no event is to calculate bytesLoaded ecc...

    How can I pass variables in this formula?

    Thank you very much

    use:

    imgContainer.contentLoaderInfo.addEventListener (ProgressEvent.PROGRESS, loadProgress);

    function loadProgress(event:ProgressEvent):void {}

    var percentLoaded:Number = Math.round ((event.bytesLoaded/event.bytesTotal) * 100);

    trace ("loading:" + percentLoaded + "%");

    percentCar = percentLoaded * 3;

    Loader.Width = percentCar;

    Loader.x =-percentCar/2;

    }

    or, if there is a really good reason to spend charger in your use of function loadProgress:

    imgContainer.contentLoaderInfo.addEventListener (ProgressEvent.PROGRESS, {function (e:ProgressEvent)}

    loadProgress (e, loader)

    });

  • Firefox 18.0.01 (Mac) will not synchronize bookmarks with older versions of FF 9! 0.5.8 and 10.4.11) how can I synchronize these versions? Thank you

    Firefox has just upgraded itself to 18.0.1 on my iMac (OSX Lion 10.7.5)
    I've been using "sync." Pro ' for ten years of synchronization (or backup) my iMac to my three laptops.»

    The Laptops are all PPC (non-Intel)  iBooks of various vintages, running OS X 10.5.8 and 10.4.11.
    

    The synchs ran fine until yesterday, when FF 18.0.1 arrived

    Synchronize! Pro sync the folder of portable profiles of Firefox to the version pre - 18.0.1 in the same folder in the three computers PPC running FF / drnpcf9j.default 3.6.24 and 3.6.28.

    Now, with the upgrade to the 18.0.1, version it won't sync. The bookmarks are now located in a folder named "Profiles" that contains two new folders, none of them named the former 'drnpcf9j.default '.

    How can I synchronize (or backup) my new profiles or bookmarks for three former iBooks)

    Firefox sync will not work because older browsers is not a synchronization configuration in the menu 'tools '.

    Dear welcome suggestions.

    Thank you very much

    -GG

    Try this:

    From the computer whose bookmarks you want to copy:
    Open the "Show All Bookmarks" window.
    Click "Import and Backup" and choose Backup.  Firefox will want to backup to the desktop, which is fine.
    Transfer the file to the other computers.  Again, desktop is fine.
    
    From the other computers:
    Open the bookmarks window as before.
    Choose Restore from the "Import and Backup" item, and from there, click on "Choose File".
    Again, Firefox will want to get the file from the desktop, which is where you put it.
    Click on the .json file and it will be loaded into the bookmarks.
    
  • SMS messages will not send watch with active iMessage

    So for three months, I had a problem where my Apple Watch will not send a SMS (iPhone users messages) messages when iMessage is enabled on my iPhone 6.

    Has anyone else encountered this problem? I had my watch replaced by Apple and still encountered the problem. My only work around is to disable iMessage in settings, but I'm not happy with this.

    I have paired and unpaired my Apple Watch repeatedly. I have even associated with a 6s iPhone and did NOT have this problem. Anyone else have any suggestions?

    Hello

    Check that you have enabled the following parameter:

    -On your iPhone, go to: settings > Messages > turn on send as SMS (if it is already on, it may help to toggle this setting and the iMessage off and on again).

    Otherwise, you will find that it is useful to upgrade your iPhone and Apple Watch to the latest version of the software:

    - Update the iOS on your iPhone, iPad or iPod touch - Apple Support software

    - Update the software on your Apple Watch - Apple Support

  • Want 7460: Slides of Google will not print landscape with my HP Envy 7460

    Hello - I can't get my HP Envy 7460 print Google slips into the landscape.  It prints in portrait, even when I select the landscape in the printer settings.  I use HP Chromebook 14-q039wm with Chrome OS Version 51.0.2704.106 (64-bit) and I'm connected wireless.  Any help will be appreciated. Thank you, Tim

    Hey @timo2,

    Welcome to the Forums of HP Support!

    I see you have a problem with the page orientation when printing your Chromebook to your HP ENVY 7640 e-all-in-one printer. I would like to explain why you are having this problem and provide a workaround solution that may solve this issue for you.

    This issue of guidance is located within the ePrint service. The ePrint service uses the email ePrint impression, rather than print server directly. You don't have full control over the print settings when you print from a Chromebook. Google Cloud Print has the possibility of policy changes, but it is not supported by the ePrint service using your printer. Making changes of orientation will not be an option when printing your Chromebook.

    The solution would be to print from a computer that supports the HP Envy software package full feature and pilot, or print from a mobile device connected to the same network as the printer with the ePrint App installed. The ePrint App allows you to print locally to a network without using the ePrint server.

    If the information provided has solved your problem please click on "accept as a Solution. You can also click the "Kudos, Thumbs Up" on the right to say "thanks!"

  • HP officejet pro 8600: printer will not be used with the document in the queue

    Hi people,

    can someone help me please?

    I tried all the solutions proposed-

    Check connectivity

    restarted print queue

    Remove and then reconnect the printer

    Power reset

    Cancel job again.

    I had this problem before, but something so tinkering with the queue got fine but nothing works all the time.

    I just changed the cartridges...

    No matter what other dieas welcome please

    Ashoka

    Ash,

    I could be wrong, of course; Mac is not liable for the same way as the Windows environment.

    The printer can print when the print queue of the printer is on, ready to accept a job.  If the queue of work, i.e. the service on the printer running print jobs does not print to the printer, the printer will not print the work.

    If the printer on the computer service is not to blame, then you might indeed want to accuse the printer to not receive the work.

    You can check the communication between the printer and the rest of the installation between the printer and the service that sends the work to the printer:

    You could try to put everything back once more - to include your router.

    I hope this helps.

    Maybe someone with a Mac experience can shed light on the issue.

    Click on the Thumbs - Up Kudos to show that you appreciate the help.

    I am happy to provide assistance on behalf of HP. I do not work for HP.

    Click on accept as Solution when the answer provides a fix or a workaround!

  • Kb2481109 will not download - fails with the error code 0X8007FOF4,.

    I am running W XP, this is a kind of XP update, and it will not download.  In addition, Google Chrome is not recognizing that I'm running on XP.

    You may receive a "0x8007F0F4" error code when you try to install the updates on the Windows Update Web site or the Microsoft Update Web site
    http://support.Microsoft.com/kb/958051

    and/or

    The problem is usually caused by an infection of malicious software on your computer. To prevent the computer to become unstable, Windows will not install the update.

    For Google Chrome: http://productforums.google.com/forum/#! forum/chrome

  • HP Officejet Pro 8000 Wireless will not be printed with the iPhone 5 s

    This printer as wireless that I bought used printing with IPhone or iPad in 2011 because is not on the list of Air printing devices so I was told by HP to buy a new and as it was not equipped "Eprint" HP app which is there to deal with it will not work. I was talking to sales person to avoid paying, but I can't believe this. There are printers better but makes no cela a throw away. and who wants to buy a wireless printer that used to print wirelessly? Help!

    Hi Hank, there.

    Sorry to hear that you are having a rough go with the printer.

    With respect to the 8000 wireless, I guess you've got a newbie on the phone tech rep. I couldn't understand why they said there is no work around, because I was able to get the older printers with HP troubleshooting documents. Some so that might help:

    1. install the printer on your network (if it isn't already) the software of the printer for a wireless network connection

    2. download the HP Mobile E-Print app for iOS. It should still work with non-eprint printers: https://itunes.apple.com/ca/app/hp-eprint/id299531647?mt=8

    3 take a look at this video tutorial for tips on getting started: http://www.youtube.com/watch?v=l1z1pSC8WHI

    Hope this helps

  • HP 6122 will not be printed with 990c HP Windows 7 driver

    My very old HP 6122 duplex printer worked well under Windows XP on an old door.  Bought a Dell w/Windows 7 (64-bit).  Printer is connected to a USB port.  Went to the HP site and was referred to the Microsoft site.  Got a replacement pilot (990c) and installed it.  Test page will not print.  Uninstalled, reinstalled several times.  No error message.  Troubleshooting fix is to remove the test page for the queue.  Still does not work.  The disk supplied with the printer is not readable.  I like to keep the printer if possible.  Any ideas would be appreciated.

    Do you have the driver through Windows Update or some third party sites 990c?

    See the 18/01/2011 22:50 Bob_Headrick here-->http://h30434.www3.hp.com/t5/Other-Printing-Questions/Deskjet-6122-amp-Windows-7/m-p/230353/highlight/true#M14112 message

Maybe you are looking for

  • Search through the open tabs and Windows

    I usually have a LOT of tabs open in multiple windows. Sometimes I need to find a needle tab and it is especially in a haystack. Is there a way to search for words or phrases through multiple open Firefox windows/tabs?

  • Skype services are limited in Alaska?

    I'm finishing my Skype account configuration. I live in Anchorage, Alaska and need a local number for people to call. This option is not available in the installation process. When you are trying to contact Skype support, I get a message that the cus

  • How to make graphic XY interpret several plots of a While loop

    I am a student of Georgia Tech researching prefabricated FETs, relatively new to LabVIEW, and I write a LabVIEW vi for the characteristics of output. Basically, a curve of Ids vs Vds with Vgs (curve tracer) evolution. I'm controlling a power supply v

  • installation of automatic updates

    During the installation of upgrades, received notice that Setup could not be completed due to the error #5... How can it be solved? In addition, a notice to upgrade the flash player... How?   Error #5 error messagerelated to the flash player's view

  • Error in executing oehr_sample_objects_installer.sql

    HelloI'm using the version of Oracle Apex ( 4.0.2.00.09)When I try to import a sample script SQL (oehr_sample_objects_installer.sql) the use of the Application Builder, I get the following error.1 error has occurredNOT COMPATIBLE (your export may con