chrometweaks.org

Will iPage.com allow me to make a site for users to upload mp3 files?

Click Here To View All Answers...


First question I got is Will iPage.com allow me to make a site for users to upload mp3 files? Looking forward for any response. Another quick question... I am trying to do something like this:.

Define($text['text'], $text['text_value']);.

Where both values are coming from an sql query and the text value would look something like this:.

Text 'PREVIOUS_DEFINE' text.

The text above is in a sql table but the problem is when it is put into the define it is not "parsing" the php code. it is displaying it with the define name not the value of the define. any ideas or suggestions?..

Comments (68)

Yup, however you might wanna make sure and wait for another commenter to confirm this as I am unsure. Better yet, why don't you call the iPage guys because they can assist you better...

Comment #1

What code do you have for the query.

Edit.

You posted as I typed.

This post has been edited by.

241.

: 24 February 2004, 22:54..

Comment #2

And I have tried putting both kinds of quotes around the text content, but it will not pick up the fact that STORE_NAME is defined.

I have a feeling I am going to have to create a custom function to get this to work how I am wanting..

This post has been edited by.

Sw45859.

: 24 February 2004, 22:59..

Comment #3

You say that STORE_NAME is defined, is this within the file or being pulled from somewhere else..

Comment #4

It is defined from the osc configuration table which is called from the application_top.php, and I know it's defined because I put an echo of just STORE_NAME next to it and it worked, it is something with the define value being pulled from the database with the STORE_NAME constant set in it...

Comment #5

Well I made a script to do it, just have to hardcode str_replace for any value that will be used...

Comment #6

I am trying to do something like this:.

Define($text['text'], $text['text_value']);.

Where both values are coming from an sql query and the text value would look something like this:.

Text 'PREVIOUS_DEFINE' text.

The text above is in a sql table but the problem is when it is put into the define it is not "parsing" the php code. it is displaying it with the define name not the value of the define. any ideas or suggestions?..

Comment #7

While($text = tep_db_fetch_array($text_query)){.

Define($text['text_key'], $text['text_content']);.

}.

An example of $text['text_content'].

Enquiry from 'STORE_NAME.

The output into the iPage site is exactly like above, it's not putting the defined STORE_NAME into the string.

This post has been edited by.

Sw45859.

: 24 February 2004, 22:53..

Comment #8


This question was taken from a support group/message board and re-posted here so others can learn from it.