Please help me, turning insane!
So for three days this has been annoying me, and now I'm
close to turning insane. I've gone through code by code, tutorial
by tutorial and post by post, but it doesnt seem to work!
Please help me, and tell me why this isn't working!
Firstly you have a typo in the php....
$xml_file=fopen("xmlData.xml,"w");
should be
$xml_file=fopen("xmlData.xml","w");
I have changed it a little to use loadVars to load and send
the variables.
actionscript:
writeXml=new LoadVars();
writtenXml=new LoadVars;
submit_button.onRelease = function() {
if (heading_text.text == ""){
status_text.text = "Please enter a heading";
} else if (date_text.text == "") {
status_text.text = "Please enter a date";
} else if (main_text.text == "") {
status_text.text = "Please enter the main news";
else {
writeXml.heading=heading_text.text;
writeXml.date=date_text.text;
writeXml.main= main_text.text;
writeXml.sendAndLoad("xmlwrite.php", writtenXml, "POST");
status_text.text = "Your message is being processed. Please
hold on.";
writtenXml.onLoad=function(){
status_text.text = "Your message has been processed."; }
your Php,
<?
$heading=$_POST['heading'];
$date=$_POST['date'];
$main=$_POST['main'];
$xml_file=fopen("xmlData.xml","w");
$write_data="<br/><heading>$heading</heading><br/><date>$date</date><br/><main>$main</main >";
fwrite($xml_file, $write_data);
fclose($xml_file);
?>
Hope this helps. J
Similar Messages
-
I switched over from an iPhone to a Samsung Galaxy S3 & I haven't been able to receive any text messages from iPhones. I have no problem sending the text messages but I'm not receivng any from iPhones at all. It has been about a week now that I'm having this problem. I've already tried fixing it myself and I also went into the sprint store, they tried everything as well. My last option was to contact Apple directly. Please help with turning my iMessage completely off so that I can receive my texts.
If you registered your iPhone with Apple using a support profile, try going to https://supportprofile.apple.com/MySupportProfile.do and unregistering it. Also, try changing the password associated with the Apple ID that you were using for iMessage.
-
Can a one please help me turn off auto play for Facebook the option is no longer in my General settings why is this ?
And yet the link you posted only tells you how to do it on the Facebook App for Android. Nothing about the Facebook page is mentioned at all, or how to do it on an iPhone.
With that said, and assuming you have the most up to date version of the Facebook App, you can now turn the auto play feature Off within the Facebook App itself. Tap on the "More" icon on the bottom right, then scroll down to Settings->Videos and Photos->Auto Play. If Smart auto-Play is on turn it off. Then you can set the check mark on "Never Play Videos Automatically" which is the same as Off. -
Please help me turn off this male voice
somehow, i was pressing random buttons on my macbook pro retina and this male voice started to say everything i clicked or opened. please help me turn it of
Open System Preferences > Accessibility > Voice Over
Deselect the box next to: Enable VoiceOver -
Please help me turn on my iphone
my iphone got rebooted then it turned onn but then i turned it off so then like 5 mins later i turned it on and all it does is stay wit the apple sign in the middle and doesnt turn on ive left it there for a day and it doesnt turn on please help me and ive never had this problem
Not sure what the problem is my self but my first step would be to plug it in to my computer with itunes on...see what happens then
-
Please help - computer turns off randomly
I purchased my computer in the US in september - right before I moved to London. Mid november it died. The computer would turn on and chime, but the screen was dead. I took it to a 3rd party repair (which apple phone tech support insisted was just as good as the apple store) and they replaced the logic board. It all seemed fine until I took it home and used ichat video with my family - the computer turned off. It didn't shut down, just seemed to pause and go dead. I could reboot it and it had no recollection of incorrect shutdown with the exception of firefox. (I dont know if this is important, but every time it does this and i reboot, the sound resets to mute) I started to notice that the computer does this any time I use video functions for an extended period of time (or at least 20 minutes). I have brought it to the apple store twice, where they have repaired it twice. I have gone through at least one more logic board, a heat sink, something to do with the power adapter, as well as the battery. They cannot find anything wrong - 3 repairs later its still shutting down so I went to apple again. Unwilling to give up my computer YET again, they recommended I archive and install. I have now done that - now my computer is crawling - still crashing - and some programs decide to open up occasionally or start and stop without a crash notice. I tried to run disk utility and it froze. On top of this all, they recommended I download xslimmer to convert old power pc programs to the current intel format I'm running on my new macbook - this seems to have complicated things more. I asked them to replace the computer during my last genius bar visit, i was told that because my computer was purchased in the states they cannot replace it, and I will not be heading back to the states soon enough to have it replaced there. So anyone with any insight, please help! I bought a new computer so i wouldn't have to deal with these problems and its turning out to be more of a headache than my old powerbook g4.
I also forgot to mention that every 45-60 seconds there are two faint tick sounds coming from inside the computer.
-
Oh god someone please help me turn on my iphone
howdy!
alright so i had my iphone plugged into my friend's radio connector while the car was turned off. when he turned the key, my iphone screen went white then turned off, and it messed up the display on the radio connector.
i took it off and tried all the reboot procedures (hold home + hold, hold home+plug into computer, etc.). also, even when i plugged it in nothing happened.
someone please help me. i will offer 30 golden dubloons to the soul who delivers me an answer.
thank you very much.Ah Your warranty is void if jailbroken...That's the risk you take...
Your only hope is that during the troubleshooting steps they don't see it's jailbroken. Their normal steps in a store will include trying to boot and plug into iTunes to verify certain data...this obviously will come back with different specs being jailbroken...
So only your hope will be in the fact that it WON'T boot at all and they will just swap it out without any other steps...
If you are calling Apple and having them send one to you...I'm not exactly sure what steps they will take on the old phone when they receive it from you...it is possible they will try the same thing and if it boots and shows them its jailbroken they will void the warranty and most likely contact you to give them back the replacement or pay full retail price for it... -
HAVE A KT4 ULRA SR BOARD
AND TI 4200 G/CARD
ATLON 2400
DDR 333 MEM
THE CODE INDICATOR ON THE BACK OF THE UNIT SAYS IT IS STUCK CHECKING THE INERNAL CLOCK SPEED.
SORRY BUT I AM A BIT NEW TO THIS AND CAN NOT GET INTO THE BIOS,MONITOR BLANK PLEASE HELP ?(Not familiar with your board particularily, but i've used a lot of different ones in the past.
If you don't get anything on the monitor, often its something not connected correctly. Check your cards (start with graphics card first), and then your processor, memory etc are all plugged in correctly.
If you have a modern graphics card plugged in, check if it needs power plugged onto it, some won't power up unless the fans are powered (e.g. my voodoo 5 won't).
hope this helps. ) -
Hi, first time, and it may be the easiest question ever, I hope. When I power on my ibook, it goes to a screen with a circle and line thro it. I had a mac guru update and install and things haven't been good since.
Anyways, He did give me a secret code that by pressing a series of keys, I got a screen with three icons on it that then the curser points to the middle icon "C"? I pressed enter and then i got into the contents. Is the a hard drive by pass and what is the combination of keys? I get get into my computer at all, as I've forgotton Please help!!!
ibook clamshell Mac OS X (10.2.x)OK, so maybe not the easiest of questions; typos don't help! Thanks for the attempt, Niel, but my message wasn't clear.
The problem is that I can't get anywhere other than the screen with the circle/line. Control alt p r doesn't work, nothing. There WAS a code that worked, but I have forgotton it. I have just kept the thing asleep for the last year, no power off. What is the sequence of keys that will get me to the screen with the 3 icons? Niel? Anyone? Please! I am on a borrowed computer, a pc,and I want my mac back in action!!!! HELP -
Ohhh no. Please help me turn off inbox searching?
I just "upgraded" to Yosemite and I'm dumbfounded by the new form of searching that includes searching your inbox! Including a search of my inbox when I'm looking for a file not only drastically slows down the computer's speed, but it's also a complete waste of time. I would never use Finder to look for something related to an email I was sent (I'd use email, duh).
Please tell me that there's a way to turn this off so that Finder is only searching for files, not scanning my inbox. I have thousands of emails that have been exchanged back and forth over the years related to some of the files I've created, and would never want those turning up every time I do a basic file search!*bows to you*
Thank you so much. My computer that was functional and fast pre-Yosemite was moving at a snail's paste just to do a simple file search! -
Please help, computer turns off on its own!
New generation aluminum iMac turns off when it wants. It has happened 3 times now when I am using the computer it will just shut off.
I do not turn the computer off, as I never have with macs, but always put it to sleep when I am not using it.
After it turns off, I am able to turn it right back on using the power button and all seems to be normal.
Any ideas for me!? Please!I'm glad someone else is having this problem. Mine has shut down 3 times as well. Each time I'm doing something different - so I doubt it's related to programs that are running, etc . . .
Today I called AppleCare - they had me reset the SMC and PRAM as well as a couple other software things.
It hasn't happened again - yet - but it has only happened about once every 2-3 days.
I'll keep following for other good ideas! -
My ipad is stuck on puffin web browser screen please help cant turn it off
my ipad is stuck on puffin web browser screen and i cant turn it off how do i restart or reboot it thanks
Reset iPad
Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
Note: Data will not be affected. -
Every time that I open an Email, the senders Email adress gets automatically added to my phone contacts. Is there a way to shut off this feature?
*bows to you*
Thank you so much. My computer that was functional and fast pre-Yosemite was moving at a snail's paste just to do a simple file search! -
HOME SHARING PROBLEMS, PLEASE HELP
I'm trying to use home sharing between my laptop and desktop. I have no idea what the problem is. I am able to view my laptop's library from my desktop, but it doesn't work vice versa. The computers have different OS's, could that be the problem? According to the troubleshooting, everything should be working fine. Please help.
Try turning Home Share off then on on the MacBook Pro and then check Remote App to see if now appears and you can connect - for me it works but eventually I will have to repeat the process to get it working again.
The four digit code method still works.
OS 10.7.3, iTunes 10.6.1 and iOs 5.1.1 -
HT201269 Phone has been restoring for 2 months - please help!
I have been trying to update a new device from iCloud for the last 2 months but the update never completes. The phone is still said to be 'restoring' itself, and until this is done it won't let me update the software or anything. Please help!
Turn your phone off and connect your cable to the computer, but not the device just yet. Start up iTunes. Now, hold down the home button on your phone and plug it in to the cable - don't let go of the button until iTunes tells you it's detected a phone in recovery mode. Now you can restore to factory settings.
Maybe you are looking for
-
No video when trying to capture PAL dv tape w/Sony HVR-V1U camera
Hello there, Im attempting to Log & Capture a DV tape with "DV SP PAL" content from a Sony HVR-V1U camera using an iLink FireWire. I have deck control, timecode, and audio but no video. Instead I see bars for video w/the ominous "preview disabled" ba
-
How do I use old playlists on a new computer with my music still on an external drive?
I have a MacBook Air. I'm getting an external hard drive and plan to copy all of my files, including music, to it from my family Mac Pro. I am planning to keep the music on the external drive as there is not enough room on my laptop. I want to be abl
-
I need help ok my itunes account is saying I owe them like $39.36 or something,anyways I dont have any credit cards because of some fraud with my name so at the moment I dont have billing information and I dont know what to do about this? Also It sho
-
Counting how many times my app has been opened
I want to be able to count how many times a user has opened my application, and so every time the application launches, this number is added by one. Does anyone know how I store a long-time variable like this that will still need to be available acro
-
I have read all kinds of posts on airport , but they do not answer a question or two that I have . My daughter bought an iPod in April of this year and we were able to use the airport card in the iMac to connect to the internet . Then when Snow Leopa