Solved

copy paste the entire file

Posted on 2011-09-24
6
242 Views
Last Modified: 2012-06-21
i have index.php file that includes styles.css, scripts.js and many other files

is there anyway to copy paste all the information
without copy pasting individually all the files or changing my urls to absolute urls

just so I can post a question on experts exchange
0
Comment
Question by:rgb192
6 Comments
 
LVL 108

Expert Comment

by:Ray Paseur
Comment Utility
I do not think so.  These are separate files and the interaction between the files is controlled by a collection of browser requests and server responses. Maybe the best thing is to isolate a test case that demonstrates your issue.  You can have JS, CSS, PHP, and HTML all in one file.
0
 
LVL 7

Expert Comment

by:kshna
Comment Utility
attach all the files rather than copy/paste
0
 
LVL 21

Expert Comment

by:yo_bee
Comment Utility
I am confused at what you are asking.
So you have a single index.php file in a folder that contains the style.css and scripts.js all wrapped into this file?
Or do you have a folder structure that needs to be copied as is to another location retaining .\folder structure?

xcopy source dest /E /Y
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 108

Accepted Solution

by:
Ray Paseur earned 500 total points
Comment Utility
Here is an example of a way to post the question.  Obviously it is a simplified example, but it shows how to create an isolated test case that includes all the moving parts in a single file.
http://www.laprbass.com/RAY_temp_rgb192.php
<?php // RAY_temp_rgb192.php
error_reporting(E_ALL);

// SET A VARIABLE
$x = time();

// END OF THE PHP SCRIPT
?>
<!DOCTYPE HTML>
<html>
<head>

<title>rgb192</title>

<script type="text/JavaScript">
function popcorn()
{
    alert("<?php echo $x; ?>");
}
</script>

<style type="text/css">
body
{
    background-color:green;
}
</style>

</head>

<body onLoad="popcorn();">
Hello World
</body>

</html>

Open in new window

0
 
LVL 27

Expert Comment

by:Lukasz Chmielewski
Comment Utility
Maybe you can just zip the files and post it ?
0
 

Author Closing Comment

by:rgb192
Comment Utility
best answer for showing all the parts of a file
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now