?
Solved

copy paste the entire file

Posted on 2011-09-24
6
Medium Priority
?
281 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 36593866
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
ID: 36595280
attach all the files rather than copy/paste
0
 
LVL 23

Expert Comment

by:yo_bee
ID: 36595311
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
WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

 
LVL 111

Accepted Solution

by:
Ray Paseur earned 2000 total points
ID: 36595325
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
ID: 36595560
Maybe you can just zip the files and post it ?
0
 

Author Closing Comment

by:rgb192
ID: 36897909
best answer for showing all the parts of a file
0

Featured Post

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

752 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