Jump to content

Javascript , reading a particular text!


Fsoft

Recommended Posts

Hey Friends,

 

Long time, almost three months I wasn't here on phpFreaks...

 

Well but as if I ever need any help in programming phpFreaks and the staff is always here !

 

Well this time I need help in Javascript :( being honest I have no experiance in Javascript so this is why I am here !

 

so.addParam('flashvars','streamer=lighttpd&autostart=true&file=http://pakheart.com/tutorial1.flv');

 

Well in this line of code , as you can see it's in <javascript> format!

 

Well, the problem is that from this entire code I want to use it in php get a variable called $tutorial1 ; and the variable when I echo it out the BOLD text should be echoed out, so it means $tutorial1 = "http://pakheart.com/tutorial1.flv";

 

If this was php I could do some thing but it's in Javascript :( and I know nothing about it :( so I don't know how to grab a particular info from a javascript line and putting into a variable :(..

 

Please help me, I will be very thankful to you,

 

Badly waiting for answer,

FAISAL!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.